mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
* Fixed download menu.
* Use bold when ElementMenu loses focus. * Added an exit slot to ElementBase and bind to that from withing the subclasses. * Moved peer info to ElementPeerList, accessed by the right arrow. Download info will be moved to a seperate Element. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@752 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -45,12 +45,18 @@ namespace display {
|
||||
|
||||
class TextElement {
|
||||
public:
|
||||
typedef uint32_t extent_type;
|
||||
|
||||
static const extent_type extent_full = ~extent_type();
|
||||
|
||||
virtual ~TextElement() {}
|
||||
|
||||
// The last element must point to a valid memory location into which
|
||||
// the caller must write a '\0' to terminate the c string. The
|
||||
// attributes must contain at least one attribute.
|
||||
virtual char* print(char* first, const char* last, Canvas::attributes_list* attributes, void* object) = 0;
|
||||
|
||||
virtual extent_type max_length() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user