#include <mgui/formnrgl.h>

Public Member Functions | |
| FORM_NAMEDREGION_LIST (NAMEDREGION_LIST &RegionList) | |
| virtual | ~FORM_NAMEDREGION_LIST () |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, MGUI::LAYOUT_SIZEALIGN sizing=MGUI::LAYOUT_SIZEALIGN_Expand) |
| const NAMEDREGION & | GetSelectedRegion () const |
| bool | IsRegionSelected () const |
| void | SetDelegateOnChangeSelection (DELEGATE_VOID_NOPARMS delegate) |
Protected Member Functions | |
| virtual void | v_OnChangeSelection () |
| MGUI::FORM_NAMEDREGION_LIST::FORM_NAMEDREGION_LIST | ( | NAMEDREGION_LIST & | RegionList | ) |
Constructor.
| virtual MGUI::FORM_NAMEDREGION_LIST::~FORM_NAMEDREGION_LIST | ( | ) | [virtual] |
Destructor.
| void MGUI::FORM_NAMEDREGION_LIST::Create | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane, | |
| MGUI::LAYOUT_SIZEALIGN | sizing = MGUI::LAYOUT_SIZEALIGN_Expand | |||
| ) |
Create the form.
| const NAMEDREGION& MGUI::FORM_NAMEDREGION_LIST::GetSelectedRegion | ( | ) | const [inline] |
Get reference to currently selected region.
Make sure a region is selected using IsRegionSelected().
| bool MGUI::FORM_NAMEDREGION_LIST::IsRegionSelected | ( | ) | const [inline] |
Determine if a region is currently selected in the list.
| void MGUI::FORM_NAMEDREGION_LIST::SetDelegateOnChangeSelection | ( | DELEGATE_VOID_NOPARMS | delegate | ) | [inline] |
Set delegate to call when selection changes.
| virtual void MGUI::FORM_NAMEDREGION_LIST::v_OnChangeSelection | ( | ) | [protected, virtual] |
Called when a region gets selected or all regions become unselected.
Default implementation invokes corresponding delegate. If override call when/if needed to invoke delegate.
1.6.1