summaryrefslogtreecommitdiff
path: root/win/Transbar.h
diff options
context:
space:
mode:
authorleo2005-12-27 22:18:14 +0000
committerleo2005-12-27 22:18:14 +0000
commit49055c86feda30d3d7e4f6d5c8738c2aef5b68d9 (patch)
tree1e2d8e3b4390ab58408b31cfb9f019ed583681bd /win/Transbar.h
parentfcd555cd2f169b2ebf04f09c3977094d06aa7cb0 (diff)
Removed code for the old pieces list.
git-svn-id: http://svn.leocad.org/trunk@449 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Transbar.h')
-rw-r--r--win/Transbar.h76
1 files changed, 0 insertions, 76 deletions
diff --git a/win/Transbar.h b/win/Transbar.h
deleted file mode 100644
index 1e37532..0000000
--- a/win/Transbar.h
+++ /dev/null
@@ -1,76 +0,0 @@
-// TransToolBar.h : header file
-//
-
-#ifndef _TRANSBAR_H_
-#define _TRANSBAR_H_
-
-#define MAX_BUTTONS 32
-// difference between width of button(48) and width of buttonimage(30)
-#define LARGEBUTTON_DX 18
-
-
-typedef struct _BUTTONDATA {
- int iBitmap;
- int idCommand;
- BYTE fsState;
- BYTE fsStyle; // TBSTYLE_DROPDOWN, TBSTYLE_BUTTON
- LPTSTR lpszButtonText; // string to display in button
- LPTSTR lpszTooltip;
-} BUTTONDATA, FAR* LPBUTTONDATA;
-
-typedef struct _TOOLBARDATA {
- DWORD dwStyle; // TBSTYLE_FLAT, TBSTYLE_LIST
- int idControl; // control id
- int idbDefault; // bitmapresource
- int idbHot; // bitmapresource when the mouse moves over the button
- int iButtons; // number of buttens in the toolbar
- int iButtonCX; // width of the buttons
- int iButtonCY; // heigth of the buttons
- HIMAGELIST himl;
- BUTTONDATA ButtonData[MAX_BUTTONS]; // structures describing the buttons
-} TOOLBARDATA, FAR* LPTOOLBARDATA;
-
-/////////////////////////////////////////////////////////////////////////////
-// CTransToolBar window
-
-class CTransToolBar : public CToolBar
-{
-// Construction
-public:
- void SetButtonStyle(int nIndex, UINT nStyle);
- void _GetButton(int nIndex, TBBUTTON* pButton) const;
- void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
- void _SetButton(int nIndex, TBBUTTON* pButton);
- BOOL Create(HWND hwndOwner);
- TOOLBARDATA m_ToolbarData;
- CTransToolBar();
-
-// Attributes
-public:
-
-// Operations
-public:
-
-// Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTransToolBar)
- //}}AFX_VIRTUAL
-
-// Implementation
-public:
- virtual ~CTransToolBar();
-
- // Generated message map functions
-protected:
- //{{AFX_MSG(CTransToolBar)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
- void OnUpdatePieceGroup(CCmdUI* pCmdUI);
-
- friend class CToolBar;
-};
-
-#endif // _TRANSBAR_H_
-
-/////////////////////////////////////////////////////////////////////////////