view lcdemu/globals.c @ 906:69623c4cbf6c

lcdemu: image conversion implemented for X11 depth 24
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 07 Sep 2015 10:18:39 +0000
parents 312778104f54
children
line wrap: on
line source

/*
 * LCDemu based on HECterm by the same author
 * Definitions of global variables
 */

#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>

char *progbasename, *proginstancename;
char *mydisplayname;
Display *mydisplay;
Window mainwindow;
GC mainwingc;
int display_depth;

XrmDatabase xrmdb_defaults, xrmdb_displayres, xrmdb_cmdline;
XrmQuark xrmquark_topclass, xrmquark_topinstance;

XImage *(*convert_function)();