From 9698f0a74319fa4a843783a1aa72dfca2c3fc90f Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Thu, 1 May 2014 21:03:31 +0200 Subject: [PATCH 1/2] Increasing corner size of tabs --- src/gwin/radio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gwin/radio.c b/src/gwin/radio.c index 8dc3ba6b..0ae5546a 100644 --- a/src/gwin/radio.c +++ b/src/gwin/radio.c @@ -21,7 +21,7 @@ #include "src/gwin/class_gwin.h" -#define GRADIO_TAB_CNR 3 // Diagonal corner on active tab +#define GRADIO_TAB_CNR 8 // Diagonal corner on active tab #define GRADIO_TOP_FADE 50 // (GRADIO_TOP_FADE/255)% fade to white for top of tab/button #define GRADIO_BOTTOM_FADE 25 // (GRADIO_BOTTOM_FADE/255)% fade to black for bottom of tab/button #define GRADIO_OUTLINE_FADE 128 // (GRADIO_OUTLINE_FADE/255)% fade to background for active tab edge From c2e93ebcfbb781b4295e4cb82b858500765c6ea6 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Tue, 6 May 2014 17:14:30 +0200 Subject: [PATCH 2/2] bug fix --- src/gdisp/gdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 2ac55f1b..9f3ff11b 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -1415,7 +1415,7 @@ void gdispGBlitArea(GDisplay *g, coord_t x, coord_t y, coord_t cx, coord_t cy, c if (full & 0x30) { g->p.x = x-a; g->p.y = y+b; drawpixel_clip(g); } if (full == 0xFF) { autoflush(g); - MUTEX_EXIT(); + MUTEX_EXIT(g); return; } }