45 lines
1.7 KiB
C
45 lines
1.7 KiB
C
|
|
|||
|
/* NOTE: This stuff was taken from the OLE2UI library.
|
|||
|
* If it gets ported to NT, we can get rid of it from Media Player
|
|||
|
*/
|
|||
|
|
|||
|
/*************************************************************************
|
|||
|
** OLE OBJECT FEEDBACK EFFECTS
|
|||
|
*************************************************************************/
|
|||
|
|
|||
|
#define OLEUI_HANDLES_USEINVERSE 0x00000001L
|
|||
|
#define OLEUI_HANDLES_NOBORDER 0x00000002L
|
|||
|
#define OLEUI_HANDLES_INSIDE 0x00000004L
|
|||
|
#define OLEUI_HANDLES_OUTSIDE 0x00000008L
|
|||
|
|
|||
|
|
|||
|
#define OLEUI_SHADE_FULLRECT 1
|
|||
|
#define OLEUI_SHADE_BORDERIN 2
|
|||
|
#define OLEUI_SHADE_BORDEROUT 3
|
|||
|
|
|||
|
/* objfdbk.c function prototypes */
|
|||
|
STDAPI_(void) OleUIDrawHandles(LPRECT lpRect, HDC hdc, DWORD dwFlags, UINT cSize, BOOL fDraw);
|
|||
|
STDAPI_(void) OleUIDrawShading(LPRECT lpRect, HDC hdc, DWORD dwFlags, UINT cWidth);
|
|||
|
STDAPI_(void) OleUIShowObject(LPCRECT lprc, HDC hdc, BOOL fIsLink);
|
|||
|
|
|||
|
|
|||
|
/*************************************************************************
|
|||
|
** Hatch window definitions and prototypes **
|
|||
|
*************************************************************************/
|
|||
|
#define DEFAULT_HATCHBORDER_WIDTH 4
|
|||
|
|
|||
|
STDAPI_(BOOL) RegisterHatchWindowClass(HINSTANCE hInst);
|
|||
|
STDAPI_(HWND) CreateHatchWindow(HWND hWndParent, HINSTANCE hInst);
|
|||
|
STDAPI_(UINT) GetHatchWidth(HWND hWndHatch);
|
|||
|
STDAPI_(void) GetHatchRect(HWND hWndHatch, LPRECT lpHatchRect);
|
|||
|
STDAPI_(void) SetHatchRect(HWND hWndHatch, LPRECT lprcHatchRect);
|
|||
|
STDAPI_(void) SetHatchWindowSize(
|
|||
|
HWND hWndHatch,
|
|||
|
LPCRECT lprcIPObjRect,
|
|||
|
LPCRECT lprcClipRect,
|
|||
|
LPPOINT lpptOffset,
|
|||
|
BOOL handle
|
|||
|
);
|
|||
|
|
|||
|
|
|||
|
|