#include <Button.h>

Public Types | |
| enum | Image { IMAGE_NORMAL, IMAGE_HILITE, IMAGE_PRESSED, IMAGE_DISABLED, IMAGE_MAXIMAGE } |
| (*** add brief description here ***) More... | |
Public Member Functions | |
| Button () | |
| (*** add brief description here ***) | |
| virtual | ~Button () |
| (*** add brief description here ***) | |
| void | SetStatus (StringView *pView, const std::string &rStatus) |
| (*** add brief description here ***) | |
| void | SetCode (int code) |
| (*** add brief description here ***) | |
| virtual void | Draw (Rect rect) |
| (*** 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 ***) | |
| void | Load (Surface *surface) |
| (*** add brief description here ***) | |
| void | Load (Surface *surface, Rect rect) |
| (*** add brief description here ***) | |
| void | LoadImage (Image image, const std::string &rName) |
| Loads individual image. | |
Private Types | |
| enum | State { STATE_IDLE, STATE_HOVER, STATE_ACTIVE, STATE_PENDING } |
| (*** add brief description here ***) More... | |
Private Attributes | |
| State | m_State |
| (*** add brief description here ***) | |
| Surface * | m_pImage [IMAGE_MAXIMAGE] |
| (*** add brief description here ***) | |
| std::string | m_Status |
| (*** add brief description here ***) | |
| StringView * | m_pStringView |
| (*** add brief description here ***) | |
| int | m_Code |
| (*** add brief description here ***) | |
| void * | m_pData1 |
| (*** add brief description here ***) | |
| void * | m_pData2 |
| (*** add brief description here ***) | |
| enum Image |
enum State [private] |
| Button | ( | ) |
(*** add brief description here ***)
| ~Button | ( | ) | [virtual] |
(*** add brief description here ***)
| void SetStatus | ( | StringView * | pView, | |
| const std::string & | rStatus | |||
| ) |
(*** add brief description here ***)
| void SetCode | ( | int | code | ) |
(*** add brief description here ***)
| void Draw | ( | Rect | rect | ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void OnMouseMove | ( | Point | point | ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void OnMouseDown | ( | int | n, | |
| Point | point | |||
| ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void OnMouseUp | ( | int | n, | |
| Point | point | |||
| ) | [virtual] |
(*** add brief description here ***)
Reimplemented from Window.
| void Load | ( | Surface * | surface | ) |
(*** add brief description here ***)
(*** add brief description here ***)
| void LoadImage | ( | Image | image, | |
| const std::string & | rName | |||
| ) |
Loads individual image.
std::string m_Status [private] |
(*** add brief description here ***)
StringView* m_pStringView [private] |
(*** add brief description here ***)
int m_Code [private] |
(*** add brief description here ***)
void* m_pData1 [private] |
(*** add brief description here ***)
void* m_pData2 [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