if( Window->Flags & WINFLAG_MAXIMIZED )
return ;
- _SysDebug("BorderL = %i", ciSideBorderWidth);
-
Window->BorderB = ciBottomBorderWidth;
Window->BorderR = ciSideBorderWidth;
Window->BorderL = ciSideBorderWidth;
void Decorator_Redraw(tWindow *Window)
{
- int bActive;
+ int bActive = 0;
int text_width, text_height;
// TODO: This could possibly be expensive, but is there a better way?
WM_Render_GetTextDims(
NULL, // TODO: Select font
- Window->Title ? Window->Title : "jI",
+ Window->Title ? Window->Title : "jI", -1,
&text_width, &text_height
);
WM_Render_DrawText(Window,
Window->W - ciTitlebarHeight - 4, text_height,
NULL, // TODO: Select font
(bActive ? cColourActive_TitleText : cColourInactive_TitleText),
- Window->Title ? Window->Title : "--"
+ Window->Title ? Window->Title : "--", -1
);
// Maximized windows don't have any other borders