summaryrefslogtreecommitdiff
path: root/src/w32gui.h
diff options
context:
space:
mode:
authorAlexander Gramiak <agrambot@gmail.com>2019-05-09 13:07:35 -0600
committerAlexander Gramiak <agrambot@gmail.com>2019-05-19 19:50:32 -0600
commitc0e146e4ec266edf348473c3db7ca8d16745f4f7 (patch)
tree3f2070ccbf941ba14f43836f7cfa1b4c78979043 /src/w32gui.h
parent05b79539f4d22bfe5160777aa5a963aeb74b000c (diff)
Introduce Emacs_Color struct and typedef
This avoids clashing with the XColor struct from X. * src/dispextern [HAVE_X_WINDOWS]: Define Emacs_Color alias. [!HAVE_X_WINDOWS]: Rename XColor compatibility struct to Emacs_Color. Remove unused fields. * src/gtkutil.c: * src/gtkutil.h: * src/image.c: * src/nsterm.h: * src/nsterm.m: * src/termhooks.h: * src/w32fns.c: * src/w32term.c: * src/w32term.h: * src/xfaces.c: * src/xfns.c: * src/xterm.h: Use Emacs_Color over XColor outside of X-specific sections.
Diffstat (limited to 'src/w32gui.h')
-rw-r--r--src/w32gui.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/w32gui.h b/src/w32gui.h
index 5dcbbd95166..b2ad28366c3 100644
--- a/src/w32gui.h
+++ b/src/w32gui.h
@@ -43,7 +43,6 @@ typedef HBITMAP Pixmap;
typedef HBITMAP Bitmap;
typedef XGCValues * GC;
-typedef COLORREF Color;
typedef HWND Window;
typedef HDC Display; /* HDC so it doesn't conflict with xpm lib. */
typedef HCURSOR Cursor;