hgeGUI::Update

Updates the GUI controls and processes user input.

int Update(
  float fDeltaTime
);

Parameters

fDeltaTime
Amount of time elapsed since last call to the Update method in seconds.

Return value

If one of the controls has changed it's state, Update returns that control's identificator. If Leave method was called and all the controls have finished their animation, Update returns -1. Otherwise it returns 0.

Remarks

Call the Update method in your frame function to update the GUI. The amount of time elapsed since last call to frame function may be obtained with Timer_GetDelta system layer function.

Requirements

Header: hgegui.h
Import library: hgehelp.lib