This documenta- tion describes the current state of development.
Prokee Modules:
GUI Elements:
GUI Interactions:
GUI Layouts:
Games/Demos:
Third Party Libraries:
This documentation describes the Prokee module interface.
Static Methods:Element *matrix::createElementMatrix(uint16_t width,uint16_t height,uint16_t rows,uint16_t cols,Element *(*createElement)(void))void matrix::allElements_newInteraction(Element *elem,void(*initializeFunction)(Element *elem))void matrix::allElements_setCallbackFunction(Element *elem,void(*setActionFunction)(Element *elem,void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context),void *context),void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context),void *context)void matrix::allElements_setCallbackMessage(Element *elem,void(*setActionMessage)(Element *elem,AbsThread *thr,uint32_t msgID,void *context),AbsThread *thr,uint32_t msgID,void *context)void matrix::allElements_setCallbackFunction2(Element *elem,void(*setActionFunction)(Element *elem,uint8_t button,void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context),void *context),uint8_t button,void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context),void *context)void matrix::allElements_setCallbackMessage2(Element *elem,void(*setActionMessage)(Element *elem,uint8_t button,AbsThread *thr,uint32_t msgID,void *context),uint8_t button,AbsThread *thr,uint32_t msgID,void *context)matrix element.int matrix::main(int argc,char **argv)
| Type | Name | Direction | Description |
| argc | The number of command-line parameters. | ||
| argv | [IN] | The command-line parameters. |
Element *matrix::create(uint16_t width,uint16_t height)
| Type | Name | Direction | Description |
| width | The width of the matrix in pixels. | ||
| height | The height of the matrix in pixels. |
Element *matrix::createElementMatrix(uint16_t width,uint16_t height,uint16_t rows,uint16_t cols,Element *(*createElement)(void))
| Type | Name | Direction | Description | ||||
| width | The width of the matrix in pixels. | ||||||
| height | The height of the matrix in pixels. | ||||||
| rows | The number of rows of the matrix. | ||||||
| cols | The number of columns of the matrix. | ||||||
| Element *(*createElement) ( void ) with typedef
| [IN] |
Element constructor function.
Parameters
void: no parameters
Return value
Pointer to an Element structure.
| |||||
void matrix::destroy(Element *elem)
| Type | Name | Direction | Description |
| elem | [IN/OUT] | Pointer to an Element structure. |
void matrix::allElements_newInteraction(Element *elem,void(*initializeFunction)(Element *elem))
| Type | Name | Direction | Description |
| elem | [IN/OUT] | Pointer to an Element structure. | |
| void(*initializeFunction) ( Element *elem ) | [IN] |
Parameters
elem: Pointer to an Element structure. | |
void matrix::allElements_setCallbackFunction(Element *elem,void(*setActionFunction)(Element *elem,void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context),void *context),void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context),void *context)
| Type | Name | Direction | Description |
| elem | [IN/OUT] | Pointer to an Element structure. | |
| void(*setActionFunction) ( Element *elem, void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context), void *context ) | [IN] |
Parameters
elem: Pointer to an Element structure. context:
Function-Pointer Parameter
actionFunction:
The action callback function
Parameters
elem: Pointer to an Element structure. x: y: context: | |
| void(*actionFunction) ( Element *elem, uint16_t x, uint16_t y, void *context ) | [IN] |
Parameters
elem: Pointer to an Element structure. x: y: context: | |
| context | |||
void matrix::allElements_setCallbackMessage(Element *elem,void(*setActionMessage)(Element *elem,AbsThread *thr,uint32_t msgID,void *context),AbsThread *thr,uint32_t msgID,void *context)
| Type | Name | Direction | Description |
| elem | [IN/OUT] | Pointer to an Element structure. | |
| void(*setActionMessage) ( Element *elem, AbsThread *thr, uint32_t msgID, void *context ) | [IN] |
Parameters
elem: Pointer to an Element structure. thr: msgID: context: | |
| thr | |||
| msgID | |||
| context | |||
void matrix::allElements_setCallbackFunction2(Element *elem,void(*setActionFunction)(Element *elem,uint8_t button,void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context),void *context),uint8_t button,void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context),void *context)
| Type | Name | Direction | Description |
| elem | [IN/OUT] | Pointer to an Element structure. | |
| void(*setActionFunction) ( Element *elem, uint8_t button, void(*actionFunction)(Element *elem,uint16_t x,uint16_t y,void *context), void *context ) | [IN] |
Parameters
elem: Pointer to an Element structure. button: context:
Function-Pointer Parameter
actionFunction:
The action callback function
Parameters
elem: Pointer to an Element structure. x: y: context: | |
| button | |||
| void(*actionFunction) ( Element *elem, uint16_t x, uint16_t y, void *context ) | [IN] |
Parameters
elem: Pointer to an Element structure. x: y: context: | |
| context | |||
void matrix::allElements_setCallbackMessage2(Element *elem,void(*setActionMessage)(Element *elem,uint8_t button,AbsThread *thr,uint32_t msgID,void *context),uint8_t button,AbsThread *thr,uint32_t msgID,void *context)
| Type | Name | Direction | Description |
| elem | [IN/OUT] | Pointer to an Element structure. | |
| void(*setActionMessage) ( Element *elem, uint8_t button, AbsThread *thr, uint32_t msgID, void *context ) | [IN] |
Parameters
elem: Pointer to an Element structure. button: thr: msgID: context: | |
| button | |||
| thr | |||
| msgID | |||
| context | |||