Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
436eef46
Commit
436eef46
authored
Jan 18, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Splash.c: use uppercase color defines
parent
e44a93b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Splash.c
nx-X11/programs/Xserver/hw/nxagent/Splash.c
+10
-10
No files found.
nx-X11/programs/Xserver/hw/nxagent/Splash.c
View file @
436eef46
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment