summaryrefslogtreecommitdiff
path: root/win/Libdlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/Libdlg.h')
-rw-r--r--win/Libdlg.h40
1 files changed, 3 insertions, 37 deletions
diff --git a/win/Libdlg.h b/win/Libdlg.h
index 798e6b6..2aefa5d 100644
--- a/win/Libdlg.h
+++ b/win/Libdlg.h
@@ -1,27 +1,8 @@
-#if !defined(AFX_LIBDLG_H__BABBE241_AF9C_11D2_8203_DC3ED7F79C17__INCLUDED_)
-#define AFX_LIBDLG_H__BABBE241_AF9C_11D2_8203_DC3ED7F79C17__INCLUDED_
-
-#if _MSC_VER >= 1000
-#pragma once
-#endif // _MSC_VER >= 1000
-// LibDlg.h : header file
-//
-
-#include "libman.h"
+#ifndef _LIBDLG_H_
+#define _LIBDLG_H_
class PieceInfo;
-typedef struct {
- PieceInfo* info;
- unsigned long group;
- unsigned long defgroup;
-} PARTGROUPINFO;
-
-#include <afxtempl.h> // CArray;
-
-/////////////////////////////////////////////////////////////////////////////
-// CLibraryDlg dialog
-
class CLibraryDlg : public CDialog
{
// Construction
@@ -52,29 +33,14 @@ public:
void UpdateTree();
void UpdateList();
-// BYTE m_nMaxGroups;
- int m_nBitmaps[32];
- CImageList m_ImageList;
-
CToolBar m_wndToolBar;
CImageList m_TreeImages;
- CImageList* m_pDragImage;
- BOOL m_bDragging;
- int m_nDragIndex;
- HTREEITEM m_hDropItem;
-
-protected:
- LibraryManager m_Manager;
-
protected:
// Generated message map functions
//{{AFX_MSG(CLibraryDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSelChangedTree(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBeginDragList(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
virtual void OnCancel();
virtual void OnOK();
//}}AFX_MSG
@@ -87,4 +53,4 @@ protected:
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-#endif // !defined(AFX_LIBDLG_H__BABBE241_AF9C_11D2_8203_DC3ED7F79C17__INCLUDED_)
+#endif // _LIBDLG_H_