-
Notifications
You must be signed in to change notification settings - Fork 2
/
ITSYBITS.H
53 lines (41 loc) · 1.64 KB
/
ITSYBITS.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/////////////////////////////////////////////////////////////////////////
//
// Project: ItsyBits Window Style
// Module: itsybits.h
//
// Include file for the ItsyBits support module (itsybits.c)
//
/////////////////////////////////////////////////////////////////////////
#ifndef _ITSYBITS_H_
#define _ITSYBITS_H_
#define IBS_HORZCAPTION 0x4000L
#define IBS_VERTCAPTION 0x8000L
BOOL WINAPI ibInit( HANDLE hInstance ) ; //obsolete!
UINT WINAPI ibGetCaptionSize( HWND hWnd ) ;
UINT WINAPI ibSetCaptionSize( HWND hWnd, UINT nSize ) ;
LRESULT WINAPI ibDefWindowProc( HWND hWnd, UINT uiMsg, WPARAM wParam, LPARAM lParam ) ;
VOID WINAPI ibAdjustWindowRect( HWND hWnd, LPRECT lprc ) ;
#endif
#ifndef _RGB_H_
#define _RGB_H_
// Some mildly useful macros for the standard 16 colors
#define RGBBLACK RGB(0,0,0)
#define RGBRED RGB(128,0,0)
#define RGBGREEN RGB(0,128,0)
#define RGBBLUE RGB(0,0,128)
#define RGBBROWN RGB(128,128,0)
#define RGBMAGENTA RGB(128,0,128)
#define RGBCYAN RGB(0,128,128)
#define RGBLTGRAY RGB(192,192,192)
#define RGBGRAY RGB(128,128,128)
#define RGBLTRED RGB(255,0,0)
#define RGBLTGREEN RGB(0,255,0)
#define RGBLTBLUE RGB(0,0,255)
#define RGBYELLOW RGB(255,255,0)
#define RGBLTMAGENTA RGB(255,0,255)
#define RGBLTCYAN RGB(0,255,255)
#define RGBWHITE RGB(255,255,255)
#endif
////////////////////////////////////////////////////////////////////////
// End of File: itsybits.h
////////////////////////////////////////////////////////////////////////