|
TachyonUI 0.1.0
High-performance UI for building tools.
|
What the window layer reports at the end of a frame's construction; GUIStateManager::EndFrame turns it into the hovered element and the active window. More...
#include <gui_core/state/gui_state_manager.h>
Public Attributes | |
| ID | activeWindowID = ID::Invalid() |
| the OS's active window; Invalid without focus | |
| ID | modalWindowID = ID::Invalid() |
| top modal window, which blocks the others | |
| ID | windowUnderMouse = ID::Invalid() |
| int2 | mousePos {} |
| screen pixels | |
| MouseButtons | mouseButtons = MouseButtons::None |
| std::function< ID(ID window, int2 pos, ID &disabled)> | hitTest |
| The element at pos in window, or Invalid; disabled gets the disabled element there, if one took the hit (see ElementStorage::GetElementIDAt). | |
| std::function< bool(ID window, int2 pos, ID &target)> | textDragTarget |
| While text is dragged: the text drop target at pos in window. Optional. | |
What the window layer reports at the end of a frame's construction; GUIStateManager::EndFrame turns it into the hovered element and the active window.
| ID tachyon::FrameInput::activeWindowID = ID::Invalid() |
the OS's active window; Invalid without focus
| ID tachyon::FrameInput::modalWindowID = ID::Invalid() |
top modal window, which blocks the others
| ID tachyon::FrameInput::windowUnderMouse = ID::Invalid() |
| int2 tachyon::FrameInput::mousePos {} |
screen pixels
| MouseButtons tachyon::FrameInput::mouseButtons = MouseButtons::None |
The element at pos in window, or Invalid; disabled gets the disabled element there, if one took the hit (see ElementStorage::GetElementIDAt).
While text is dragged: the text drop target at pos in window. Optional.