mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-15 05:36:17 +00:00
* UI refactoring, added display::Frame and started cleaning up the
code. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@747 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -44,12 +44,15 @@ namespace display {
|
||||
|
||||
class WindowTitle : public Window {
|
||||
public:
|
||||
WindowTitle(const std::string& s);
|
||||
WindowTitle() : Window(new Canvas, false, 1) {}
|
||||
|
||||
virtual void redraw();
|
||||
const std::string& title() const { return m_title; }
|
||||
void set_title(const std::string& title) { m_title = title; mark_dirty(); }
|
||||
|
||||
virtual void redraw();
|
||||
|
||||
private:
|
||||
std::string m_title;
|
||||
std::string m_title;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user