summaryrefslogtreecommitdiff
path: root/common/defines.h
diff options
context:
space:
mode:
authorleo2006-02-18 01:45:04 +0000
committerleo2006-02-18 01:45:04 +0000
commitd86d3bd7a9c80603937a5b401b0fd9601aaf1eb5 (patch)
tree91b0515ab45a4e077cc54e31799a97945c180ab0 /common/defines.h
parent238a0944a2e69ea191d8f0ad822d0728eb352c06 (diff)
Fixed a couple small snap glitches.
git-svn-id: http://svn.leocad.org/trunk@482 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/defines.h')
-rw-r--r--common/defines.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/common/defines.h b/common/defines.h
index 3db9215..c42b3a6 100644
--- a/common/defines.h
+++ b/common/defines.h
@@ -148,21 +148,23 @@ int stricmp(const char* str1, const char* str2);
#define LC_DET_BACKGROUND 0x08000 // Background rendering
//#define LC_DET_SCREENDOOR 0x10000 // No alpha blending
-#define LC_DRAW_AXIS 0x0001 // Orientation icon
-#define LC_DRAW_GRID 0x0002 // Grid
-#define LC_DRAW_SNAP_A 0x0004 // Snap Angle
-#define LC_DRAW_SNAP_X 0x0008 // Snap X
-#define LC_DRAW_SNAP_Y 0x0010 // Snap Y
-#define LC_DRAW_SNAP_Z 0x0020 // Snap Z
-//#define DRAW_COLLISION 0x0040
-#define LC_DRAW_MOVE 0x0080 // Switch to move after insert
-#define LC_DRAW_LOCK_X 0x0100 // Lock X
-#define LC_DRAW_LOCK_Y 0x0200 // Lock Y
-#define LC_DRAW_LOCK_Z 0x0400 // Lock Z
-#define LC_DRAW_MOVEAXIS 0x0800 // Move on fixed axis
-#define LC_DRAW_PREVIEW 0x1000 // Show piece position
-#define LC_DRAW_CM_UNITS 0x2000 // Use centimeters
-#define LC_DRAW_3DMOUSE 0x4000 // Mouse moves in all directions
+#define LC_DRAW_AXIS 0x0001 // Orientation icon
+#define LC_DRAW_GRID 0x0002 // Grid
+#define LC_DRAW_SNAP_A 0x0004 // Snap Angle
+#define LC_DRAW_SNAP_X 0x0008 // Snap X
+#define LC_DRAW_SNAP_Y 0x0010 // Snap Y
+#define LC_DRAW_SNAP_Z 0x0020 // Snap Z
+#define LC_DRAW_SNAP_XYZ (LC_DRAW_SNAP_X | LC_DRAW_SNAP_Y | LC_DRAW_SNAP_Z)
+//#define DRAW_COLLISION 0x0040
+#define LC_DRAW_MOVE 0x0080 // Switch to move after insert
+#define LC_DRAW_LOCK_X 0x0100 // Lock X
+#define LC_DRAW_LOCK_Y 0x0200 // Lock Y
+#define LC_DRAW_LOCK_Z 0x0400 // Lock Z
+#define LC_DRAW_LOCK_XYZ (LC_DRAW_LOCK_X | LC_DRAW_LOCK_Y | LC_DRAW_LOCK_Z)
+#define LC_DRAW_MOVEAXIS 0x0800 // Move on fixed axis
+#define LC_DRAW_PREVIEW 0x1000 // Show piece position
+#define LC_DRAW_CM_UNITS 0x2000 // Use centimeters
+#define LC_DRAW_3DMOUSE 0x4000 // Mouse moves in all directions
// #define RENDER_FAST 0x001
// #define RENDER_BACKGROUND 0x002