#include <gui.h>

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 | |
| GuiText * | optionVal [PAGESIZE] |
Protected Attributes | |
| int | selectedItem |
| int | listOffset |
| bool | listChanged |
| OptionList * | options |
| int | optionIndex [PAGESIZE] |
| GuiButton * | optionBtn [PAGESIZE] |
| GuiText * | optionTxt [PAGESIZE] |
| GuiImage * | optionBg [PAGESIZE] |
| GuiButton * | arrowUpBtn |
| GuiButton * | arrowDownBtn |
| GuiImage * | bgOptionsImg |
| GuiImage * | scrollbarImg |
| GuiImage * | arrowDownImg |
| GuiImage * | arrowDownOverImg |
| GuiImage * | arrowUpImg |
| GuiImage * | arrowUpOverImg |
| GuiImageData * | bgOptions |
| GuiImageData * | bgOptionsEntry |
| GuiImageData * | scrollbar |
| GuiImageData * | arrowDown |
| GuiImageData * | arrowDownOver |
| GuiImageData * | arrowUp |
| GuiImageData * | arrowUpOver |
| GuiSound * | btnSoundOver |
| GuiSound * | btnSoundClick |
| GuiTrigger * | trigA |
| GuiOptionBrowser::GuiOptionBrowser | ( | int | w, | |
| int | h, | |||
| OptionList * | l | |||
| ) |
Constructor for the GuiOptionBrowser class.
| GuiOptionBrowser::~GuiOptionBrowser | ( | ) |
Destructor for the GuiOptionBrowser class.
| void GuiOptionBrowser::Draw | ( | ) | [virtual] |
Draw the button on screen
Reimplemented from GuiElement.
| void GuiOptionBrowser::SetFocus | ( | int | f | ) | [virtual] |
| void GuiOptionBrowser::Update | ( | GuiTrigger * | t | ) | [virtual] |
Called constantly to allow the element to respond to the current input data
| t | Pointer to a GuiTrigger, containing the current input data from PAD/WPAD |
Reimplemented from GuiElement.
1.5.8