summaryrefslogtreecommitdiff
path: root/win/Stdafx.h
diff options
context:
space:
mode:
authordocwhat1999-11-14 06:43:18 +0000
committerdocwhat1999-11-14 06:43:18 +0000
commitd71eec8062e852e56f03102ba4b4e87dc485821d (patch)
tree452368ad0e7e24627e517a0c88c2508d02cea6dc /win/Stdafx.h
parent2046090b7ce8dd901ce43e650be5acf44016d714 (diff)
Initial revision
git-svn-id: http://svn.leocad.org/trunk@2 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Stdafx.h')
-rw-r--r--win/Stdafx.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/win/Stdafx.h b/win/Stdafx.h
new file mode 100644
index 0000000..3053a07
--- /dev/null
+++ b/win/Stdafx.h
@@ -0,0 +1,61 @@
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#if !defined(AFX_STDAFX_H__195E1F4C_3FF2_11D2_8202_D2B1707B2D1B__INCLUDED_)
+#define AFX_STDAFX_H__195E1F4C_3FF2_11D2_8202_D2B1707B2D1B__INCLUDED_
+
+#if _MSC_VER >= 1000
+#pragma once
+#endif // _MSC_VER >= 1000
+
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+
+#include <windowsx.h> // GlobalFreePtr()
+
+#include <afxwin.h> // MFC core and standard components
+#include <afxext.h> // MFC extensions
+
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> // MFC support for Windows Common Controls
+#endif // _AFX_NO_AFXCMN_SUPPORT
+
+//#include <afxadv.h> // CSharedFile
+
+#include <gl\gl.h>
+#include <gl\glu.h>
+
+#define IDT_LC_SAVETIMER (WM_USER+200)
+#define IDT_LC_WHEELTIMER (WM_USER+201)
+
+#define WM_LC_UPDATE_LIST (WM_USER+210)
+#define WM_LC_SPLITTER_MOVED (WM_USER+211)
+#define WM_LC_POPUP_CLOSE (WM_USER+212)
+#define WM_LC_UPDATE_STEP_RANGE (WM_USER+213)
+#define WM_LC_SET_STEP (WM_USER+214)
+// #define WM_LC_FRAMECLOSED (WM_USER+215)
+#define WM_LC_WHEEL_PAN (WM_USER+216)
+#define WM_LC_ADD_COMBO_STRING (WM_USER+217)
+#define WM_LC_UPDATE_INFO (WM_USER+218) // wParam = object, lParam = type
+#define WM_LC_UPDATE_SETTINGS (WM_USER+219) // Preferences changed
+#define WM_LC_EDIT_CLOSED (WM_USER+220) // Terrain grid was edited
+#define WM_LC_SET_CURSOR (WM_USER+221) // New action, must change the view cursor
+
+#define PRINT_NUMBERS 0x001
+// #define PRINT_BRIGHT 0x002
+// #define PRINT_QUALITY 0x004
+#define PRINT_BORDER 0x008
+
+// Piecebar settings
+#define PIECEBAR_PREVIEW 0x01 // Show piece preview
+#define PIECEBAR_SUBPARTS 0x02 // Show subparts
+#define PIECEBAR_GROUP 0x04 // Group pieces
+#define PIECEBAR_ZOOMPREVIEW 0x08 // Zoom piece preview
+#define PIECEBAR_COMBO 0x10 // Show combobox
+#define PIECEBAR_PARTNUMBERS 0x20 // Show part numbers
+
+//{{AFX_INSERT_LOCATION}}
+// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
+
+#endif // !defined(AFX_STDAFX_H__195E1F4C_3FF2_11D2_8202_D2B1707B2D1B__INCLUDED_)