aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-18 14:42:21 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 12:55:04 +0200
commit436eef46a28c8ad6100004bce2ac13d7e7437e04 (patch)
tree8f648067ca68cc15134d902f27cd3e76842fe7db
parente44a93b0b99f25074d2a82f84b1530008feb5b73 (diff)
downloadnx-libs-436eef46a28c8ad6100004bce2ac13d7e7437e04.tar.gz
nx-libs-436eef46a28c8ad6100004bce2ac13d7e7437e04.tar.bz2
nx-libs-436eef46a28c8ad6100004bce2ac13d7e7437e04.zip
Splash.c: use uppercase color defines
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Splash.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Splash.c b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
index 645e421a3..7e19d5c11 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
@@ -52,10 +52,10 @@
* Colors used to paint the splash screen.
*/
-#define nxagentLogoWhite 0xffffff
-#define nxagentLogoBlack 0x000000
-#define nxagentLogoDarkGray 0x222222
-#define nxagentLogoLightGray 0xbbbbbb
+#define LOGOWHITE 0xffffff
+#define LOGOBLACK 0x000000
+#define LOGODARKGRAY 0x222222
+#define LOGOLIGHTGRAY 0xbbbbbb
XlibPixmap nxagentPixmapLogo;
XlibWindow nxagentSplashWindow = None;
@@ -200,13 +200,13 @@ void nxagentPaintLogo(XlibWindow win, XlibGC gc, int scale, int width, int heigh
if (blackRoot)
{
- XSetForeground(nxagentDisplay, gc, nxagentLogoBlack);
- XSetBackground(nxagentDisplay, gc, nxagentLogoWhite);
+ XSetForeground(nxagentDisplay, gc, LOGOBLACK);
+ XSetBackground(nxagentDisplay, gc, LOGOWHITE);
}
else
{
- XSetForeground(nxagentDisplay, gc, nxagentLogoWhite);
- XSetBackground(nxagentDisplay, gc, nxagentLogoBlack);
+ XSetForeground(nxagentDisplay, gc, LOGOWHITE);
+ XSetBackground(nxagentDisplay, gc, LOGOBLACK);
}
XPoint rect[4];
@@ -223,9 +223,9 @@ void nxagentPaintLogo(XlibWindow win, XlibGC gc, int scale, int width, int heigh
#endif
if (blackRoot)
- XSetForeground(nxagentDisplay, gc, nxagentLogoDarkGray);
+ XSetForeground(nxagentDisplay, gc, LOGODARKGRAY);
else
- XSetForeground(nxagentDisplay, gc, nxagentLogoLightGray);
+ XSetForeground(nxagentDisplay, gc, LOGOLIGHTGRAY);
#ifdef NXAGENT_LOGO_DEBUG