yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
themed_widgets.h File Reference
#include <string>
#include "imgui/imgui.h"
Include dependency graph for themed_widgets.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::gui
 Graphical User Interface (GUI) components for the application.
 

Functions

bool yaze::gui::ThemedIconButton (const char *icon, const char *tooltip=nullptr, const ImVec2 &size=ImVec2(0, 0), bool is_active=false, bool is_disabled=false)
 Draw a standard icon button with theme-aware colors.
 
bool yaze::gui::TransparentIconButton (const char *icon, const ImVec2 &size, const char *tooltip=nullptr, bool is_active=false, const ImVec4 &active_color=ImVec4(0, 0, 0, 0))
 Draw a transparent icon button (hover effect only).
 
bool yaze::gui::ThemedButton (const char *label, const ImVec2 &size=ImVec2(0, 0))
 Draw a standard text button with theme colors.
 
bool yaze::gui::PrimaryButton (const char *label, const ImVec2 &size=ImVec2(0, 0))
 Draw a primary action button (accented color).
 
bool yaze::gui::DangerButton (const char *label, const ImVec2 &size=ImVec2(0, 0))
 Draw a danger action button (error color).
 
void yaze::gui::SectionHeader (const char *label)
 Draw a section header.
 
bool yaze::gui::PaletteColorButton (const char *id, const struct SnesColor &color, bool is_selected, bool is_modified, const ImVec2 &size)
 Draw a palette color button.
 
void yaze::gui::PanelHeader (const char *title, const char *icon=nullptr, bool *p_open=nullptr)
 Draw a panel header with consistent styling.