1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-25 07:32:36 +01:00

- Improved Info panel display.

- Fixed missing library paths when linking some binaries on certain
  platforms with a recent pkg-config
This commit is contained in:
dan
2006-04-25 18:59:24 +00:00
parent d873d09fa5
commit 42191340fd
3 changed files with 14 additions and 10 deletions

View File

@@ -862,8 +862,8 @@ typedef struct {
#define COPYRIGHT_TEXT \
"Copyright \xc2\xa9 1997-2005 Alfredo K. Kojima\n"\
"Copyright \xc2\xa9 1998-2005 Dan Pascu"
"Copyright \xc2\xa9 1997-2006 Alfredo K. Kojima\n"\
"Copyright \xc2\xa9 1998-2006 Dan Pascu"
@@ -1221,7 +1221,7 @@ wShowInfoPanel(WScreen *scr)
Window parent;
WWindow *wwin;
char **strl;
int i, width=50, sepWidth;
int i, width=50, sepHeight;
char *visuals[] = {
"StaticGray",
"GrayScale",
@@ -1266,13 +1266,13 @@ wShowInfoPanel(WScreen *scr)
WMReleasePixmap(logo);
}
sepWidth = 3;
sepHeight = 3;
panel->name1L = WMCreateLabel(panel->win);
WMResizeWidget(panel->name1L, 240, 30 - sepWidth);
WMMoveWidget(panel->name1L, 100, 30);
WMResizeWidget(panel->name1L, 240, 30 + 2);
WMMoveWidget(panel->name1L, 100, 30 - 2 - sepHeight);
name = "Lucida Sans,Comic Sans MS,URW Gothic L,Trebuchet MS"
":bold:pixelsize=26:antialias=true";
":italic:pixelsize=28:antialias=true";
font = WMCreateFont(scr->wmscreen, name);
strbuf = "Window Maker";
if (font) {
@@ -1284,8 +1284,8 @@ wShowInfoPanel(WScreen *scr)
WMSetLabelText(panel->name1L, strbuf);
panel->lineF = WMCreateFrame(panel->win);
WMResizeWidget(panel->lineF, width, sepWidth);
WMMoveWidget(panel->lineF, 100+(240-width)/2, 60 - sepWidth);
WMResizeWidget(panel->lineF, width, sepHeight);
WMMoveWidget(panel->lineF, 100+(240-width)/2, 60 - sepHeight);
WMSetFrameRelief(panel->lineF, WRSimple);
WMSetWidgetBackgroundColor(panel->lineF, scr->black);