TnxWidgets namespace

Enums

enum class Tier { Cold, Static, Volatile, Temporal }
enum class ChipStyle { Default, Purple, Yellow, Good, Warn, Bad }

Functions

void TierBadge(Tier tier)
void Chip(const char* label, ChipStyle style = ChipStyle::Default, bool mono = true)
void Kbd(const char* label)
void PanelHeader(const char* icon, const char* title, std::function<void()> right = {})
auto FieldFloat(const char* label, float* v, const char* unit = nullptr, float labelW = 90.f) -> bool
auto FieldVec3(const char* label, float v[3], float labelW = 90.f) -> bool
auto FieldBool(const char* label, bool* v, float labelW = 90.f) -> bool
auto FieldInt(const char* label, int* v, const char* unit = nullptr, float labelW = 90.f) -> bool
auto Button(const char* label, ImVec2 size = {0, 0}) -> bool
auto ButtonPrimary(const char* label, ImVec2 size = {0, 0}) -> bool
auto ButtonYellow(const char* label, ImVec2 size = {0, 0}) -> bool
auto ButtonGhost(const char* label, ImVec2 size = {0, 0}) -> bool
auto ButtonIconGhost(const char* icon) -> bool
void FrameBudgetBar(const char* label, const char* freqHz, float usedMs, float budgetMs, ImVec4 color, const char* note = nullptr)