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

fix tiny thing

This commit is contained in:
id
2000-12-17 04:26:53 +00:00
parent c11653f438
commit ecefdc6171
2 changed files with 5 additions and 0 deletions

View File

@@ -994,12 +994,15 @@ wFrameWindowPaint(WFrameWindow *fwin)
DefaultDepth(dpy, DefaultScreen(dpy))); DefaultDepth(dpy, DefaultScreen(dpy)));
XFillRectangle(dpy, tmp_bg, (*fwin->title_texture)->solid.normal_gc, XFillRectangle(dpy, tmp_bg, (*fwin->title_texture)->solid.normal_gc,
0, 0, fwin->titlebar->width, tb); 0, 0, fwin->titlebar->width, tb);
printf("bevel 1 %s\n", fwin->title);
wDrawBevel(tmp_bg, fwin->titlebar->width, wDrawBevel(tmp_bg, fwin->titlebar->width,
fwin->titlebar->height, fwin->titlebar->height,
(WTexSolid*)fwin->title_texture[fwin->flags.state], (WTexSolid*)fwin->title_texture[fwin->flags.state],
WREL_RAISED); WREL_RAISED);
XDrawLine(dpy, tmp_bg, fwin->resizebar_texture[0]->dim_gc, 0, 0, w, tb);
background = &tmp_bg; background = &tmp_bg;
} else { } else {
printf("bevel 2\n");
wDrawBevel(fwin->titlebar->window, fwin->titlebar->width, wDrawBevel(fwin->titlebar->window, fwin->titlebar->width,
fwin->titlebar->height, fwin->titlebar->height,
(WTexSolid*)fwin->title_texture[fwin->flags.state], (WTexSolid*)fwin->title_texture[fwin->flags.state],

View File

@@ -76,8 +76,10 @@ typedef struct _WFunction {
_DL_FreeDataProc *freeData; _DL_FreeDataProc *freeData;
union { union {
_DL_AnyProc **any; _DL_AnyProc **any;
#ifdef DRAWSTRING_PLUGIN
_DL_DrawStringProc **drawString; _DL_DrawStringProc **drawString;
_DL_WidthStringProc **widthOfString; _DL_WidthStringProc **widthOfString;
#endif
} proc; } proc;
/* /*
char *libraryName; char *libraryName;