#include <calculator.h>
Inheritance diagram for Calculator:

Public Member Functions | |
| Calculator () | |
| void | Create () |
| int | OnKey (StateKey *key, int face) |
| void | OnNum (int num) |
| int | OnNum0 () |
| int | OnNum1 () |
| int | OnNum2 () |
| int | OnNum3 () |
| int | OnNum4 () |
| int | OnNum5 () |
| int | OnNum6 () |
| int | OnNum7 () |
| int | OnNum8 () |
| int | OnNum9 () |
| int | OnDot () |
| int | OnClear () |
| int | OnEqual () |
| int | OnAdd () |
| int | OnSub () |
| int | OnMult () |
| int | OnDiv () |
| int | OnOk () |
Definition at line 50 of file calculator.h.
|
|
Definition at line 66 of file calculator.cpp. References align_begin, EventButton::click, EventKey::down, EventControl::key, OnAdd(), Button::onButton, OnClear(), Control::onControl, OnDiv(), OnDot(), OnEqual(), OnKey(), OnMult(), OnNum0(), OnNum1(), OnNum2(), OnNum3(), OnNum4(), OnNum5(), OnNum6(), OnNum7(), OnNum8(), OnNum9(), OnSub(), Text3D::SetAlign(), TextBox::text, and Title::useMax. |
|
|
Reimplemented from Window. Definition at line 126 of file calculator.cpp. References align_begin, align_center, Title::btnIcon, ce, Button::Create(), TextBox::Create(), Window::Create(), MyTreeNode< T >::elem, MyTreeNode< T >::Elems(), FACE_BACK, FACE_FRONT, Control::faceNode, Texture::FromBitmap(), Primitive::GoTo(), ControlEngine::Pop(), ControlEngine::primitive, ControlEngine::Push(), Text3D::SetAlign(), TextBox::text, ControlEngine::univers, Control::XDockCenter(), Control::XDockLeft(), Control::YDockCenter(), and Control::YDockTop(). Referenced by Tutorial::ApplicationDemo::ApplicationDemo(). |
|
|
Definition at line 327 of file calculator.cpp. References MyList< Opperation >::i, Opperation::number, Opperation::op, and Op_Add. Referenced by Calculator(), and OnKey(). |
|
|
Definition at line 313 of file calculator.cpp. References MyList< Opperation >::i, and MyListIterator< Opperation >::SuprAll(). Referenced by Calculator(), and OnKey(). |
|
|
Definition at line 371 of file calculator.cpp. References MyList< Opperation >::i, Opperation::number, Opperation::op, and Op_Div. Referenced by Calculator(), and OnKey(). |
|
|
Definition at line 306 of file calculator.cpp. Referenced by Calculator(), and OnKey(). |
|
|
Definition at line 321 of file calculator.cpp. Referenced by Calculator(), and OnKey(). |
|
||||||||||||
|
Definition at line 262 of file calculator.cpp. References StateKey::code, Control::Delete(), OnAdd(), OnClear(), OnDiv(), OnDot(), OnEqual(), OnMult(), OnNum(), and OnSub(). Referenced by Calculator(). |
|
|
Definition at line 358 of file calculator.cpp. References MyList< Opperation >::i, Opperation::number, Opperation::op, and Op_Mult. Referenced by Calculator(), and OnKey(). |
|
|
Definition at line 288 of file calculator.cpp. References num. Referenced by OnKey(), OnNum0(), OnNum1(), OnNum2(), OnNum3(), OnNum4(), OnNum5(), OnNum6(), OnNum7(), OnNum8(), and OnNum9(). |
|
|
Definition at line 295 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 296 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 297 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 298 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 299 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 300 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 301 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 302 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 303 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 304 of file calculator.cpp. References OnNum(). Referenced by Calculator(). |
|
|
Definition at line 384 of file calculator.cpp. References Window::OnClose(). |
|
|
Definition at line 340 of file calculator.cpp. References MyList< Opperation >::i, Opperation::number, Opperation::op, and Op_Sub. Referenced by Calculator(), and OnKey(). |
1.3.6