mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 19:52:31 +00:00
* Allow Frame's to be located in both rows and columns. Improved min
height/width for windows. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@748 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -63,17 +63,17 @@ public:
|
||||
|
||||
using Base::operator[];
|
||||
|
||||
Bindings() : m_active(true) {}
|
||||
Bindings() : m_enabled(true) {}
|
||||
|
||||
void activate() { m_active = true; }
|
||||
void disable() { m_active = false; }
|
||||
void enable() { m_enabled = true; }
|
||||
void disable() { m_enabled = false; }
|
||||
|
||||
bool pressed(int key);
|
||||
|
||||
void ignore(int key) { (*this)[key] = Slot(); }
|
||||
|
||||
private:
|
||||
bool m_active;
|
||||
bool m_enabled;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user