Furrent
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
fur::gui::Window Class Reference

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)
 

Detailed Description

Responsible for rendering the UI.

Constructor & Destructor Documentation

◆ Window()

fur::gui::Window::Window ( const std::string &  title,
int  width,
int  height 
)

Constructs a new window of a fixed size.

◆ ~Window()

fur::gui::Window::~Window ( )
virtual

Member Function Documentation

◆ run()

void fur::gui::Window::run ( )

Start the UI loop.

◆ set_torrent_insert_fn()

void fur::gui::Window::set_torrent_insert_fn ( torrent_insert_fn  fn)

◆ set_torrent_remove_fn()

void fur::gui::Window::set_torrent_remove_fn ( torrent_remove_fn  fn)

◆ set_torrent_update_fn()

void fur::gui::Window::set_torrent_update_fn ( torrent_update_fn  fn)

The documentation for this class was generated from the following files: