Commit 436eef46 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Splash.c: use uppercase color defines

parent e44a93b0
...@@ -52,10 +52,10 @@ ...@@ -52,10 +52,10 @@
* Colors used to paint the splash screen. * Colors used to paint the splash screen.
*/ */
#define nxagentLogoWhite 0xffffff #define LOGOWHITE 0xffffff
#define nxagentLogoBlack 0x000000 #define LOGOBLACK 0x000000
#define nxagentLogoDarkGray 0x222222 #define LOGODARKGRAY 0x222222
#define nxagentLogoLightGray 0xbbbbbb #define LOGOLIGHTGRAY 0xbbbbbb
XlibPixmap nxagentPixmapLogo; XlibPixmap nxagentPixmapLogo;
XlibWindow nxagentSplashWindow = None; XlibWindow nxagentSplashWindow = None;
...@@ -200,13 +200,13 @@ void nxagentPaintLogo(XlibWindow win, XlibGC gc, int scale, int width, int heigh ...@@ -200,13 +200,13 @@ void nxagentPaintLogo(XlibWindow win, XlibGC gc, int scale, int width, int heigh
if (blackRoot) if (blackRoot)
{ {
XSetForeground(nxagentDisplay, gc, nxagentLogoBlack); XSetForeground(nxagentDisplay, gc, LOGOBLACK);
XSetBackground(nxagentDisplay, gc, nxagentLogoWhite); XSetBackground(nxagentDisplay, gc, LOGOWHITE);
} }
else else
{ {
XSetForeground(nxagentDisplay, gc, nxagentLogoWhite); XSetForeground(nxagentDisplay, gc, LOGOWHITE);
XSetBackground(nxagentDisplay, gc, nxagentLogoBlack); XSetBackground(nxagentDisplay, gc, LOGOBLACK);
} }
XPoint rect[4]; XPoint rect[4];
...@@ -223,9 +223,9 @@ void nxagentPaintLogo(XlibWindow win, XlibGC gc, int scale, int width, int heigh ...@@ -223,9 +223,9 @@ void nxagentPaintLogo(XlibWindow win, XlibGC gc, int scale, int width, int heigh
#endif #endif
if (blackRoot) if (blackRoot)
XSetForeground(nxagentDisplay, gc, nxagentLogoDarkGray); XSetForeground(nxagentDisplay, gc, LOGODARKGRAY);
else else
XSetForeground(nxagentDisplay, gc, nxagentLogoLightGray); XSetForeground(nxagentDisplay, gc, LOGOLIGHTGRAY);
#ifdef NXAGENT_LOGO_DEBUG #ifdef NXAGENT_LOGO_DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment