#include <dropdownselector.h>
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 () |
Definition at line 24 of file dropdownselector.h.
| DropDownSelector::DropDownSelector | ( | PG_Widget * | parent, | |
| const PG_Rect & | r = PG_Rect::null, |
|||
| int | id = -1, |
|||
| const std::string & | style = "DropDown" | |||
| ) |
| DropDownSelector::DropDownSelector | ( | PG_Widget * | parent, | |
| const PG_Rect & | r, | |||
| int | itemnum, | |||
| const char ** | items, | |||
| const std::string & | style = "DropDown" | |||
| ) |
| DropDownSelector::DropDownSelector | ( | PG_Widget * | parent, | |
| const PG_Rect & | r, | |||
| const std::vector< ASCString > & | names, | |||
| const std::string & | style = "DropDown" | |||
| ) |
| 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().
| 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().
1.5.1