1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

Make draw string plugin more extendable in future.

This commit is contained in:
id
2000-11-30 15:32:19 +00:00
parent 867ed95485
commit 1752587a4a
4 changed files with 7 additions and 9 deletions

View File

@@ -1085,10 +1085,10 @@ wFrameWindowPaint(WFrameWindow *fwin)
if (scr->drawstring_func[fwin->flags.state + fwin->drawstring_proc_offset]) {
scr->drawstring_func[fwin->flags.state + fwin->drawstring_proc_offset]->
proc.drawString(scr->drawstring_func[fwin->flags.state
+ fwin->drawstring_proc_offset]->arg,
fwin->titlebar->window, *fwin->title_gc,
*fwin->font, x, *fwin->title_clearance + TITLEBAR_EXTEND_SPACE,
fwin->titlebar->width, fwin->top_width, fwin->title, titlelen);
+ fwin->drawstring_proc_offset]->arg, fwin->titlebar->window,
x, *fwin->title_clearance + TITLEBAR_EXTEND_SPACE,
fwin->titlebar->width, fwin->top_width,
fwin->title, wPluginPackData(2, *fwin->title_gc, *fwin->font));
} else {
WMDrawString(scr->wmscreen, fwin->titlebar->window,
*fwin->title_gc, *fwin->font, x, *fwin->title_clearance + TITLEBAR_EXTEND_SPACE,