1
0
This repository has been archived on 2024-09-17. You can view files and clone it, but cannot push or open issues or pull requests.
tor-heredero-tokenring/rendering_functions.h

26 lines
665 B
C
Raw Permalink Normal View History

2024-04-10 17:17:57 +00:00
#ifndef _RENDERING_FUNCTIONS_H
#define _RENDERING_FUNCTIONS_H
#include "gfx.h"
#include "resources_manager.h"
// background_Display Background
void background_Display_Background(GWidgetObject* wo, void* param)
{
(void)param;
gdispGFillArea(wo->g.display, wo->g.x, wo->g.y, wo->g.width, wo->g.height, White);
gdispGFillArea(wo->g.display, 0, 0, 480, 272, HTML2COLOR(0xFFFFFF));
}
// background_gray
void background_gray(GWidgetObject* wo, void* param)
{
(void)param;
gdispGFillArea(wo->g.display, wo->g.x, wo->g.y, wo->g.width, wo->g.height, White);
gdispGFillArea(wo->g.display, 0, 0, 480, 272, HTML2COLOR(0x606060));
}
#endif // _RENDERING_FUNCTIONS_H