SkinDrawHelper.h 813 B

123456789101112131415161718192021222324252627
  1. /***********************************************
  2. * 工作室 : 软景工作室
  3. * 作者 : 肖尚德
  4. * 用途 :
  5. *************************************************/
  6. #ifndef _SKINDRAWHELPER_H
  7. #define _SKINDRAWHELPER_H
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif
  11. class SKINSTDLL CSkinDrawHelper
  12. {
  13. public:
  14. CSkinDrawHelper(void);
  15. ~CSkinDrawHelper(void);
  16. bool DrawImageRect(CDC *pDC,CRect rtDest,SkinImageRect & imageRect);
  17. bool DrawImageSection(CDC *pDC,CRect rtDest,SkinImageSection &imageSection);
  18. // bool DrawFrameSkin(CDC *pDC,CRect rtDest,WindowSkin &windowSkin,bool bActive);
  19. // bool DrawButton(CDC *pDC,CRect rtDest,ButtonSkin &buttonSkin,ButtonState buttonState);
  20. // bool DrawButton(CDC *pDC,CRect rtDest,WinButtonSkin &buttonSkin,WinButtonState buttonState);
  21. };
  22. SKINSTDLL CSkinDrawHelper* GetSkinDrawHelper();
  23. #endif