Started some NanoX work (blind to begin with)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-02-15 11:14:42 +00:00
parent c41c20a566
commit 256d631aaf
8 changed files with 186 additions and 62 deletions

View File

@@ -3,3 +3,42 @@
*/
#include "XtoNX.h"
/* Data types */
typedef GR_PALETTE Colormap;
/* events*/
/* What should this be? */
#if 0
#ifndef ResizeRequest
#define ResizeRequest ??
#endif
#endif
#ifndef MotionNotify
#define MotionNotify GR_EVENT_TYPE_MOUSE_POSITION
#define PointerMotionMask GR_EVENT_MASK_MOUSE_POSITION
#endif
#ifndef FocusIn
#define FocusIn GR_EVENT_TYPE_FOCUS_IN
#define FocusOut GR_EVENT_TYPE_FOCUS_OUT
#define FocusChangeMask GR_EVENT_MASK_FOCUS_IN|GR_EVENT_MASK_FOCUS_OUT
#endif
/* Fuunctions */
#ifdef __cpluplus
extern "C" {
#endif
Colormap DefaultColormapOfScreen(Screen /* screen */);
#ifdef __cpluplus
}
#endif
#define XGetMaxRequestSize(display) 16384