DropDownSelector Class Reference

#include <dropdownselector.h>

List of all members.

Public Member Functions

 DropDownSelector (PG_Widget *parent, const PG_Rect &r=PG_Rect::null, int id=-1, const std::string &style="DropDown")
 DropDownSelector (PG_Widget *parent, const PG_Rect &r, int itemnum, const char **items, const std::string &style="DropDown")
 DropDownSelector (PG_Widget *parent, const PG_Rect &r, const std::vector< ASCString > &names, const std::string &style="DropDown")
void AddItem (const std::string &text, void *userdata=NULL, Uint16 height=0)

Public Attributes

SigC::Signal1< void, int > selectionSignal

Protected Member Functions

bool itemSelected ()


Detailed Description

Definition at line 24 of file dropdownselector.h.


Constructor & Destructor Documentation

DropDownSelector::DropDownSelector ( PG_Widget *  parent,
const PG_Rect &  r = PG_Rect::null,
int  id = -1,
const std::string &  style = "DropDown" 
)

Definition at line 44 of file dropdownselector.cpp.

References itemSelected().

DropDownSelector::DropDownSelector ( PG_Widget *  parent,
const PG_Rect &  r,
int  itemnum,
const char **  items,
const std::string &  style = "DropDown" 
)

Definition at line 20 of file dropdownselector.cpp.

References AddItem(), and itemSelected().

DropDownSelector::DropDownSelector ( PG_Widget *  parent,
const PG_Rect &  r,
const std::vector< ASCString > &  names,
const std::string &  style = "DropDown" 
)

Definition at line 32 of file dropdownselector.cpp.

References AddItem(), and itemSelected().


Member Function Documentation

bool DropDownSelector::itemSelected (  )  [protected]

Definition at line 51 of file dropdownselector.cpp.

References selectionSignal.

Referenced by DropDownSelector().

void DropDownSelector::AddItem ( const std::string &  text,
void *  userdata = NULL,
Uint16  height = 0 
)

Definition at line 58 of file dropdownselector.cpp.

Referenced by DropDownSelector(), ExchangeGraphics::ExchangeGraphics(), ItemLocator::ItemLocator(), MailOptionsDialog::MailOptionsDialog(), Maped_MainScreenWidget::Maped_MainScreenWidget(), and UnitGuideWidget::UnitGuideWidget().


Member Data Documentation

SigC::Signal1<void, int> DropDownSelector::selectionSignal

Definition at line 33 of file dropdownselector.h.

Referenced by EventEditor::EventEditor(), itemSelected(), Maped_MainScreenWidget::Maped_MainScreenWidget(), and UnitGuideWidget::UnitGuideWidget().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:40 2012 for Advanced Strategic Command by  doxygen 1.5.1