Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

tButtonState Struct Reference

Button uiState structure. More...

#include <GUI.h>

List of all members.

Public Attributes

CTextureFrameAnimation ** m_pEventAnimations
int m_iEventCount


Detailed Description

Button uiState structure.

This structure holds a list of events.

There are N states for button
Each state has a M events (e.g MOUSEOVER, MOUSEDOWN, KEYDOWN etc)

Button wasn't pressed (m_pButtonStates[0])
m_pEventAnimations[0] - DISABLED uiState
m_pEventAnimations[1] - NORMAL uiState
m_pEventAnimations[2] - MOUSEOVER uiState
m_pEventAnimations[3] - MOUSEDOWN uiState

Button was pressed once (m_pButtonStates[1])
m_pEventAnimations[0] - DISABLED uiState
m_pEventAnimations[1] - NORMAL uiState
m_pEventAnimations[2] - MOUSEOVER uiState
m_pEventAnimations[3] - MOUSEDOWN uiState

Definition at line 167 of file GUI.h.


Member Data Documentation

int tButtonState::m_iEventCount
 

Number of events Definition at line 170 of file GUI.h.

Referenced by CGUIButton::GetEventAnimation(), CGUIButton::GetProperties(), CGUIButton::LoadStateEvents(), CGUIButton::PropertyChanging(), and CGUIButton::SaveStateEvents().

CTextureFrameAnimation** tButtonState::m_pEventAnimations
 

Reference to animation data (for each event) Definition at line 169 of file GUI.h.

Referenced by CGUIButton::GetProperties(), CGUIButton::LoadStateEvents(), CGUIButton::PropertyChanging(), and CGUIButton::SaveStateEvents().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 17 21:34:30 2005 for OpenGL GUI by doxygen 1.3.8