#include <textBox.h>
Inheritance diagram for TextBox:
Public Member Functions | |
TextBox () | |
~TextBox () | |
virtual void | Create () |
virtual void | Create (double depth) |
void | ToString (MyString &str) |
Pour le debugage. | |
void | SetCursor (int column, int line) |
le curseur a ete positionnée | |
void | operator= (char *newText) |
Affectation du text. | |
void | SetText (char *newText) |
int | OnLButtonDown (StateMouse *mouse, int face) |
on a clicker sur le control ==> curseur a l'emplacement de la souris | |
int | OnLButtonUp (StateMouse *mouse, int face) |
int | OnOverIn (Control *oldControl, int face) |
Public Attributes | |
BOOL | isReadOnly |
EventTextBox | onTextBox |
Text3D | text |
Definition at line 38 of file textBox.h.
|
Definition at line 32 of file textBox.cpp. References align_center, ce, EventMouseButton::down, ControlEngine::fontTexture, ft_texture, EventOver::in, isReadOnly, EventMouse::left, BasicText3D::material, EventControl::mouse, EventControl::over, Text3D::SetAlign(), Material::SetDS(), Text3D::Setup(), and EventMouseButton::up. |
|
Definition at line 49 of file textBox.cpp. |
|
Definition at line 55 of file textBox.cpp. References Primitive::AddBox(), ce, MyTreeNode< T >::Elems(), FACE_BACK, FACE_FRONT, isReadOnly, ControlEngine::primitive, and Control::SetParent(). |
|
Reimplemented from Control. Definition at line 47 of file textBox.h. References DEFAULT_DEPTH_TEXTBOX. Referenced by Tutorial::ApplicationDemo::ApplicationDemo(), Tutorial::BaseDemo::BaseDemo(), TaskWindow::Create(), MsgBox::Create(), Calculator::Create(), Tutorial::Create(), and Tutorial::LayoutDemo::LayoutDemo(). |
|
on a clicker sur le control ==> curseur a l'emplacement de la souris
Reimplemented from Control. Definition at line 90 of file textBox.cpp. References Cursor::ApplyTypes(), ce, ControlEngine::cursor, DebugMouse2, isReadOnly, StateMouse::pos, SetCursor(), Point2D< int >::x, and Point2D< int >::y. |
|
Reimplemented from Control. Definition at line 98 of file textBox.cpp. References Cursor::ApplyTypes(), ce, ControlEngine::cursor, and DebugMouse2. |
|
Definition at line 105 of file textBox.cpp. References Cursor::ApplyTypes(), ce, ControlEngine::cursor, cursorNothing, Debug2Param, and Control::name. |
|
Affectation du text. Permet l'ecriture
Definition at line 73 of file textBox.cpp. References Text3D::SetText(). |
|
le curseur a ete positionnée
Definition at line 113 of file textBox.cpp. References column, Debug2Param, onTextBox, and EventTextBox::setCursor. Referenced by OnLButtonDown(). |
|
Definition at line 80 of file textBox.cpp. References Text3D::SetText(). Referenced by Tutorial::BaseDemo::BaseDemo(), Univers::ExitQuestion(), and Tutorial::LayoutDemo::LayoutDemo(). |
|
Pour le debugage.
Reimplemented from Control. Definition at line 119 of file textBox.cpp. References MyString::AddFormat(), and isReadOnly. |
|
Definition at line 41 of file textBox.h. Referenced by Create(), MsgBox::MsgBox(), OnLButtonDown(), TextBox(), and ToString(). |
|
Definition at line 42 of file textBox.h. Referenced by SetCursor(). |
|
Definition at line 43 of file textBox.h. Referenced by Tutorial::ApplicationDemo::ApplicationDemo(), Calculator::Calculator(), TaskWindow::Create(), MsgBox::Create(), Calculator::Create(), Tutorial::LayoutDemo::LayoutDemo(), Tutorial::ApplicationDemo::OnSelectExplorer(), and Tutorial::Tutorial(). |