Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b9c3f7eb
Commit
b9c3f7eb
authored
Oct 23, 2002
by
Juanma Barranquero
Browse files
Add definition of XColor.
parent
316ed821
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
src/macgui.h
src/macgui.h
+10
-0
src/w32gui.h
src/w32gui.h
+10
-0
No files found.
src/macgui.h
View file @
b9c3f7eb
...
@@ -37,6 +37,16 @@ typedef struct OpaqueWindowPtr* Window;
...
@@ -37,6 +37,16 @@ typedef struct OpaqueWindowPtr* Window;
typedef
WindowPtr
Window
;
typedef
WindowPtr
Window
;
#endif
#endif
/* A definition of XColor for non-X frames. */
#ifndef HAVE_X_WINDOWS
typedef
struct
{
unsigned
long
pixel
;
unsigned
short
red
,
green
,
blue
;
char
flags
;
char
pad
;
}
XColor
;
#endif
#define FACE_DEFAULT (~0)
#define FACE_DEFAULT (~0)
...
...
src/w32gui.h
View file @
b9c3f7eb
...
@@ -86,6 +86,16 @@ typedef struct _XImage
...
@@ -86,6 +86,16 @@ typedef struct _XImage
/* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */
/* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */
}
XImage
;
}
XImage
;
/* A definition of XColor for non-X frames. */
#ifndef HAVE_X_WINDOWS
typedef
struct
{
unsigned
long
pixel
;
unsigned
short
red
,
green
,
blue
;
char
flags
;
char
pad
;
}
XColor
;
#endif
#define FACE_DEFAULT (~0)
#define FACE_DEFAULT (~0)
extern
HINSTANCE
hinst
;
extern
HINSTANCE
hinst
;
...
...
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