|
Functions |
void | PAPI_Init (u8 screen) |
| Initialise the PA API system. MUST be used prior to any API usage. MUST be set on a 8bit background, don't forget to intialise it too !
|
void | PAPI_SetImages (u8 screen, void *images, void *palette) |
| Change the image set used by the API system. This allows you to have your own buttons and everything... I'll explain later on how to correctly use this
|
void | PAPI_ReInit (u8 screen) |
| ReInitialise the PA API system. This resets all the buttons, checkboxess, and all, you'll just have to clean the screen
|
void | PAPI_LoadPal (u8 screen) |
| Loads the API palette in background colors 208. Use this each time you change the background palette
|
u8 | PAPI_CreateCheck (u8 screen, s16 x, s16 y, u8 *var) |
| Creates a new Checkbox. Returns the number of the checkbox in the API system
|
void | PAPI_CheckCheck (void) |
| Checks all the checkboxes for a new press
|
u8 | PAPI_CreateButton (u8 screen, s16 x, s16 y, s16 lx, s16 ly, fp funct, char *text, u8 color, s8 textsize) |
| Creates a new Button. Returns the number of the button in the API system
|
void | PAPI_CheckButton (void) |
| Checks all the buttons for a new press
|