MochiEngine
Loading...
Searching...
No Matches
Mochi::Graphics::GUIResultButton Struct Reference

Besides the space occupied by the button to be used as a parent, it gives its current state, indicating if it is focused (selected or focused by mouse), pressed or released. This way a button can trigger game logic when being pressed or release without changing the implementation. More...

#include <GUICommon.hpp>

Public Attributes

Rectf FinalRect
bool Focus
bool Pressed
bool Released

Detailed Description

Besides the space occupied by the button to be used as a parent, it gives its current state, indicating if it is focused (selected or focused by mouse), pressed or released. This way a button can trigger game logic when being pressed or release without changing the implementation.


The documentation for this struct was generated from the following file: