1 #ifndef WINDOZE_HELPER_GROUP
2 #define WINDOZE_HELPER_GROUP
28 #ifdef __GNU_WINDOWS__
29 #include <sys/unistd.h>
34 #include <Intrinsic.h>
35 #include <StringDefs.h>
83 #if defined(__alpha) || (defined(__HOS_AIX__) && defined(_LP64)) \
84 || defined(__sparcv9) || defined(__LP64__)
85 #define LONGINT_SIZE 8
87 #define LONGINT_SIZE 4
90 #if (LONGINT_SIZE == 4)
94 typedef unsigned int DWORD;
105 #define LoadBitmap(a, b) (a)
115 typedef Colormap window_colormap;
118 typedef XColor window_color;
121 typedef XmString window_string;
125 const int MAXIMUM_COLOR_INTENSITY = 65535;
170 #define DEFINE_INSTANCE_HANDLE application_instance application::_i_handle = 0
174 #define SET_INSTANCE_HANDLE(value) application::_i_handle = value
177 #define GET_INSTANCE_HANDLE() application::_i_handle
195 #define RGB(r, g, b) (b + (g << 8) + (r << 16))
217 #define BROADCAST_HANDLE HWND_BROADCAST
219 enum known_operating_systems {
220 WIN_95, WIN_NT, WIN_2K, WIN_XP, WIN_SRV2K3, WIN_VISTA,
222 WIN_7, WIN_8, WIN_10,
225 const char *opsystem_name(known_operating_systems which);
228 known_operating_systems determine_OS();
Constants and objects used throughout HOOPLE.
Implements an application lock to ensure only one is running at once.
application_instance _i_handle
< returns the name of the module for the "module_handle" where supported.
void * application_instance