Added missing check for GDISP_NEED_CIRCLE
This commit is contained in:
parent
e0f22d9cb8
commit
c119ca4a5d
2 changed files with 14 additions and 10 deletions
|
@ -371,7 +371,9 @@ bool_t _gwinWMAdd(GHandle gh, const GWindowInit *pInit);
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
|
#if GDISP_NEED_CIRCLE
|
||||||
void _gwidgetDrawFocusCircle(GWidgetObject *gx, coord_t radius);
|
void _gwidgetDrawFocusCircle(GWidgetObject *gx, coord_t radius);
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define _gwinFixFocus(gh)
|
#define _gwinFixFocus(gh)
|
||||||
|
|
|
@ -330,6 +330,7 @@ static void gwidgetEvent(void *param, GEvent *pe) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if GDISP_NEED_CIRCLE
|
||||||
void _gwidgetDrawFocusCircle(GWidgetObject *gx, coord_t radius) {
|
void _gwidgetDrawFocusCircle(GWidgetObject *gx, coord_t radius) {
|
||||||
coord_t i;
|
coord_t i;
|
||||||
|
|
||||||
|
@ -342,6 +343,7 @@ static void gwidgetEvent(void *param, GEvent *pe) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if GFX_USE_GINPUT && GINPUT_NEED_TOGGLE
|
#if GFX_USE_GINPUT && GINPUT_NEED_TOGGLE
|
||||||
static GHandle FindToggleUser(uint16_t instance) {
|
static GHandle FindToggleUser(uint16_t instance) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue