yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
themed_widgets.h File Reference
#include "app/gui/core/color.h"
#include "app/gui/core/layout_helpers.h"
#include "app/gui/core/theme_manager.h"
#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
 Main namespace for the application.
 
namespace  yaze::gui
 Graphical User Interface (GUI) components for the application.
 

Enumerations

enum class  yaze::gui::StatusType { yaze::gui::kSuccess , yaze::gui::kWarning , yaze::gui::kError , yaze::gui::kInfo }
 

Functions

bool yaze::gui::ThemedButton (const char *label, const ImVec2 &size=ImVec2(0, 0))
 Theme-aware widget library.
 
bool yaze::gui::ThemedIconButton (const char *icon, const char *tooltip=nullptr)
 Themed button with icon (Material Design Icons)
 
bool yaze::gui::PrimaryButton (const char *label, const ImVec2 &size=ImVec2(0, 0))
 Primary action button (uses accent color)
 
bool yaze::gui::DangerButton (const char *label, const ImVec2 &size=ImVec2(0, 0))
 Danger/destructive action button (uses error color)
 
void yaze::gui::SectionHeader (const char *label)
 Themed section header with accent color.
 
bool yaze::gui::ThemedCollapsingHeader (const char *label, ImGuiTreeNodeFlags flags=0)
 Collapsible section with themed header.
 
void yaze::gui::ThemedCard (const char *label, std::function< void()> content, const ImVec2 &size=ImVec2(0, 0))
 Themed card with rounded corners and shadow.
 
void yaze::gui::BeginThemedPanel (const char *label, const ImVec2 &size=ImVec2(0, 0))
 Begin themed panel (manual version of ThemedCard)
 
void yaze::gui::EndThemedPanel ()
 End themed panel.
 
bool yaze::gui::ThemedInputText (const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0)
 Themed text input.
 
bool yaze::gui::ThemedInputInt (const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags flags=0)
 Themed integer input.
 
bool yaze::gui::ThemedInputFloat (const char *label, float *v, float step=0.0f, float step_fast=0.0f, const char *format="%.3f", ImGuiInputTextFlags flags=0)
 Themed float input.
 
bool yaze::gui::ThemedCheckbox (const char *label, bool *v)
 Themed checkbox.
 
bool yaze::gui::ThemedCombo (const char *label, int *current_item, const char *const items[], int items_count, int popup_max_height_in_items=-1)
 Themed combo box.
 
bool yaze::gui::BeginThemedTable (const char *str_id, int columns, ImGuiTableFlags flags=0, const ImVec2 &outer_size=ImVec2(0, 0), float inner_width=0.0f)
 Begin themed table with automatic styling.
 
void yaze::gui::EndThemedTable ()
 End themed table.
 
void yaze::gui::ThemedHelpMarker (const char *desc)
 Themed help marker with tooltip.
 
void yaze::gui::BeginThemedTooltip ()
 Begin themed tooltip.
 
void yaze::gui::EndThemedTooltip ()
 End themed tooltip.
 
void yaze::gui::ThemedStatusText (const char *text, StatusType type)
 Themed status text (success, warning, error, info)
 
void yaze::gui::ThemedProgressBar (float fraction, const ImVec2 &size=ImVec2(-1, 0), const char *overlay=nullptr)
 Themed progress bar.
 
void yaze::gui::ColorInfoPanel (const yaze::gfx::SnesColor &color, bool show_snes_format=true, bool show_hex_format=true)
 Display color information with copy-to-clipboard functionality.
 
void yaze::gui::ModifiedBadge (bool is_modified, const char *text=nullptr)
 Modified indicator badge (displayed as text with icon)
 
const EnhancedThemeyaze::gui::GetTheme ()
 Get current theme (shortcut)
 
void yaze::gui::PushThemedWidgetColors ()
 Apply theme colors to next widget.
 
void yaze::gui::PopThemedWidgetColors ()
 Restore previous colors.