diff options
author | Alexander Gramiak <agrambot@gmail.com> | 2019-05-10 17:12:39 -0600 |
---|---|---|
committer | Alexander Gramiak <agrambot@gmail.com> | 2019-05-19 19:50:33 -0600 |
commit | b2b1ccb86df85705fe88360da27f237b1197575b (patch) | |
tree | 12a5fccf501e640fbafa92f15be39a5d63efbf18 /lisp/erc/erc-ring.el | |
parent | a4fe9c70af7a60117480d3361541550341da801a (diff) | |
download | emacs-b2b1ccb86df85705fe88360da27f237b1197575b.tar.gz emacs-b2b1ccb86df85705fe88360da27f237b1197575b.tar.bz2 emacs-b2b1ccb86df85705fe88360da27f237b1197575b.zip |
Introduce Emacs_Pix_Container and Emacs_Pix_Context typedefs
Emacs_Pix_Container is a pointer to a struct representing pixmap data
on the backend. Emacs_Pix_Context is the context for the
bitmap/pixmap on the backend. Only w32 currently makes this
distinction; they are otherwise the same type.
* src/dispextern.h: Remove XImagePtr in favor of
using XImage* directly. Rename XImagePtr_or_DC to Emacs_Pix_Context.
[HAVE_X_WINDOWS] Alias Emacs_Pix_Container and
Emacs_Pix_Context to XImage*.
[HAVE_NS] Alias Emacs_Pix_Container and Emacs_Pix_Context to trivial
Emacs_Pixmap definition.
[HAVE_NTGUI]: Alias Emacs_Pix_Container to XImage* and
Emacs_Pix_Context to HDC.
* src/dispextern.h:
* src/image.c: Use Emacs_Pix_Container over XImagePtr and
Emacs_Pix_Context over XImagePtr_or_DC.
Diffstat (limited to 'lisp/erc/erc-ring.el')
0 files changed, 0 insertions, 0 deletions