Fixing compiler errors for non-GCC compilers
This commit is contained in:
parent
5d81aa2487
commit
778b23bdfd
1 changed files with 6 additions and 7 deletions
|
@ -656,13 +656,6 @@ void gwinListViewItem(GHandle gh, int item) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void gwinListDefaultDraw(GWidgetObject* gw, void* param) {
|
void gwinListDefaultDraw(GWidgetObject* gw, void* param) {
|
||||||
(void)param;
|
|
||||||
|
|
||||||
#if GDISP_NEED_CONVEX_POLYGON
|
|
||||||
static const point upArrow[] = { {0, LST_ARROW_SZ}, {LST_ARROW_SZ, LST_ARROW_SZ}, {LST_ARROW_SZ/2, 0} };
|
|
||||||
static const point downArrow[] = { {0, 0}, {LST_ARROW_SZ, 0}, {LST_ARROW_SZ/2, LST_ARROW_SZ} };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const gfxQueueASyncItem* qi;
|
const gfxQueueASyncItem* qi;
|
||||||
int i;
|
int i;
|
||||||
coord_t x, y, iheight, iwidth;
|
coord_t x, y, iheight, iwidth;
|
||||||
|
@ -671,6 +664,12 @@ void gwinListDefaultDraw(GWidgetObject* gw, void* param) {
|
||||||
#if GWIN_NEED_LIST_IMAGES
|
#if GWIN_NEED_LIST_IMAGES
|
||||||
coord_t sy;
|
coord_t sy;
|
||||||
#endif
|
#endif
|
||||||
|
#if GDISP_NEED_CONVEX_POLYGON
|
||||||
|
static const point upArrow[] = { {0, LST_ARROW_SZ}, {LST_ARROW_SZ, LST_ARROW_SZ}, {LST_ARROW_SZ/2, 0} };
|
||||||
|
static const point downArrow[] = { {0, 0}, {LST_ARROW_SZ, 0}, {LST_ARROW_SZ/2, LST_ARROW_SZ} };
|
||||||
|
#endif
|
||||||
|
|
||||||
|
(void)param;
|
||||||
|
|
||||||
// is it a valid handle?
|
// is it a valid handle?
|
||||||
if (gw->g.vmt != (gwinVMT *)&listVMT)
|
if (gw->g.vmt != (gwinVMT *)&listVMT)
|
||||||
|
|
Loading…
Add table
Reference in a new issue