Furrent
|
Responsible for rendering the UI. More...
#include <gui.hpp>
Public Member Functions | |
Window (const std::string &title, int width, int height) | |
Constructs a new window of a fixed size. More... | |
virtual | ~Window () |
void | run () |
Start the UI loop. More... | |
void | set_torrent_insert_fn (torrent_insert_fn fn) |
void | set_torrent_update_fn (torrent_update_fn fn) |
void | set_torrent_remove_fn (torrent_remove_fn fn) |
Responsible for rendering the UI.
fur::gui::Window::Window | ( | const std::string & | title, |
int | width, | ||
int | height | ||
) |
Constructs a new window of a fixed size.
|
virtual |
void fur::gui::Window::run | ( | ) |
Start the UI loop.
void fur::gui::Window::set_torrent_insert_fn | ( | torrent_insert_fn | fn | ) |
void fur::gui::Window::set_torrent_remove_fn | ( | torrent_remove_fn | fn | ) |
void fur::gui::Window::set_torrent_update_fn | ( | torrent_update_fn | fn | ) |