http://www.wavecom.com/forum Open AT ® Release version: 3.13 |
This sample depends on the following libraries :
This Draw sample ADL Library provides to ADL applications APIs to draw and move sprites on a graphical LCD.
The used SPI LCD in this sample is the Samsung KS 0719.
All constants and APIs are defined by the draw.h header file, which must be included by any application to allows it to use the Draw Library.
The library will need the global variable bellow on link operation, to define the trace level on which will be displayed the Draw traces :
Any application which links with the Draw Library must also use the Drivers Library. The application must subscribe to the KS0719 driver before creating the first sprite.
The Draw APIs are defined bellow :
drw_CreateSpriteParameter | Description |
sSprite | Sprite template. |
iXInit | X init position. |
iYInit | Y init position. |
Parameter | Description |
iSpriteID | The sprite to process. |
XOffset | X Offset. |
YOffset | Y Offset. |
Parameter | Description |
iSpriteID | The sprite to process. |
iXInit | X new position. |
iYInit | Y new position. |
Parameter | Description |
iSpriteID | The sprite to process. |
iCurrentX | X position. |
iCurrentY | Y position. |
Parameter | Description |
iSpriteID | The sprite to process. |
iWidth | Sprite width. |
iHeight | Sprite height. |
Parameter | Description |
iSpriteID | The sprite to process. |
Parameter | Description |
iSpriteID | The sprite to process. |
Updated: Wed Apr 4 13:14:19 CEST 2007;