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
4
namespace
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.
9
bool
CenteredIconButton
(
const
char
* label,
float
button_size);
10
11
}
// namespace yaze::gui
12
13
#endif
// YAZE_APP_GUI_WIDGETS_CENTERED_ICON_BUTTON_H_
yaze::gui
Graphical User Interface (GUI) components for the application.
Definition
crumble_floor_view.h:16
yaze::gui::CenteredIconButton
bool CenteredIconButton(const char *label, float button_size)
Definition
centered_icon_button.cc:15
src
app
gui
widgets
centered_icon_button.h
Generated by
1.10.0