MGUI::LAYOUT_BOOK Class Reference

Layout pane for "book" of tabbed pages. More...

#include <mgui/layout.h>

Inheritance diagram for MGUI::LAYOUT_BOOK:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LAYOUT_BOOK ()
void Create ()
int GetActiveIndex () const
MGUI::LAYOUT_PANE_BASEGetParentPane ()
void Initialize (MGUI::LAYOUT_PANE_BASE &ParentPane, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize)
void SetActiveIndex (int index)

Detailed Description

Layout pane for "book" of tabbed pages.

First Initialize the book, then create the pages and finally create the book itself.


Constructor & Destructor Documentation

MGUI::LAYOUT_BOOK::LAYOUT_BOOK (  ) 

Constructor.


Member Function Documentation

void MGUI::LAYOUT_BOOK::Create (  ) 

Create the book after page creation.

int MGUI::LAYOUT_BOOK::GetActiveIndex (  )  const

Get index to 'active' page.

Returns:
Zero-based index to active page, -1 if none created.
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.

Parameters:
ParentPane 'Parent' pane
void MGUI::LAYOUT_BOOK::SetActiveIndex ( int  index  ) 

Set active page by index.

Parameters:
index Zero-based page index

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:36:09 2012 for TNTsdk 2012 by  doxygen 1.6.1