yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
centered_icon_button.h
Go to the documentation of this file.
1#ifndef YAZE_APP_GUI_WIDGETS_CENTERED_ICON_BUTTON_H_
2#define YAZE_APP_GUI_WIDGETS_CENTERED_ICON_BUTTON_H_
3
4namespace yaze::gui {
5
6// Square button for one visible font glyph, optionally followed by an ImGui
7// ## ID suffix. Centers the glyph ink independently of its inline-text bearing.
8// Retains ordinary button input, navigation, IDs, styling and disabled alpha.
9bool CenteredIconButton(const char* label, float button_size);
10
11} // namespace yaze::gui
12
13#endif // YAZE_APP_GUI_WIDGETS_CENTERED_ICON_BUTTON_H_
Graphical User Interface (GUI) components for the application.
bool CenteredIconButton(const char *label, float button_size)