Leaked source code of windows server 2003
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.
 
 
 
 
 
 

54 lines
1.3 KiB

//
// cuishadw.h
// = UI object library - define UIShadow class =
//
#ifndef CUISHADW_H
#define CUISHADW_H
#include "cuiobj.h"
#include "cuiwnd.h"
//
// CUIFShadow
// = shadow window class =
//
class CUIFShadow : public CUIFWindow
{
public:
CUIFShadow( HINSTANCE hInst, DWORD dwStyle, CUIFWindow *pWndOwner );
virtual ~CUIFShadow( void );
//
// CUIFObject methods
//
virtual CUIFObject *Initialize( void );
virtual DWORD GetWndStyleEx( void );
virtual void OnCreate( HWND hWnd );
virtual void OnPaint( HDC hDC );
virtual void Show( BOOL fShow );
virtual LRESULT OnSettingChange( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
virtual LRESULT OnWindowPosChanging(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
//
//
//
void OnOwnerWndMoved( BOOL fResized );
void GetShift( SIZE *psize );
protected:
CUIFWindow *m_pWndOwner;
COLORREF m_color;
int m_iGradWidth;
int m_iAlpha;
SIZE m_sizeShift;
BOOL m_fGradient;
void InitSettings( void );
void AdjustWindowPos( void );
void InitShadow( void );
};
#endif /* CUISHADW_H */