Functions | |
| void | POINTER_SetCurrentPointer (u8 width, u8 height, u8 *bmp) |
| u16 | POINTER_GetCurrentAngleStart (void) |
| void | POINTER_SetCurrentAngleStart (u16 newangle) |
| u16 | POINTER_GetCurrentSpeedOnAngle (void) |
| void | POINTER_SetCurrentSpeedOnAngle (u16 newspeed) |
| void | POINTER_SetCurrentAreaStore (u8 *ptr) |
| void | POINTER_SetMode (enum POINTER_mode mode) |
| enum POINTER_mode | POINTER_GetMode (void) |
| enum POINTER_state | POINTER_GetState (void) |
| void | POINTER_SetRect (s16 x, s16 y, s16 width, s16 height) |
| void | POINTER_SetRectScreen (void) |
| u16 | POINTER_GetPos (void) |
| void | POINTER_SetPos (u16 x, u16 y) |
| void | POINTER_Draw (u8 x, u8 y, u8 width, u8 height, u8 *bmp) |
| void | POINTER_Save (u8 x, u8 y, u8 width, u8 height) |
| void | POINTER_Restore (u8 x, u8 y, u8 width, u8 height) |
| void | POINTER_SetApplication_Pointer_Mgr (tAppPtrMgr mgr) |
| void | POINTER_SetColor (u16 color) |
| u16 | POINTER_GetColor (void) |
| tPointer_Info * | POINTER_GetInfo (void) |
| void POINTER_Draw | ( | u8 | x, | |
| u8 | y, | |||
| u8 | width, | |||
| u8 | height, | |||
| u8 * | bmp | |||
| ) |
Draw pointer.
| [in] | x | Horizontal coordinate of the bottom left corner of the pointer. |
| [in] | y | Vertical coordinate of the bottom left corner of the pointer. |
| [in] | width | Pointer bitmap width. |
| [in] | height | Pointer bitmap height. |
| [in] | bmp | Pointer to width * height bit array. If null used default pointer bitmap. |
| u16 POINTER_GetColor | ( | void | ) |
Return the current pointer color.
| u16 POINTER_GetCurrentAngleStart | ( | void | ) |
Get the current minimal angle to move pointer
| u16 POINTER_GetCurrentSpeedOnAngle | ( | void | ) |
Return the current speed/angle ratio.
| tPointer_Info* POINTER_GetInfo | ( | void | ) |
Get pointer informations.
| enum POINTER_mode POINTER_GetMode | ( | void | ) |
Return the current mode of the pointer management
| u16 POINTER_GetPos | ( | void | ) |
Return the current position of the pointer (on the screen).
| enum POINTER_state POINTER_GetState | ( | void | ) |
Return current pointer state.
| void POINTER_Restore | ( | u8 | x, | |
| u8 | y, | |||
| u8 | width, | |||
| u8 | height | |||
| ) |
Restore the background of the pointer with data saved in the current store area.
| [in] | x | Horizontal coordinate of the bottom left corner of the area to restore. |
| [in] | y | Vertical coordinate of the bottom left corner of the area to restore. |
| [in] | width | Width of the area to restore. |
| [in] | height | Height of the area to restore. |
| void POINTER_Save | ( | u8 | x, | |
| u8 | y, | |||
| u8 | width, | |||
| u8 | height | |||
| ) |
Save the background of the pointer.
| [in] | x | Horizontal coordinate of the bottom left corner of the area to save. |
| [in] | y | Vertical coordinate of the bottom left corner of the area to save. |
| [in] | width | Width of the area to save. |
| [in] | height | Height of the area to save. |
| void POINTER_SetApplication_Pointer_Mgr | ( | tAppPtrMgr | mgr | ) |
Provides an user defined pointer manager.
| [in] | mgr | Pointer to the user defined pointer manager. |
| void POINTER_SetColor | ( | u16 | color | ) |
Set the pointer color.
| [in] | color | The new pointer color. |
| void POINTER_SetCurrentAngleStart | ( | u16 | newangle | ) |
Set the current minimal angle to move pointer
| [in] | newangle | The new minimal angle to move pointer. |
| void POINTER_SetCurrentAreaStore | ( | u8 * | ptr | ) |
Change the current storage area. If the provided value is NULL, the default storage area will be used.
| [in] | ptr | New storage area (may be null). |
| void POINTER_SetCurrentPointer | ( | u8 | width, | |
| u8 | height, | |||
| u8 * | bmp | |||
| ) |
Set the dimension and the bitmap of the pointer.
| [in] | width | width of the pointer (u8) |
| [in] | height | height of the pointer (u8) |
| [in] | bmp | pointer to an array of width * height bits. |
| void POINTER_SetCurrentSpeedOnAngle | ( | u16 | newspeed | ) |
Set the current speed/angle ratio.
| [in] | newspeed | New speed/angle ratio. |
| void POINTER_SetMode | ( | enum POINTER_mode | mode | ) |
Change the current mode of the pointer management.
| [in] | mode | New pointer management mode. |
| void POINTER_SetPos | ( | u16 | x, | |
| u16 | y | |||
| ) |
Force the screen position of the pointer.
| [in] | x | New horizontal coordinate. |
| [in] | y | New vertical coordinate. |
| void POINTER_SetRect | ( | s16 | x, | |
| s16 | y, | |||
| s16 | width, | |||
| s16 | height | |||
| ) |
Set new limits for the move of the pointer
| [in] | x | Horizontal coordinate of the bottom left corner of the new area. |
| [in] | y | Vertical coordinate of the bottom left corner of the new are. |
| [in] | width | New area width. |
| [in] | height | New area height. |
| void POINTER_SetRectScreen | ( | void | ) |
Allow the pointer to move on the whole screen.