File indexing completed on 2024-05-05 16:39:02
0001 /* 0002 Including <Imlib.h> has a nasty side effect: 0003 It pulls in <Xos.h> which defines a couple of macros like "index", "rindex", "None" or 0004 "Enum" which clash with the typical naming of Qt variables and parameters. 0005 0006 So this wrapper file first pulls in <Imlib.h> and then removes all macros that would 0007 cause compile errors in this project. 0008 */ 0009 0010 #ifndef IMLIB_WRAPPER_H 0011 #define IMLIB_WRAPPER_H 0012 0013 #include <Imlib.h> 0014 0015 #undef index 0016 #undef rindex 0017 0018 #undef Bool 0019 #undef Color 0020 #undef CursorShape 0021 #undef Expose 0022 #undef FocusIn 0023 #undef FocusOut 0024 #undef FontChange 0025 #undef GrayScale 0026 #undef KeyPress 0027 #undef KeyRelease 0028 #undef None 0029 #undef Status 0030 #undef Unsorted 0031 0032 #endif