Layout pane for "book" of tabbed pages. More...
#include <mgui/layout.h>

Public Member Functions | |
| LAYOUT_BOOK () | |
| void | Create () |
| int | GetActiveIndex () const |
| MGUI::LAYOUT_PANE_BASE * | GetParentPane () |
| void | Initialize (MGUI::LAYOUT_PANE_BASE &ParentPane, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize) |
| void | SetActiveIndex (int index) |
Layout pane for "book" of tabbed pages.
First Initialize the book, then create the pages and finally create the book itself.
| MGUI::LAYOUT_BOOK::LAYOUT_BOOK | ( | ) |
Constructor.
| void MGUI::LAYOUT_BOOK::Create | ( | ) |
Create the book after page creation.
| int MGUI::LAYOUT_BOOK::GetActiveIndex | ( | ) | const |
Get index to 'active' page.
| MGUI::LAYOUT_PANE_BASE* MGUI::LAYOUT_BOOK::GetParentPane | ( | ) | [inline] |
| void MGUI::LAYOUT_BOOK::Initialize | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane, | |
| MGUI::LAYOUT_SIZEALIGN | sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize | |||
| ) |
Initialize prior to page creation.
| ParentPane | 'Parent' pane |
| void MGUI::LAYOUT_BOOK::SetActiveIndex | ( | int | index | ) |
Set active page by index.
| index | Zero-based page index |
1.6.1