123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- //////////////////////////////////////////////////////////////////////////////
- //
- // Copyright 2015 Autodesk, Inc. All rights reserved.
- //
- // Use of this software is subject to the terms of the Autodesk license
- // agreement provided at the time of installation or download, or which
- // otherwise accompanies this software in either electronic or hard copy form.
- //
- //////////////////////////////////////////////////////////////////////////////
- //
- // DESCRIPTION:
- //
- // Declarations for various button classes
- //
- //////////////////////////////////////////////////////////////////////////////
- #ifndef _acuiButton_h
- #define _acuiButton_h
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- /////////////////////////////////////////////////////////////////////////////
- // Owner-draw Button
- class ACUI_PORT CAcUiOwnerDrawButton : public CAdUiOwnerDrawButton {
- DECLARE_DYNAMIC(CAcUiOwnerDrawButton)
- public:
- CAcUiOwnerDrawButton ();
- virtual ~CAcUiOwnerDrawButton ();
- // ClassWizard-controlled
- public:
- //{{AFX_VIRTUAL(CAcUiOwnerDrawButton)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CAcUiOwnerDrawButton)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- // Bitmap Button
- class ACUI_PORT CAcUiBitmapButton : public CAdUiBitmapButton {
- DECLARE_DYNAMIC(CAcUiBitmapButton)
- public:
- CAcUiBitmapButton ();
- virtual ~CAcUiBitmapButton ();
- // ClassWizard-controlled
- public:
- //{{AFX_VIRTUAL(CAcUiBitmapButton)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CAcUiBitmapButton)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- // Static-Style Bitmap Button
- class ACUI_PORT CAcUiBitmapStatic : public CAdUiBitmapStatic {
- DECLARE_DYNAMIC(CAcUiBitmapStatic)
- public:
- CAcUiBitmapStatic ();
- virtual ~CAcUiBitmapStatic ();
- // ClassWizard-controlled
- public:
- //{{AFX_VIRTUAL(CAcUiBitmapStatic)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CAcUiBitmapStatic)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- // Drag&Drop Site
- class ACUI_PORT CAcUiDropSite : public CAdUiDropSite {
- DECLARE_DYNAMIC(CAcUiDropSite)
- public:
- CAcUiDropSite ();
- virtual ~CAcUiDropSite ();
- // ClassWizard-controlled
- public:
- //{{AFX_VIRTUAL(CAcUiDropSite)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CAcUiDropSite)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- // "Pick-a-point" Button
- class ACUI_PORT CAcUiPickButton : public CAdUiBitmapButton {
- DECLARE_DYNAMIC(CAcUiPickButton)
- public:
- CAcUiPickButton ();
- virtual ~CAcUiPickButton ();
- // ClassWizard-controlled
- public:
- //{{AFX_VIRTUAL(CAcUiPickButton)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CAcUiPickButton)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- // "Make-A-Selection" Button
- class ACUI_PORT CAcUiSelectButton : public CAcUiPickButton {
- DECLARE_DYNAMIC(CAcUiSelectButton)
- public:
- CAcUiSelectButton ();
- virtual ~CAcUiSelectButton ();
- // ClassWizard-controlled
- public:
- //{{AFX_VIRTUAL(CAcUiSelectButton)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CAcUiSelectButton)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /// <summary>
- /// This class is used to create a bitmap button that uses quick select icon as default icon.
- /// </summary>
- class ACUI_PORT CAcUiQuickSelectButton : public CAdUiBitmapButton {
- DECLARE_DYNAMIC(CAcUiQuickSelectButton)
- public:
- CAcUiQuickSelectButton ();
- virtual ~CAcUiQuickSelectButton ();
- // ClassWizard-controlled
- public:
- //{{AFX_VIRTUAL(CAcUiQuickSelectButton)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CAcUiQuickSelectButton)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- // Tool-Style Button
- class ACUI_PORT CAcUiToolButton : public CAdUiToolButton {
- DECLARE_DYNAMIC(CAcUiToolButton)
- public:
- CAcUiToolButton ();
- virtual ~CAcUiToolButton ();
- // ClassWizard-controlled
- public:
- //{{AFX_VIRTUAL(CAcUiToolButton)
- //}}AFX_VIRTUAL
- protected:
- //{{AFX_MSG(CAcUiToolButton)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif
- //////////////////////////////////////////////////////////////////////////////
|