summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-06-15 19:43:46 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-06-15 19:43:46 -0700
commitd0d4581be22aba9021c5a672bd9e5ba719961e29 (patch)
tree274b1b5a7c0632f5f3c5c3c7975c0ad170b50725 /config
parent188415ebf07ff8a25ac663c37615269cd1a741a4 (diff)
Make #ifdef XPM only control whether XPM pixmap logo is shown
Make 3D look-and-feel independent of XPM
Diffstat (limited to 'config')
-rw-r--r--config/Xresources.cpp30
1 files changed, 3 insertions, 27 deletions
diff --git a/config/Xresources.cpp b/config/Xresources.cpp
index e904591..a98287b 100644
--- a/config/Xresources.cpp
+++ b/config/Xresources.cpp
@@ -22,15 +22,11 @@ xlogin*login.translations: #override BS
<Key>KP_Enter: set-session-argument() finish-field()NLBS
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()NLBS
<Key>Return: set-session-argument() finish-field()
-#ifndef XPM
-xlogin*greeting: CLIENTHOST
-xlogin*namePrompt: login:\040
-#else
+
xlogin*greeting: Welcome to CLIENTHOST
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
-#endif /* XPM */
xlogin*fail: Login incorrect
-#ifdef XPM
+
XHASHif WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
@@ -40,21 +36,8 @@ xlogin*greetFace: Serif-24:bold:italic
xlogin*face: Helvetica-18
xlogin*promptFace: Helvetica-18:bold
xlogin*failFace: Helvetica-18:bold
-XHASHelse
-xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
-xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
-xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
-xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
-xlogin*greetFace: Serif-18:bold:italic
-xlogin*face: Helvetica-12
-xlogin*promptFace: Helvetica-12:bold
-xlogin*failFace: Helvetica-14:bold
-XHASHendif
-#endif /* XPM */
+
XHASHifdef COLOR
-#ifndef XPM
-xlogin*greetColor: CadetBlue
-#else
xlogin*borderWidth: 1
xlogin*frameWidth: 5
xlogin*innerFramesWidth: 2
@@ -63,22 +46,15 @@ xlogin*hiColor: grey90
xlogin*background: grey
!xlogin*foreground: darkgreen
xlogin*greetColor: Blue3
-#endif /* XPM */
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
XHASHelse
-#ifdef XPM
xlogin*borderWidth: 3
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
-#else
-xlogin*borderWidth: 3
-xlogin*Foreground: black
-xlogin*Background: white
-#endif /* XPM */
XHASHendif
#ifdef XPM
XHASHif PLANES >= 8