X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2Fdecorator.c;fp=Usermode%2FApplications%2Faxwin2_src%2FWM%2Fdecorator.c;h=171b526148f682e1854da0fadeadab275fdb1fac;hb=ad2ec62655e1d6eb8f2b4a4684eb5d7952aea0fb;hp=cc74e1a1ce79e4390ef5dad8800f44d2b6749adc;hpb=524b2b8fac4cc652c707bb0cddcb730dede3d7b1;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/decorator.c b/Usermode/Applications/axwin2_src/WM/decorator.c index cc74e1a1..171b5261 100644 --- a/Usermode/Applications/axwin2_src/WM/decorator.c +++ b/Usermode/Applications/axwin2_src/WM/decorator.c @@ -37,6 +37,18 @@ void Decorator_RenderWidget(tElement *Element) case ELETYPE_BOX: break; // Box is a meta-element case ELETYPE_TABBAR: // Tab Bar + Video_DrawRect( + Element->CachedX, Element->CachedY, + Element->CachedW, Element->CachedH, + BOX_BORDER + ); + Video_FillRect( + Element->CachedX+1, Element->CachedY+1, + Element->CachedW-2, Element->CachedH-2, + BOX_BGCOLOUR + ); + // Enumerate Items. + break; case ELETYPE_TOOLBAR: // Tool Bar Video_DrawRect( Element->CachedX, Element->CachedY,