| | |
| | | #endif
|
| | | }
|
| | |
|
| | | void PLPLContext::clear()
|
| | | {
|
| | | cmds.clear();
|
| | | params.clear();
|
| | | }
|
| | |
|
| | | struct PL_Paint_Internal
|
| | | {
|
| | | uint8_t* buffer;
|
| | |
| | |
|
| | | bool plplDraw_Rect_RGB565(PLPLContext* plplCtx, MB_Frame* paintMb, int& paramOffset)
|
| | | {
|
| | | int LTX = plplCtx->params[paramOffset + 0].val_i;
|
| | | int LTX = plplCtx->params[paramOffset + 0].val_i;
|
| | | int LTY = plplCtx->params[paramOffset + 1].val_i;
|
| | | int RBX = plplCtx->params[paramOffset + 2].val_i;
|
| | | int RBY = plplCtx->params[paramOffset + 3].val_i;
|
| | |
| | |
|
| | | bool plplDraw_Text_RGB565(PLPLContext* plplCtx, MB_Frame* paintMb, int& paramOffset)
|
| | | {
|
| | | int LTX = plplCtx->params[paramOffset + 0].val_i;
|
| | | int LTX = plplCtx->params[paramOffset + 0].val_i;
|
| | | int LTY = plplCtx->params[paramOffset + 1].val_i;
|
| | | const char* TXT = plplCtx->params[paramOffset + 2].val_s;
|
| | | paramOffset += 3;
|