My Project
 
Loading...
Searching...
No Matches
WndTabbed Class Reference

#include <wndtabbed.h>

Inheritance diagram for WndTabbed:
Collaboration diagram for WndTabbed:

Classes

class  LabeledTab
 
class  Tab
 

Public Member Functions

virtual void resize (int w, int h)
 
void select (Tab *tab)
 
void select (int index)
 
 WndTabbed ()
 
- Public Member Functions inherited from Window
 Window ()
 
 Window (int width, int height)
 
 Window (int width, int height, NinePatch *chrome)
 
virtual void onBackPressed ()
 
void hide ()
 
virtual void destroy ()
 
virtual void onSignal (Keys::Key *key)
 

Protected Member Functions

void onClick (Tab *tab)
 
int tabHeight ()
 
Tabadd (Tab *tab)
 

Protected Attributes

std::vector< Tab * > tabs
 
Tabselected
 

Additional Inherited Members

- Public Attributes inherited from Window
int width
 
int height
 
TouchArea * blocker
 
ShadowBoxshadow
 
NinePatch * chrome
 
- Static Public Attributes inherited from Window
static const int TITLE_COLOR = 0xFFFF44
 

Constructor & Destructor Documentation

◆ WndTabbed()

WndTabbed::WndTabbed ( )
Here is the call graph for this function:

Member Function Documentation

◆ add()

WndTabbed::Tab * WndTabbed::add ( Tab * tab)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onClick()

void WndTabbed::onClick ( Tab * tab)
protected
Here is the call graph for this function:

◆ resize()

void WndTabbed::resize ( int w,
int h )
virtual

Reimplemented from Window.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ select() [1/2]

void WndTabbed::select ( int index)
Here is the call graph for this function:

◆ select() [2/2]

void WndTabbed::select ( Tab * tab)
Here is the caller graph for this function:

◆ tabHeight()

int WndTabbed::tabHeight ( )
inlineprotected
Here is the caller graph for this function:

Member Data Documentation

◆ selected

Tab* WndTabbed::selected
protected

◆ tabs

std::vector<Tab*> WndTabbed::tabs
protected

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