|
| std::unordered_map< ImGuiID, double > & | FuncDoodle::GetAnimTimers () |
| void | FuncDoodle::ClearAnimTimers () |
| bool | FuncDoodle::ImBegin (const char *name, bool *p_open, ImGuiWindowFlags flags, Application *app) |
| void | FuncDoodle::ImEnd () |
| | Clean wrapper to close the window layout context.
|
| void | FuncDoodle::ImUtil::SetupDefaultLayout () |
| | Sets up the default ImGui layout in-case there's no user-defined one.
|
| float | FuncDoodle::ImUtil::ButtonWidth (const char *label) |
| | Returns the width needed to render a button with the given label.
|
| void | FuncDoodle::ImUtil::AlignButtonsRight (float totalWidth) |
| | Right-aligns the next row of buttons within the current content region.
|
| bool | FuncDoodle::ImUtil::EnterPressed () |
| | Returns true when Enter or keypad Enter is pressed this frame.
|
| bool | FuncDoodle::ImUtil::EscPressed () |
| | Returns true when Escape is pressed this frame.
|
| ButtonRowResult | FuncDoodle::ImUtil::ConfirmButtons (const char *primary, const char *secondary, const char *tertiary=nullptr) |
| | Renders CONFIRM buttons for popups.
|
| ButtonRowResult | FuncDoodle::ImUtil::OkCancelButtons () |
| | Renders an OK/Cancel button row.
|
| ButtonRowResult | FuncDoodle::ImUtil::YesNoButtons () |
| | Renders a Yes/No button row.
|
| ButtonRowResult | FuncDoodle::ImUtil::YesNoCancelButtons () |
| | Renders a Yes/No/Cancel button row.
|
| ButtonRowResult | FuncDoodle::ImUtil::CloseOkButtons () |
| | Renders an OK/Close button row.
|
| ButtonRowResult | FuncDoodle::ImUtil::CreateCancelButtons () |
| | Renders a Create/Cancel button row.
|
| ButtonRowResult | FuncDoodle::ImUtil::ExportCloseButtons () |
| | Renders an Export/Close button row.
|
| bool | FuncDoodle::ImUtil::SingleButtonRow (const char *label) |
| | Renders a single right-aligned button.
|
| bool | FuncDoodle::ImUtil::OkButton () |
| | Renders a single OK button.
|
| bool | FuncDoodle::ImUtil::CloseButton () |
| | Renders a single Close button.
|
| ImGuiKey | FuncDoodle::ImUtil::GetAnyReleasedKey () |
| | Returns the first non-modifier key released this frame.
|
| const char * | FuncDoodle::ImUtil::GetUsername () |
| | Small util function for fetching the current users' username. Used for filling out the animation author field by default.
|
| template<IntEnum T, size_t N> |
| bool | FuncDoodle::ImUtil::Combo (const char *title, T *buf, std::array< std::string_view, N > names) |
Small helper utilities for ImGui UI construction in FuncDoodle.
Provides convenience functions for:
- button row layouts (OK/Cancel, Yes/No, etc.)
- keyboard input helpers
- alignment utilities
- small platform-independent utilities
These functions are lightweight wrappers around ImGui to reduce UI boilerplate.