|
Planeshift
|
The mouse pointer. More...
#include <pawsmouse.h>
Classes | |
| struct | ImgSize |
Public Member Functions | |
| void | ChangeImage (const char *imageName) |
| Change mouse pointer to new image. More... | |
| void | ChangeImage (iPawsImage *drawable) |
| void | Draw () |
| psPoint | GetDeltas () |
| Get the deltas from the last call to SetPosition. More... | |
| ImgSize | GetImageSize () |
| psPoint | GetPosition () |
| Get the absolute position. More... | |
| void | Hide (bool h=true) |
| pawsMouse () | |
| void | SetPosition (int x, int y) |
| Set the absolute screen position for mouse. More... | |
| void | UpdateDragPosition () |
| Updates the position of the dragged widget if any. More... | |
| void | WantCrosshair (bool h=true) |
| virtual | ~pawsMouse () |
Protected Member Functions | |
| void | SetOSMouse (iPawsImage *mouseImage) |
Protected Attributes | |
| bool | basicCursor |
| bool | crosshair |
| csRef< iPawsImage > | crosshairImage |
| psPoint | currentPosition |
| csRef< iPawsImage > | cursorImage |
| psPoint | deltas |
| csRef< iGraphics3D > | graphics3D |
| bool | hidden |
| csRef< iImage > | image |
| csRef< iImageIO > | imageLoader |
| int | transparentB |
| int | transparentG |
| int | transparentR |
| bool | useOS |
| csRef< iVFS > | vfs |
The mouse pointer.
Definition at line 41 of file pawsmouse.h.
| pawsMouse::pawsMouse | ( | ) |
|
virtual |
| void pawsMouse::ChangeImage | ( | const char * | imageName | ) |
Change mouse pointer to new image.
| imageName | A resource name to use as the image. |
| void pawsMouse::ChangeImage | ( | iPawsImage * | drawable | ) |
| void pawsMouse::Draw | ( | ) |
|
inline |
Get the deltas from the last call to SetPosition.
Definition at line 61 of file pawsmouse.h.
|
inline |
Definition at line 85 of file pawsmouse.h.
|
inline |
Get the absolute position.
Definition at line 55 of file pawsmouse.h.
| void pawsMouse::Hide | ( | bool | h = true | ) |
|
protected |
| void pawsMouse::UpdateDragPosition | ( | ) |
Updates the position of the dragged widget if any.
|
inline |
Definition at line 74 of file pawsmouse.h.
|
protected |
Definition at line 111 of file pawsmouse.h.
|
protected |
Definition at line 108 of file pawsmouse.h.
|
protected |
Definition at line 107 of file pawsmouse.h.
|
protected |
Definition at line 103 of file pawsmouse.h.
|
protected |
Definition at line 106 of file pawsmouse.h.
|
protected |
Definition at line 104 of file pawsmouse.h.
|
protected |
Definition at line 99 of file pawsmouse.h.
|
protected |
Definition at line 108 of file pawsmouse.h.
|
protected |
Definition at line 117 of file pawsmouse.h.
|
protected |
Definition at line 101 of file pawsmouse.h.
|
protected |
Definition at line 115 of file pawsmouse.h.
|
protected |
Definition at line 114 of file pawsmouse.h.
|
protected |
Definition at line 113 of file pawsmouse.h.
|
protected |
Definition at line 110 of file pawsmouse.h.
|
protected |
Definition at line 100 of file pawsmouse.h.