Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Tutorial::LayoutDemo Class Reference

Inheritance diagram for Tutorial::LayoutDemo:

Tutorial::Demo List of all members.

Public Member Functions

 LayoutDemo (Tutorial *_parent)
void CreateTreeButton (int level)
void ConfigTreeButton (Button *button, int num)
void ConfigTextFace (Text3D *text, char *textValue)
int OnTreeButtonClick (Control *sender)
int OnToogle ()
int OnToogleAll ()
int OnReset ()
int OnResetAll ()
int OnSet ()
int OnSetAll ()
int OnEnd ()

Public Attributes

Button btnToogleAll
Button btnToogle
Button btnResetAll
Button btnReset
Button btnSetAll
Button btnSet
Window window
TextBox text
Button btnTree
ButtonlastSelected
MyList< Buttonbuttons

Constructor & Destructor Documentation

Tutorial::LayoutDemo::LayoutDemo Tutorial _parent  )  [inline]
 

Definition at line 653 of file 3dcontrols.cpp.

References align_begin, align_center, btnReset, btnResetAll, Tutorial::btnReturn, btnSet, btnSetAll, btnToogle, btnToogleAll, btnTree, ce, EventButton::click, Window::client, TextBox::Create(), Window::Create(), Button::Create(), CreateTreeButton(), Button::depth_max, Button::depth_min, MyTreeNode< T >::Elems(), FACE_FRONT, Control::faceNode, Primitive::GoTo(), lastSelected, Button::ModeAllButtons(), Button::ModePushLike(), Button::onButton, OnEnd(), Title::OnMax(), OnReset(), OnResetAll(), OnSet(), OnSetAll(), OnToogle(), OnToogleAll(), ControlEngine::Pop(), ControlEngine::primitive, ControlEngine::Push(), Text3D::SetAlign(), TextBox::SetText(), Title::SetText(), Tip::SetText(), Button::text, TextBox::text, text, Tutorial::tip, Window::title, ControlEngine::univers, window, Control::XDockCenter(), Control::XDockLeft(), Control::XDockRight(), Control::YDockBottom(), Control::YDockCenter(), and Control::YDockTop().


Member Function Documentation

void Tutorial::LayoutDemo::ConfigTextFace Text3D text,
char *  textValue
[inline]
 

Definition at line 793 of file 3dcontrols.cpp.

References align_center, ce, ControlEngine::fontTexture, BasicText3D::material, BasicText3D::scale, Text3D::SetAlign(), Material::SetDS(), Text3D::SetText(), Text3D::Setup(), and Text3D::SetWrapping().

Referenced by ConfigTreeButton().

void Tutorial::LayoutDemo::ConfigTreeButton Button button,
int  num
[inline]
 

Definition at line 770 of file 3dcontrols.cpp.

References ConfigTextFace(), Button::Create(), MyTreeNode< T >::Elems(), FACE_BACK, Control::faceNode, Button::ModeAllButtons(), Button::ModePushLike(), NB_MATERIAL, num, Control::SetBlending(), text, Button::text, TypeMaterial, Control::XDockCenter(), and Control::YDockCenter().

Referenced by CreateTreeButton().

void Tutorial::LayoutDemo::CreateTreeButton int  level  )  [inline]
 

Definition at line 740 of file 3dcontrols.cpp.

References MyListIterator< Button >::AddNewLast(), buttons, ce, ConfigTreeButton(), FACE_FRONT, Primitive::GoTo(), Primitive::GoToParent(), MyList< Button >::i, level, ControlEngine::Pop(), ControlEngine::primitive, and ControlEngine::Push().

Referenced by LayoutDemo().

int Tutorial::LayoutDemo::OnEnd  )  [inline]
 

Definition at line 854 of file 3dcontrols.cpp.

References btnTree, Control::Delete(), Tutorial::Demo::Ending(), and window.

Referenced by LayoutDemo().

int Tutorial::LayoutDemo::OnReset  )  [inline]
 

Definition at line 826 of file 3dcontrols.cpp.

References lastSelected, and Button::SetPush().

Referenced by LayoutDemo().

int Tutorial::LayoutDemo::OnResetAll  )  [inline]
 

Definition at line 833 of file 3dcontrols.cpp.

References buttons, MyListIterator< Button >::GetElemPtr(), MyList< Button >::i, MyListIterator< Button >::More(), and Button::SetPush().

Referenced by LayoutDemo().

int Tutorial::LayoutDemo::OnSet  )  [inline]
 

Definition at line 840 of file 3dcontrols.cpp.

References lastSelected, and Button::SetPush().

Referenced by LayoutDemo().

int Tutorial::LayoutDemo::OnSetAll  )  [inline]
 

Definition at line 847 of file 3dcontrols.cpp.

References buttons, MyListIterator< Button >::GetElemPtr(), MyList< Button >::i, MyListIterator< Button >::More(), and Button::SetPush().

Referenced by LayoutDemo().

int Tutorial::LayoutDemo::OnToogle  )  [inline]
 

Definition at line 810 of file 3dcontrols.cpp.

References lastSelected, and Button::SetPushToogle().

Referenced by LayoutDemo().

int Tutorial::LayoutDemo::OnToogleAll  )  [inline]
 

Definition at line 817 of file 3dcontrols.cpp.

References buttons, MyListIterator< Button >::GetElemPtr(), MyList< Button >::i, MyListIterator< Button >::More(), and Button::SetPushToogle().

Referenced by LayoutDemo().

int Tutorial::LayoutDemo::OnTreeButtonClick Control sender  )  [inline]
 

Definition at line 803 of file 3dcontrols.cpp.

References lastSelected.


Member Data Documentation

Button Tutorial::LayoutDemo::btnReset
 

Definition at line 644 of file 3dcontrols.cpp.

Referenced by LayoutDemo().

Button Tutorial::LayoutDemo::btnResetAll
 

Definition at line 643 of file 3dcontrols.cpp.

Referenced by LayoutDemo().

Button Tutorial::LayoutDemo::btnSet
 

Definition at line 646 of file 3dcontrols.cpp.

Referenced by LayoutDemo().

Button Tutorial::LayoutDemo::btnSetAll
 

Definition at line 645 of file 3dcontrols.cpp.

Referenced by LayoutDemo().

Button Tutorial::LayoutDemo::btnToogle
 

Definition at line 642 of file 3dcontrols.cpp.

Referenced by LayoutDemo().

Button Tutorial::LayoutDemo::btnToogleAll
 

Definition at line 641 of file 3dcontrols.cpp.

Referenced by LayoutDemo().

Button Tutorial::LayoutDemo::btnTree
 

Definition at line 649 of file 3dcontrols.cpp.

Referenced by LayoutDemo(), and OnEnd().

MyList<Button> Tutorial::LayoutDemo::buttons
 

Definition at line 651 of file 3dcontrols.cpp.

Referenced by CreateTreeButton(), OnResetAll(), OnSetAll(), and OnToogleAll().

Button* Tutorial::LayoutDemo::lastSelected
 

Definition at line 650 of file 3dcontrols.cpp.

Referenced by LayoutDemo(), OnReset(), OnSet(), OnToogle(), and OnTreeButtonClick().

TextBox Tutorial::LayoutDemo::text
 

Definition at line 648 of file 3dcontrols.cpp.

Referenced by ConfigTreeButton(), and LayoutDemo().

Window Tutorial::LayoutDemo::window
 

Definition at line 647 of file 3dcontrols.cpp.

Referenced by LayoutDemo(), and OnEnd().


The documentation for this class was generated from the following file:
Generated on Fri Aug 20 19:21:59 2004 for 3d Controls by doxygen 1.3.6