24 */
25
26 /* platform-dependent definitions */
27
28 #ifndef SPLASHSCREEN_CONFIG_H
29 #define SPLASHSCREEN_CONFIG_H
30
31 #ifndef WIN32_LEAN_AND_MEAN
32 #define WIN32_LEAN_AND_MEAN
33 #endif
34
35
36 #include <windows.h>
37 #include <io.h>
38 #include <fcntl.h>
39 #include <memory.h>
40 #include <string.h>
41 #include <malloc.h>
42 #include <stdio.h>
43 #include <stdlib.h>
44
45 typedef DWORD rgbquad_t;
46 typedef WORD word_t;
47 typedef BYTE byte_t;
48 typedef RECT RECT_T;
49
50 #define RECT_EQ_X(r1, r2) ((r1).left==(r2).left && (r1).right==(r2).right)
51 #define RECT_SET(r,xx,yy,ww,hh) (r).left=(xx);(r).top=(yy); \
52 (r).right=(xx)+(ww); (r).bottom=(yy)+(hh);
53 #define RECT_INC_HEIGHT(r) (r).bottom++;
54
55 #define INLINE __inline
56
57 #define SPLASHEXPORT __declspec(dllexport)
58
59
60 #endif
|
24 */
25
26 /* platform-dependent definitions */
27
28 #ifndef SPLASHSCREEN_CONFIG_H
29 #define SPLASHSCREEN_CONFIG_H
30
31 #ifndef WIN32_LEAN_AND_MEAN
32 #define WIN32_LEAN_AND_MEAN
33 #endif
34
35
36 #include <windows.h>
37 #include <io.h>
38 #include <fcntl.h>
39 #include <memory.h>
40 #include <string.h>
41 #include <malloc.h>
42 #include <stdio.h>
43 #include <stdlib.h>
44 #include "systemScale.h"
45
46 typedef DWORD rgbquad_t;
47 typedef WORD word_t;
48 typedef BYTE byte_t;
49 typedef RECT RECT_T;
50
51 #define RECT_EQ_X(r1, r2) ((r1).left==(r2).left && (r1).right==(r2).right)
52 #define RECT_SET(r,xx,yy,ww,hh) (r).left=(xx);(r).top=(yy); \
53 (r).right=(xx)+(ww); (r).bottom=(yy)+(hh);
54 #define RECT_INC_HEIGHT(r) (r).bottom++;
55
56 #define INLINE __inline
57
58 #define SPLASHEXPORT __declspec(dllexport)
59
60 #endif
|