Merge branch 'master' into list
This commit is contained in:
commit
44f3256be3
3 changed files with 3 additions and 3 deletions
|
@ -514,7 +514,7 @@ bool_t ginputCalibrateMouse(uint16_t instance) {
|
|||
#if GFX_USE_GWIN
|
||||
gdispClear(gwinGetDefaultBgColor());
|
||||
#else
|
||||
gdispClear(White);
|
||||
gdispClear(Black);
|
||||
#endif
|
||||
|
||||
return TRUE;
|
||||
|
|
|
@ -190,7 +190,7 @@ void gwinCheckboxDraw_CheckOnRight(GWidgetObject *gw, void *param) {
|
|||
if (gw->g.flags & GCHECKBOX_FLG_CHECKED)
|
||||
gdispFillArea(gw->g.x+ep+df, gw->g.y+df, ld-2*df, ld-2*df, pcol->fill);
|
||||
|
||||
gdispFillStringBox(gw->g.x, gw->g.y, ep, gw->g.height, gw->text, gw->g.font, pcol->text, gw->pstyle->background, justifyRight);
|
||||
gdispFillStringBox(gw->g.x, gw->g.y, ep-1, gw->g.height, gw->text, gw->g.font, pcol->text, gw->pstyle->background, justifyRight);
|
||||
#undef gcw
|
||||
}
|
||||
|
||||
|
|
|
@ -396,7 +396,7 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor
|
|||
#if GDISP_NEED_PIXELREAD
|
||||
color_t gwinGetPixelColor(GHandle gh, coord_t x, coord_t y) {
|
||||
if (!((gh->flags & GWIN_FLG_VISIBLE)))
|
||||
return;
|
||||
return defaultBgColor;
|
||||
|
||||
#if GDISP_NEED_CLIP
|
||||
gdispSetClip(gh->x, gh->y, gh->width, gh->height);
|
||||
|
|
Loading…
Add table
Reference in a new issue