Furrent
|
Classes | |
struct | GuiScrollTorrentState |
struct | GuiTorrentDialogState |
class | Window |
Responsible for rendering the UI. More... | |
Typedefs | |
using | torrent_insert_fn = std::function< std::optional< TorrentGuiData >(const std::string &, const std::string &)> |
using | torrent_update_fn = std::function< TorrentGuiData(TorrentID tid)> |
using | torrent_remove_fn = std::function< void(const TorrentGuiData &)> |
Variables | |
const int | DARK_BROWN_HEX = static_cast<int>(0x876645FF) |
const int | ORANGE_HEX = static_cast<int>(0xD27607FF) |
const int | LIGHT_BACKGROUND_HEX = static_cast<int>(0xF6F2EEFF) |
const int | DARK_BACKGROUND_HEX = static_cast<int>(0xBA9978FF) |
const int | PRESSED_BACKGROUND_HEX = static_cast<int>(0xEDE9E0FF) |
const int | DOWNLOADING_COLOR_HEX = static_cast<int>(0x0091FFFF) |
const int | STOP_COLOR_HEX = static_cast<int>(0xFFAF7AFF) |
const int | DONE_COLOR_HEX = static_cast<int>(0x00FF5EFF) |
const int | ERROR_COLOR_HEX = static_cast<int>(0xFFA590FF) |
const Color | DARK_BROWN_COLOR = GetColor(DARK_BROWN_HEX) |
const Color | DARK_BACKGROUND_COLOR = GetColor(DARK_BACKGROUND_HEX) |
const Color | PRESSED_BACKGROUND_COLOR = GetColor(PRESSED_BACKGROUND_HEX) |
const Color | DIALOG_BACKGROUND_COLOR = Fade(PRESSED_BACKGROUND_COLOR, 0.85f) |
const int | WINDOW_BORDER = 5 |
using fur::gui::torrent_insert_fn = typedef std::function<std::optional<TorrentGuiData>( const std::string&, const std::string&)> |
using fur::gui::torrent_remove_fn = typedef std::function<void(const TorrentGuiData&)> |
using fur::gui::torrent_update_fn = typedef std::function<TorrentGuiData(TorrentID tid)> |
const Color fur::gui::DARK_BACKGROUND_COLOR = GetColor(DARK_BACKGROUND_HEX) |
const int fur::gui::DARK_BACKGROUND_HEX = static_cast<int>(0xBA9978FF) |
const Color fur::gui::DARK_BROWN_COLOR = GetColor(DARK_BROWN_HEX) |
const int fur::gui::DARK_BROWN_HEX = static_cast<int>(0x876645FF) |
const Color fur::gui::DIALOG_BACKGROUND_COLOR = Fade(PRESSED_BACKGROUND_COLOR, 0.85f) |
const int fur::gui::DONE_COLOR_HEX = static_cast<int>(0x00FF5EFF) |
const int fur::gui::DOWNLOADING_COLOR_HEX = static_cast<int>(0x0091FFFF) |
const int fur::gui::ERROR_COLOR_HEX = static_cast<int>(0xFFA590FF) |
const int fur::gui::LIGHT_BACKGROUND_HEX = static_cast<int>(0xF6F2EEFF) |
const int fur::gui::ORANGE_HEX = static_cast<int>(0xD27607FF) |
const Color fur::gui::PRESSED_BACKGROUND_COLOR = GetColor(PRESSED_BACKGROUND_HEX) |
const int fur::gui::PRESSED_BACKGROUND_HEX = static_cast<int>(0xEDE9E0FF) |
const int fur::gui::STOP_COLOR_HEX = static_cast<int>(0xFFAF7AFF) |
const int fur::gui::WINDOW_BORDER = 5 |