GuiOptionBrowser Class Reference

Display a list of menu options. More...

#include <gui.h>

Inheritance diagram for GuiOptionBrowser:

GuiElement

List of all members.

Public Member Functions

 GuiOptionBrowser (int w, int h, OptionList *l)
 ~GuiOptionBrowser ()
void SetCol2Position (int x)
int FindMenuItem (int c, int d)
int GetClickedOption ()
void ResetState ()
 Resets the element's state to STATE_DEFAULT.
void SetFocus (int f)
void Draw ()
void TriggerUpdate ()
void Update (GuiTrigger *t)

Public Attributes

GuiTextoptionVal [PAGESIZE]

Protected Attributes

int selectedItem
int listOffset
bool listChanged
OptionList * options
int optionIndex [PAGESIZE]
GuiButtonoptionBtn [PAGESIZE]
GuiTextoptionTxt [PAGESIZE]
GuiImageoptionBg [PAGESIZE]
GuiButtonarrowUpBtn
GuiButtonarrowDownBtn
GuiImagebgOptionsImg
GuiImagescrollbarImg
GuiImagearrowDownImg
GuiImagearrowDownOverImg
GuiImagearrowUpImg
GuiImagearrowUpOverImg
GuiImageDatabgOptions
GuiImageDatabgOptionsEntry
GuiImageDatascrollbar
GuiImageDataarrowDown
GuiImageDataarrowDownOver
GuiImageDataarrowUp
GuiImageDataarrowUpOver
GuiSoundbtnSoundOver
GuiSoundbtnSoundClick
GuiTriggertrigA


Detailed Description

Display a list of menu options.

Constructor & Destructor Documentation

GuiOptionBrowser::GuiOptionBrowser ( int  w,
int  h,
OptionList *  l 
)

Constructor for the GuiOptionBrowser class.

GuiOptionBrowser::~GuiOptionBrowser (  ) 

Destructor for the GuiOptionBrowser class.


Member Function Documentation

void GuiOptionBrowser::Draw (  )  [virtual]

Draw the button on screen

Reimplemented from GuiElement.

void GuiOptionBrowser::SetFocus ( int  f  )  [virtual]

Sets the element's focus

Parameters:
f Focus (true = in focus)

Reimplemented from GuiElement.

void GuiOptionBrowser::Update ( GuiTrigger t  )  [virtual]

Called constantly to allow the element to respond to the current input data

Parameters:
t Pointer to a GuiTrigger, containing the current input data from PAD/WPAD

Reimplemented from GuiElement.


The documentation for this class was generated from the following files:

Generated on Fri Oct 16 17:57:37 2009 for libwiigui by  doxygen 1.5.8