ui_node_option.h File Reference

#include "../ui_nodes.h"
Include dependency graph for ui_node_option.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  optionExtraData_s
 Option definition. More...

Defines

#define OPTIONEXTRADATA_TYPE   optionExtraData_t
#define OPTIONEXTRADATA(node)   UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE)
#define OPTIONEXTRADATACONST(node)   UI_EXTRADATACONST(node, OPTIONEXTRADATA_TYPE)

Typedefs

typedef struct optionExtraData_s optionExtraData_t
 Option definition.

Functions

void UI_RegisterOptionNode (struct uiBehaviour_s *behaviour)
int UI_OptionUpdateCache (struct uiNode_s *option)
 update option cache about child, according to collapse and visible status

Variables

struct uiBehaviour_sui_optionBehaviour

Detailed Description

Definition in file ui_node_option.h.


Define Documentation

#define OPTIONEXTRADATA ( node   )     UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE)
#define OPTIONEXTRADATA_TYPE   optionExtraData_t

Definition at line 34 of file ui_node_option.h.

#define OPTIONEXTRADATACONST ( node   )     UI_EXTRADATACONST(node, OPTIONEXTRADATA_TYPE)

Definition at line 36 of file ui_node_option.h.

Referenced by MSO_UpdateVisibleButtons().


Typedef Documentation

Option definition.


Function Documentation

int UI_OptionUpdateCache ( uiNode_t option  ) 

update option cache about child, according to collapse and visible status

Note:
can be a common function for all option node
Returns:
number of visible elements

Definition at line 49 of file ui_node_option.c.

References uiNode_s::behaviour, count, uiNode_s::firstChild, uiNode_s::invis, uiNode_s::next, OPTIONEXTRADATA, and UI_OptionUpdateCache().

Referenced by UI_OptionTreeNodeUpdateCache(), and UI_OptionUpdateCache().

void UI_RegisterOptionNode ( struct uiBehaviour_s behaviour  ) 

Variable Documentation


Generated by  doxygen 1.6.2