mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
916 B
20 lines
916 B
#ifndef BUILD_FRAME_H
|
|
#define BUILD_FRAME_H
|
|
|
|
#define VIEW_MODE_NORMAL 0
|
|
#define VIEW_MODE_RESTORE 1
|
|
#define VIEW_MODE_SMALL 2
|
|
#define VIEW_MODE_NOBAR 3
|
|
|
|
HANDLE BuildFrameBitmap(HDC hDC, //dc to be compatible with
|
|
LPRECT pMainRect, //overall window size
|
|
LPRECT pViewRect, //rect of black viewport window,
|
|
//where gradient should begin,
|
|
//with 0,0 as top left of main
|
|
int nViewMode, //if in normal, restore, small
|
|
LPPOINT pSysMenuPt, //point where sys menu icon is placed
|
|
LPRECT pSepRects, //array of rects for separator bars
|
|
int nNumSeps, //number of separtors in array
|
|
BITMAP* pBM); //bitmap info
|
|
|
|
#endif //BUILD_FRAME_H
|