diff options
-rw-r--r-- | app/xdm/app-defaults/Chooser.ad | 56 | ||||
-rw-r--r-- | app/xdm/config/Xresources.cpp | 14 |
2 files changed, 59 insertions, 11 deletions
diff --git a/app/xdm/app-defaults/Chooser.ad b/app/xdm/app-defaults/Chooser.ad index e7a61263a..4fca54dba 100644 --- a/app/xdm/app-defaults/Chooser.ad +++ b/app/xdm/app-defaults/Chooser.ad @@ -1,6 +1,36 @@ -! $XFree86$ +! XDM chooser application defaults ! -*ShapeStyle: Oval + +! 3D frames +*box*displayList:\ + line-width 4;\ + join-style bevel;\ + foreground #82a2e6;\ + lines 0,0,-0,0,-0,-0;\ + line-width 2;\ + foreground #325296;\ + lines 0,0,0,-0,-0,-0; + +*list*displayList:\ + line-width 4;\ + join-style bevel;\ + foreground #82a2e6;\ + lines 0,0,-0,0,-0,-0;\ + line-width 2;\ + foreground #325296;\ + lines 0,0,0,-0,-0,-0; + +*label*displayList:\ + line-width 4;\ + join-style bevel;\ + foreground #82a2e6;\ + lines 0,0,-0,0,-0,-0;\ + line-width 2;\ + foreground #325296;\ + lines 0,0,0,-0,-0,-0; + +*background: #5272b6 + *cursor: left_ptr *allowShellResize: true *label.label: XDMCP Host Menu @@ -44,8 +74,24 @@ *accept.right: ChainRight *cancel.translations: #override \ - <BtnUp>: Cancel() unset() + <Map>: get-values(1, $fg, foreground, $bg, background)\n\ + <Enter>: set-values(1, foreground, $bg, background, white)\n\ + <Leave>: set-values(1, foreground, $fg, background, $bg)\n\ + <BtnDown>: set-values(1, foreground, black, background, #325296)\n\ + <BtnUp>: set-values(1, foreground, $fg, background, $bg) \ + Cancel() unset() *accept.translations: #override \ - <BtnUp>: Accept() unset() + <Map>: get-values(1, $fg, foreground, $bg, background)\n\ + <Enter>: set-values(1, foreground, $bg, background, white)\n\ + <Leave>: set-values(1, foreground, $fg, background, $bg)\n\ + <BtnDown>: set-values(1, foreground, black, background, #325296)\n\ + <BtnUp>: set-values(1, foreground, $fg, background, $bg) \ + Accept() unset() *ping.translations: #override \ - <BtnUp>: Ping() unset() + <Map>: get-values(1, $fg, foreground, $bg, background)\n\ + <Enter>: set-values(1, foreground, $bg, background, white)\n\ + <Leave>: set-values(1, foreground, $fg, background, $bg)\n\ + <BtnDown>: set-values(1, foreground, black, background, #325296)\n\ + <BtnUp>: set-values(1, foreground, $fg, background, $bg) \ + Ping() unset() + diff --git a/app/xdm/config/Xresources.cpp b/app/xdm/config/Xresources.cpp index 7d12d6477..09c691a5f 100644 --- a/app/xdm/config/Xresources.cpp +++ b/app/xdm/config/Xresources.cpp @@ -1,5 +1,5 @@ ! $Xorg: Xresources,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ -! $OpenBSD: Xresources.cpp,v 1.6 2008/01/05 17:23:14 matthieu Exp $ +! $OpenBSD: Xresources.cpp,v 1.7 2009/02/02 21:01:57 matthieu Exp $ ! ! ! @@ -142,10 +142,12 @@ XConsole.verbose: true XConsole*iconic: true XConsole*font: fixed -Chooser*geometry: 700x500+300+200 +Chooser*geometry: 640x480 Chooser*allowShellResize: false Chooser*viewport.forceBars: true -Chooser*label.font: *-new century schoolbook-bold-i-normal-*-240-* -Chooser*label.label: XDMCP Host Menu from CLIENTHOST -Chooser*list.font: -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1 -Chooser*Command.font: *-new century schoolbook-bold-r-normal-*-180-* + +Chooser*label.font: -adobe-helvetica-bold-o-normal--24-*-p-*-iso8859-1 +Chooser*label.label: XDMCP Host Menu from CLIENTHOST +Chooser*label.foreground: black +Chooser*list.font: lucidasanstypewriter-12 +Chooser*Command.font: -adobe-helvetica-medium-r-normal--18-*-p-*-iso8859-1 |