AcTcUiPaletteView.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. //
  11. // Name: AcTcUiPaletteView.h
  12. //
  13. // Description: Header for CAcTcUiPaletteView class. This class
  14. // derives from CAcTcUiCatalogView. It is manages the tools.
  15. // The Palette View window is embedded in a tool palette
  16. // window CAdUiToolPalette which in turn is embedded in a
  17. // palette set window CAdUiToolPaletteSet.
  18. //
  19. //////////////////////////////////////////////////////////////////////////////
  20. #pragma once
  21. #include "AcTcUiCatalogView.h"
  22. #ifndef _ADESK_MAC_
  23. class ACTCUI_PORT CAcTcUiPaletteView : public CAcTcUiCatalogView
  24. {
  25. public:
  26. CAcTcUiPaletteView();
  27. virtual ~CAcTcUiPaletteView();
  28. protected:
  29. virtual DROPEFFECT DragEnter (ADUI_DRAGDATA* pDragData);
  30. virtual DROPEFFECT DragOver (ADUI_DRAGDATA* pDragData);
  31. virtual void DragLeave (ADUI_DRAGDATA* pDragData);
  32. virtual DROPEFFECT Drop (ADUI_DRAGDATA* pDragData);
  33. virtual DROPEFFECT DropEx (ADUI_DRAGDATA* pDragData);
  34. protected:
  35. //{{AFX_VIRTUAL(CAcTcUiPaletteView)
  36. //}}AFX_VIRTUAL
  37. protected:
  38. // Protected constructor
  39. CAcTcUiPaletteView(AcTcUiSystemInternals*);
  40. protected:
  41. //{{AFX_MSG(CAcTcUiPaletteView)
  42. afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  43. afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  44. afx_msg void OnInvokeCommand(UINT nID);
  45. afx_msg void OnPaletteRemove();
  46. afx_msg void OnCatalogItemSpecifyImage();
  47. afx_msg void OnCatalogItemRemoveImage();
  48. afx_msg void OnCatalogItemUpdateImage();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. #endif // Nodef _ADESK_MAC_