ui_node_abstractoption.h File Reference

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

Go to the source code of this file.

Data Structures

struct  abstractOptionExtraData_t

Functions

void UI_RegisterAbstractOptionNode (struct uiBehaviour_s *behaviour)
void UI_OptionNodeSortOptions (struct uiNode_s *node)
 Sort options by alphabet.
struct uiNode_sUI_AbstractOptionGetFirstOption (uiNode_t *node)
 Return the first option of the node.
const char * UI_AbstractOptionGetCurrentValue (uiNode_t *node)
void UI_AbstractOptionSetCurrentValue (uiNode_t *node, const char *value)

Detailed Description

Definition in file ui_node_abstractoption.h.


Function Documentation

const char* UI_AbstractOptionGetCurrentValue ( uiNode_t node  ) 
struct uiNode_s* UI_AbstractOptionGetFirstOption ( uiNode_t node  )  [read]
void UI_AbstractOptionSetCurrentValue ( uiNode_t node,
const char *  value 
)
void UI_OptionNodeSortOptions ( struct uiNode_s node  ) 

Sort options by alphabet.

update lastChild

Todo:
the sort option should do it itself

Definition at line 42 of file ui_node_abstractoption.c.

References uiNode_s::firstChild, uiNode_s::lastChild, uiNode_s::next, UI_NodeInstanceOf(), and UI_SortOptions().

void UI_RegisterAbstractOptionNode ( struct uiBehaviour_s behaviour  ) 

Generated by  doxygen 1.6.2