2 * Acess GUI (AxWin) Version 2
3 * By John Hodge (thePowersGang)
10 #define BOX_BGCOLOUR 0xC0C0C0
11 #define BOX_BORDER 0xA0A0A0
12 #define BUTTON_BGCOLOUR 0xD0D0D0
13 #define BUTTON_BORDER 0xF0F0F0
14 #define TEXT_COLOUR 0x000000
17 void Decorator_RenderWidget(tElement *Element)
19 _SysDebug("Decorator_RenderWidget: (Element={Type:%i,(%i,%i) %ix%i})",
21 Element->CachedX, Element->CachedY,
22 Element->CachedW, Element->CachedH
28 case ELETYPE_BOX: break;
30 case ELETYPE_TABBAR: // TODO: Moar
33 Element->CachedX, Element->CachedY,
34 Element->CachedW, Element->CachedH,
38 Element->CachedX+1, Element->CachedY+1,
39 Element->CachedW-2, Element->CachedH-2,
46 Element->CachedX+3, Element->CachedY+3,
47 Element->CachedW-6, Element->CachedH-6,
54 Element->CachedX+1, Element->CachedY+1,
55 Element->CachedW-2, Element->CachedH-2,
59 Element->CachedX, Element->CachedY,
60 Element->CachedW-1, Element->CachedH-1,
67 Element->CachedX+1, Element->CachedY+1,
68 Element->CachedW-2, Element->CachedH-2,
77 Element->CachedX, Element->CachedY,
78 Element->CachedW, Element->CachedH,