#include <SketchApp.h>
Inheritance diagram for CSketchView::

Public Methods | |
| CSketchView (int x, int y, int width, int height) | |
| ~CSketchView () | |
| virtual void | draw (CGfxScreen *S) |
| int | update (CInputEvent *e) |
| Update method - Recieves a CInputEvent, returns 1 if redraw is needed, 0 if not. More... | |
Public Attributes | |
| CSketch * | m_sketch |
| bool | m_drawing |
| bool | m_bold |
| int | m_mode |
| int | sx |
| int | sy |
| int | cx |
| int | cy |
| int | m_width |
Can display or allow stylus-editing of any sketch
|
||||||||||||||||||||
|
|
|
|
|
|
|
FILE SketchApp.cpp
DESCRIPTION Sketch application Reimplemented from CWidget. |
|
|
Update method - Recieves a CInputEvent, returns 1 if redraw is needed, 0 if not. All keyboard and mouse (stylus) events are sent to this function. If the widget wants to trap the events, it can, and must return 1 if the screen needs to be redrawn and 0 if it does not (ie nothing happened or the action did not change the screen) Reimplemented from CWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001