|
fluent-tray
Fluent Design-based GUI Library for System Tray Applications
|
Fluent Design-based GUI Library for System Tray Applications. More...
#include <windows.h>#include <ntstatus.h>#include <dwmapi.h>#include <algorithm>#include <chrono>#include <cmath>#include <functional>#include <memory>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | fluent_tray::FluentMenu |
| Class with information on each menu. More... | |
| class | fluent_tray::FluentTray |
| Class with information on the entire tray. More... | |
Namespaces | |
| namespace | fluent_tray |
| Base namespace. | |
| namespace | fluent_tray::util |
| Utility namespace. | |
Enumerations | |
| enum class | fluent_tray::TrayStatus : unsigned char { fluent_tray::RUNNING , fluent_tray::SHOULD_STOP , fluent_tray::FAILED , fluent_tray::STOPPED } |
| Current tray status. More... | |
Functions | |
| bool | fluent_tray::util::string2wstring (const std::string &str, std::wstring &wstr) |
| Converts a UTF-8 encoded string to a wide string. | |
| bool | fluent_tray::util::wstring2string (const std::wstring &wstr, std::string &str) |
| Converts a wide string to a UTF-8 encoded string. | |
| constexpr std::size_t | fluent_tray::util::bit2mask (std::size_t bits) noexcept |
| Generates a mask with the specified number of lower bits set to 1. | |
| template<typename Type > | |
| constexpr int | fluent_tray::util::type2bit () noexcept |
| Calculate the number of bits of type. | |
| template<typename InType , typename OutType > | |
| void | fluent_tray::util::split_bits (InType input, OutType &upper, OutType &lower) noexcept |
| Divides the input value into upper and lower bits. | |
| template<typename InType , typename OutType > | |
| void | fluent_tray::util::concatenate_bits (InType upper, InType lower, OutType &out) noexcept |
| Generates a variable that combines the bits of two variables. | |
| unsigned char | fluent_tray::util::rgb2gray (const COLORREF &rgb) |
| Calculate grayscale value from RGB. | |
| bool | fluent_tray::util::exists (const std::wstring &path) |
| Checks if the file exists. | |
Fluent Design-based GUI Library for System Tray Applications.