Go to the source code of this file.
Classes | |
class | CCPen |
This provides support for Pressure Sensitive Pen devices. Its job is to keep track of the current pressure of a pen. It will automatically mutate itself into either a Real or Pretend pen, depending on what is availble when it is created. If it is a real pen, then it gets it's pressure from mouse messages. If it is a pretend pen, then the pressure is adjusted using either the keyboard (temporarily Keypad +/-) or by using a joystick. More... | |
class | OpTogglePressure |
Defines | |
#define | MAXPRESSURE 1023 |
| |
#define | JOYMAX 65536 |
#define | OPTOKEN_TOGGLEPRESSURE TEXT("TogglePressure") |
This class represents the TogglePressure operation. Creating an instance of this class and calling its "Do" function will toggle the state of the flag controlling whether Pressure Information is stored within paths. | |
Enumerations | |
enum | PressureMode { PressureMode_None, PressureMode_Pen, PressureMode_Speed, PressureMode_Direction, PressureMode_MaxEnum } |
|
|
|
|
|
This class represents the TogglePressure operation. Creating an instance of this class and calling its "Do" function will toggle the state of the flag controlling whether Pressure Information is stored within paths.
|
|
Definition at line 116 of file pen.h. 00117 { 00118 PressureMode_None, // Pressure not being recorded (always returns max pressure) 00119 PressureMode_Pen, // Pressure is recorded from a real pressure pen 00120 PressureMode_Speed, // Pressure is simulated from mouse speed 00121 PressureMode_Direction, // Pressure is simulated from mouse direction 00122 00123 PressureMode_MaxEnum // Placeholder so we know how many modes there are 00124 } PressureMode;
|