#include <EditBox.h>

Public Member Functions | |
| EditBox () | |
| (*** add brief description here ***) | |
| virtual | ~EditBox () |
| (*** add brief description here ***) | |
| virtual void | Draw (Rect rect) |
| (*** add brief description here ***) | |
| virtual bool | CanFocus () |
| (*** add brief description here ***) | |
| virtual void | OnFocus (bool hasFocus) |
| (*** add brief description here ***) | |
| virtual void | OnKeyDown (SDL_KeyboardEvent sdlEvent) |
| (*** add brief description here ***) | |
| virtual void | OnMouseMove (Point point) |
| (*** add brief description here ***) | |
| virtual void | OnMouseDown (int n, Point point) |
| (*** add brief description here ***) | |
| virtual void | OnMouseUp (int n, Point point) |
| (*** add brief description here ***) | |
| virtual void | OnTimer (float deltaTime) |
| (*** add brief description here ***) | |
Private Member Functions | |
| size_t | ConvertPointToCursor (Point point) |
| Converts point to cursor. | |
Private Attributes | |
| bool | m_HasFocus |
| (*** add brief description here ***) | |
| size_t | m_Cursor |
| (*** add brief description here ***) | |
| size_t | m_StartCursor |
| (*** add brief description here ***) | |
| bool | m_Dragging |
| (*** add brief description here ***) | |
| int | m_Offset |
| (*** add brief description here ***) | |
| Color | m_HighlightColor |
| (*** add brief description here ***) | |
| float | m_CursorTimer |
| (*** add brief description here ***) | |
| bool | m_CursorActive |
| (*** add brief description here ***) | |
Static Private Attributes | |
| static const int | CURSOR_BLINK_RATE_MS = 500 |
| (*** add brief description here ***) | |
| EditBox | ( | ) |
(*** add brief description here ***)
| ~EditBox | ( | ) | [virtual] |
(*** add brief description here ***)
| void Draw | ( | Rect | rect | ) | [virtual] |
(*** add brief description here ***)
Reimplemented from StaticText.
| virtual bool CanFocus | ( | ) | [inline, virtual] |
| void OnFocus | ( | bool | hasFocus | ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void OnKeyDown | ( | SDL_KeyboardEvent | sdlEvent | ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void OnMouseMove | ( | Point | point | ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void OnMouseDown | ( | int | buttonNumber, | |
| Point | point | |||
| ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void OnMouseUp | ( | int | buttonNumber, | |
| Point | point | |||
| ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void OnTimer | ( | float | deltaTime | ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| size_t ConvertPointToCursor | ( | Point | point | ) | [private] |
Converts point to cursor.
const int CURSOR_BLINK_RATE_MS = 500 [static, private] |
(*** add brief description here ***)
bool m_HasFocus [private] |
(*** add brief description here ***)
size_t m_Cursor [private] |
(*** add brief description here ***)
size_t m_StartCursor [private] |
(*** add brief description here ***)
bool m_Dragging [private] |
(*** add brief description here ***)
int m_Offset [private] |
(*** add brief description here ***)
Color m_HighlightColor [private] |
(*** add brief description here ***)
float m_CursorTimer [private] |
(*** add brief description here ***)
bool m_CursorActive [private] |
(*** add brief description here ***)
Navigation
Home Page
Screen Shots
Developers
Documentation
Doxygen
Namespace List
Class List
Class Hierarchy
File List
Todo List
Links
SDL Library
License
SourceForge Project
Forums
Download
Regimental Command
Copyright © 2008
Randi J. Relander