vkmEngine 1.0.15
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::UIValueEvent Struct Reference

Fired when a UISlider is dragged to a new value, a UIToggle is flipped or a UIChoice is stepped. More...

#include <ui_events.h>

Public Attributes

EntityId entity
 The slider's, toggle's or choice's entity.
std::string eventId
 Its UIButton's eventId; for a choice, the clicked arrow's.
float value
 The slider's value; a toggle's 1 on, 0 off; a choice's index.

Detailed Description

Fired when a UISlider is dragged to a new value, a UIToggle is flipped or a UIChoice is stepped.

Enqueued by the UISystem like UIClickEvent, which a toggle's or a choice's click fires as well.


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