now works with 16bpp display
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@323 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
27bf409a88
commit
ccc06bca4b
2 changed files with 84 additions and 43 deletions
|
|
@ -14,16 +14,17 @@
|
|||
#include <X11/extensions/Xrender.h>
|
||||
|
||||
struct _MwLL {
|
||||
Display* display;
|
||||
Window window;
|
||||
Pixmap pixmap;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
void* user;
|
||||
Atom wm_delete;
|
||||
int copy_buffer;
|
||||
XIM xim;
|
||||
XIC xic;
|
||||
Display* display;
|
||||
Window window;
|
||||
Pixmap pixmap;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
void* user;
|
||||
Atom wm_delete;
|
||||
int copy_buffer;
|
||||
XIM xim;
|
||||
XIC xic;
|
||||
XVisualInfo* visual;
|
||||
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
|
|
@ -43,6 +44,8 @@ struct _MwLLPixmap {
|
|||
int height;
|
||||
unsigned char* data;
|
||||
|
||||
int depth;
|
||||
|
||||
int use_shm;
|
||||
int use_render;
|
||||
XShmSegmentInfo shm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue