|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Last frame's screen rects of menu triggers and popups, written by AddPostLayout callbacks. More...
#include <gui_controls/subsystems/gui_subsystem_state.h>
Public Member Functions | |
| const tachyon::IntRect * | FindTriggerRect (tachyon::ID id) const |
| Last frame's rect of menu trigger id; nullptr if absent. | |
| const tachyon::IntRect * | FindWindowRect (tachyon::ID id) const |
| Last frame's rect of menu popup window id; nullptr if absent. | |
| std::unordered_map< tachyon::ID, tachyon::IntRect > & | TriggerRects () |
| For the AddPostLayout lambdas to write into. | |
| std::unordered_map< tachyon::ID, tachyon::IntRect > & | WindowRects () |
Last frame's screen rects of menu triggers and popups, written by AddPostLayout callbacks.
BeginMenu sizes the popup from them (trigger width when it opens above/below, content width when flipped to the side).
|
inline |
Last frame's rect of menu trigger id; nullptr if absent.
|
inline |
Last frame's rect of menu popup window id; nullptr if absent.
|
inline |
For the AddPostLayout lambdas to write into.
|
inline |