A window that shows a map or picture.
More...
#include <pawsilluminationwindow.h>
List of all members.
Classes |
| class | BezierWeights |
| struct | SketchBezier |
| struct | SketchIcon |
| struct | SketchLine |
| struct | SketchObject |
| struct | SketchText |
Public Member Functions |
| double | CalcFunction (MathEnvironment *env, const char *functionName, const double *params) |
| | inherited from iScriptableVar from pawsWidget
|
| virtual void | Draw () |
| | Draws the widget and all of it's children.
|
| void | DrawBlackBox (int x, int y) |
| void | DrawColorWidgetText (const char *text, int x, int y, int color) |
| virtual bool | GetFocusOverridesControls () const |
| | Test if the widget should intercept all key presses.
|
| iGraphics2D * | GetG2D () |
| void | HandleMessage (MsgEntry *message) |
| virtual void | Hide () |
| | Makes widget invisible and removes focus if widget has current focus.
|
| bool | IsMouseDown () |
| void | OnColorEntered (const char *name, int param, int color) |
| | inherited from iOnColorEnteredAction
|
| virtual bool | OnKeyDown (utf32_char keyCode, utf32_char key, int modifiers) |
| | Process keydown messages.
|
| virtual bool | OnMouseDown (int button, int modifiers, int x, int y) |
| | Manage mouse down event to test for and apply window changes.
|
| virtual bool | OnMouseUp (int button, int modifiers, int x, int y) |
| | Manage mouse up event.
|
| void | OnStringEntered (const char *name, int param, const char *value) |
| | inherited from iOnStringEnteredAction
|
| | pawsSketchWindow (const pawsSketchWindow &origin) |
| | TODO: Copy constructor, useless currently. Would be implemented later.
|
| | pawsSketchWindow () |
| bool | PostSetup () |
| | This is called after the widget and all of it's children have been created.
|
| virtual | ~pawsSketchWindow () |
Protected Member Functions |
| void | AddSketchBezier () |
| void | AddSketchIcon () |
| void | AddSketchLine () |
| void | AddSketchText () |
| void | ChangeSketchName () |
| void | DrawSketch () |
| csString | filenameSafe (const csString &original) |
| bool | isBadChar (char c) |
| void | LoadSketch () |
| void | MoveObject (int dx, int dy) |
| void | NextPrevIcon (int delta) |
| bool | ParseLimits (const char *xmlstr) |
| bool | ParseSketch (const char *xml, bool checklimits=false) |
| void | RemoveSelected () |
| void | SaveSketch () |
| void | SetToolbarButtons () |
| csString | toXML () |
Protected Attributes |
| pawsWidget * | BezierTool |
| BezierWeights | bezierWeights |
| csRef< iPawsImage > | blackBox |
| bool | colorPending |
| pawsWidget * | ColorTool |
| uint32_t | currentItemID |
| pawsWidget * | DeleteTool |
| int | dirty |
| bool | editMode |
| pawsWidget * | FeatherTool |
| int | frame |
| csStringArray | iconList |
| pawsWidget * | LeftArrowTool |
| pawsWidget * | LineTool |
| pawsWidget * | LoadButton |
| bool | mouseDown |
| int | mouseDownX |
| int | mouseDownY |
| pawsWidget * | NameTool |
| csPDelArray< SketchObject > | objlist |
| pawsWidget * | PlusTool |
| int | primCount |
| bool | readOnly |
| pawsWidget * | RightArrowTool |
| pawsWidget * | SaveButton |
| size_t | selectedIndex |
| csRef< iPawsImage > | sketchBgImage |
| | Background image.
|
| csString | sketchName |
| bool | stringPending |
| pawsWidget * | TextTool |
Detailed Description
A window that shows a map or picture.
Definition at line 32 of file pawsilluminationwindow.h.
Constructor & Destructor Documentation
| pawsSketchWindow::pawsSketchWindow |
( |
| ) |
|
TODO: Copy constructor, useless currently. Would be implemented later.
| virtual pawsSketchWindow::~pawsSketchWindow |
( |
| ) |
[virtual] |
Member Function Documentation
| void pawsSketchWindow::AddSketchBezier |
( |
| ) |
[protected] |
| void pawsSketchWindow::AddSketchIcon |
( |
| ) |
[protected] |
| void pawsSketchWindow::AddSketchLine |
( |
| ) |
[protected] |
| void pawsSketchWindow::AddSketchText |
( |
| ) |
[protected] |
| double pawsSketchWindow::CalcFunction |
( |
MathEnvironment * |
env, |
|
|
const char * |
functionName, |
|
|
const double * |
params |
|
) |
| [virtual] |
| void pawsSketchWindow::ChangeSketchName |
( |
| ) |
[protected] |
| virtual void pawsSketchWindow::Draw |
( |
| ) |
[virtual] |
Draws the widget and all of it's children.
Reimplemented from pawsWidget.
| void pawsSketchWindow::DrawBlackBox |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
| void pawsSketchWindow::DrawColorWidgetText |
( |
const char * |
text, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
color |
|
) |
| |
| void pawsSketchWindow::DrawSketch |
( |
| ) |
[protected] |
| csString pawsSketchWindow::filenameSafe |
( |
const csString & |
original | ) |
[protected] |
| virtual bool pawsSketchWindow::GetFocusOverridesControls |
( |
| ) |
const [inline, virtual] |
| iGraphics2D* pawsSketchWindow::GetG2D |
( |
| ) |
|
| void pawsSketchWindow::HandleMessage |
( |
MsgEntry * |
message | ) |
[virtual] |
| virtual void pawsSketchWindow::Hide |
( |
| ) |
[virtual] |
Makes widget invisible and removes focus if widget has current focus.
Sets visible FALSE, hides border if present and then if focused when called it calls SetCurrentFocusedWidget(NULL).
Reimplemented from pawsWidget.
| bool pawsSketchWindow::isBadChar |
( |
char |
c | ) |
[protected] |
| bool pawsSketchWindow::IsMouseDown |
( |
| ) |
[inline] |
| void pawsSketchWindow::LoadSketch |
( |
| ) |
[protected] |
| void pawsSketchWindow::MoveObject |
( |
int |
dx, |
|
|
int |
dy |
|
) |
| [protected] |
| void pawsSketchWindow::NextPrevIcon |
( |
int |
delta | ) |
[protected] |
| void pawsSketchWindow::OnColorEntered |
( |
const char * |
name, |
|
|
int |
param, |
|
|
int |
color |
|
) |
| [virtual] |
| virtual bool pawsSketchWindow::OnKeyDown |
( |
utf32_char |
keyCode, |
|
|
utf32_char |
keyChar, |
|
|
int |
modifiers |
|
) |
| [virtual] |
Process keydown messages.
- Parameters:
-
| keyCode | The code for the pressed key. |
| keyChar | The key pressed. |
| modifiers | Used to modify tab behavior. |
- Returns:
- bool TRUE for success FALSE if no action.
Reimplemented from pawsWidget.
| virtual bool pawsSketchWindow::OnMouseDown |
( |
int |
button, |
|
|
int |
modifiers, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| [virtual] |
Manage mouse down event to test for and apply window changes.
- Parameters:
-
| button | Type of button: 1 resizable or movable, 2 context menu or config window. |
| modifiers | Used with PAWS_CONSTRUCTION. |
| x | Used to test for resize. |
| y | Used to test for resize. |
- Returns:
- bool TRUE if movable or resizable.
Reimplemented from pawsWidget.
| virtual bool pawsSketchWindow::OnMouseUp |
( |
int |
button, |
|
|
int |
modifiers, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| [virtual] |
Manage mouse up event.
- Returns:
- bool Parent's result or FALSE if no parent.
Reimplemented from pawsWidget.
| void pawsSketchWindow::OnStringEntered |
( |
const char * |
name, |
|
|
int |
param, |
|
|
const char * |
value |
|
) |
| [virtual] |
| bool pawsSketchWindow::ParseLimits |
( |
const char * |
xmlstr | ) |
[protected] |
| bool pawsSketchWindow::ParseSketch |
( |
const char * |
xml, |
|
|
bool |
checklimits = false |
|
) |
| [protected] |
| bool pawsSketchWindow::PostSetup |
( |
| ) |
[virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
| void pawsSketchWindow::RemoveSelected |
( |
| ) |
[protected] |
| void pawsSketchWindow::SaveSketch |
( |
| ) |
[protected] |
| void pawsSketchWindow::SetToolbarButtons |
( |
| ) |
[protected] |
| csString pawsSketchWindow::toXML |
( |
| ) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following file: