aboutsummaryrefslogtreecommitdiffstats
path: root/src/pgtkgui.h
diff options
context:
space:
mode:
authorYuuki Harano2019-06-25 21:36:39 +0900
committerJeff Walsh2020-11-22 14:46:55 +1100
commit330a346ca734d39c0233ef899e044d05e0e1ebe9 (patch)
treefb58fa9d6fdae8657a25ede315efeebffdd9eea2 /src/pgtkgui.h
parentf4920a68831f769f0a1504c85145589bdb4c3eb9 (diff)
downloademacs-330a346ca734d39c0233ef899e044d05e0e1ebe9.tar.gz
emacs-330a346ca734d39c0233ef899e044d05e0e1ebe9.zip
Migrate to Emacs_GC
* ../src/xfaces.c (x_create_gc, x_free_gc): * ../src/pgtkterm.h (struct pgtk_output, struct pgtk_output): * ../src/pgtkterm.c (x_set_cursor_gc, x_set_mouse_face_gc) (x_setup_relief_color, x_draw_image_foreground_1) (x_draw_image_foreground) (pgtk_cr_draw_image, pgtk_draw_fringe_bitmap) (pgtk_begin_cr_clip, pgtk_set_cr_source_with_gc_foreground) (pgtk_set_cr_source_with_gc_background): * ../src/pgtkgui.h: * ../src/dispextern.h (struct glyph_string): clean up XGCValues emulation XGCValues, GC 廃止。 Emacs_GC に統一。
Diffstat (limited to 'src/pgtkgui.h')
-rw-r--r--src/pgtkgui.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/pgtkgui.h b/src/pgtkgui.h
index 27e94b213d7..e7e614ea1fd 100644
--- a/src/pgtkgui.h
+++ b/src/pgtkgui.h
@@ -43,26 +43,7 @@ typedef unichar XChar2b;
43 (*(chp) & 0x00ff) 43 (*(chp) & 0x00ff)
44 44
45 45
46/* XXX: xfaces requires these structures, but the question is are we 46typedef void *Emacs_Cursor;
47 forced to use them? */
48typedef struct _XGCValues
49{
50 unsigned long foreground;
51 unsigned long background;
52 void *font;
53} XGCValues;
54
55typedef XGCValues * GC;
56
57#define GCForeground 0x01
58#define GCBackground 0x02
59#define GCFont 0x03
60
61typedef void *Pixmap;
62
63typedef void *Cursor;
64
65#define No_Cursor (0)
66 47
67typedef void * Color; 48typedef void * Color;
68typedef int Window; 49typedef int Window;