mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 06:02:31 +00:00
* Moved all remaining classes to use the new display::Frame.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@749 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -57,8 +57,9 @@ public:
|
||||
typedef rak::mem_fun2<Manager, void, Window*, rak::timer> SlotTimer;
|
||||
|
||||
static const int flag_active = (1 << 0);
|
||||
static const int flag_width_dynamic = (1 << 1);
|
||||
static const int flag_height_dynamic = (1 << 2);
|
||||
static const int flag_offscreen = (1 << 1);
|
||||
static const int flag_width_dynamic = (1 << 2);
|
||||
static const int flag_height_dynamic = (1 << 3);
|
||||
|
||||
Window(Canvas* canvas, int flags, extent_type minWidth, extent_type minHeight);
|
||||
|
||||
@@ -67,6 +68,9 @@ public:
|
||||
bool is_active() const { return m_flags & flag_active; }
|
||||
void set_active(bool state);
|
||||
|
||||
bool is_offscreen() const { return m_flags & flag_offscreen; }
|
||||
void set_offscreen(bool state) { if (state) m_flags |= flag_offscreen; else m_flags &= ~flag_offscreen; }
|
||||
|
||||
bool is_width_dynamic() const { return m_flags & flag_width_dynamic; }
|
||||
bool is_height_dynamic() const { return m_flags & flag_height_dynamic; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user