1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-01 11:32:34 +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

@@ -30,6 +30,10 @@ Changes since version 0.92.0:
applications cannot interoperate with GNUstep applications (which uses
xdnd version 2). Xdnd version 4 and 5 are backwards compatible with
version 3 though. (Sylvain Reynal <sreynal@nerim.net>)
- Improved Info panel display.
- Fixed missing library paths when linking some binaries on certain
platforms with a recent pkg-config
Changes since version 0.91.0:
.............................

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);

View File

@@ -55,7 +55,7 @@ wmsetup_LDADD = \
wmsetbg_LDADD = \
$(top_builddir)/WINGs/libWINGs.a \
$(top_builddir)/wrlib/libwraster.la \
@XLIBS@ @XFTLIBS@ @INTLIBS@ @DLLIBS@
@XLFLAGS@ @XLIBS@ @XFTLIBS@ @INTLIBS@ @DLLIBS@
CLEANFILES = wmaker.inst