mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 15:49:20 +00:00
* Finished FileListIterator and basic navigation of the file list.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@832 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -58,8 +58,9 @@ public:
|
||||
|
||||
static const int flag_active = (1 << 0);
|
||||
static const int flag_offscreen = (1 << 1);
|
||||
static const int flag_left = (1 << 2);
|
||||
static const int flag_bottom = (1 << 3);
|
||||
static const int flag_focused = (1 << 2);
|
||||
static const int flag_left = (1 << 3);
|
||||
static const int flag_bottom = (1 << 4);
|
||||
|
||||
static const extent_type extent_static = extent_type();
|
||||
static const extent_type extent_full = ~extent_type();
|
||||
@@ -76,6 +77,9 @@ public:
|
||||
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_focused() const { return m_flags & flag_focused; }
|
||||
void set_focused(bool state) { if (state) m_flags |= flag_focused; else m_flags &= ~flag_focused; }
|
||||
|
||||
bool is_left() const { return m_flags & flag_left; }
|
||||
void set_left(bool state) { if (state) m_flags |= flag_left; else m_flags &= ~flag_left; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user