summaryrefslogtreecommitdiff
path: root/common/project.h
diff options
context:
space:
mode:
authorleo2005-03-16 19:46:14 +0000
committerleo2005-03-16 19:46:14 +0000
commitc8951a1853dfd43aeb43394b9fa1682c3f0db743 (patch)
treeeb812de57f7c0073052549b3fc90d17a2e5f85c3 /common/project.h
parent25af63d7d7b85f99f5327d1b97a3ac24fbfd93f0 (diff)
Fixed units in the modify dialog;
Disabled all shortcut keys when the user is entering text. git-svn-id: http://svn.leocad.org/trunk@392 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/project.h')
-rw-r--r--common/project.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/project.h b/common/project.h
index 42529ae..3ef90b0 100644
--- a/common/project.h
+++ b/common/project.h
@@ -60,6 +60,8 @@ public:
{ return m_bAnimation; }
unsigned short GetCurrentTime ()
{ return m_bAnimation ? m_nCurFrame : m_nCurStep; }
+ unsigned long GetSnapFlags() const
+ { return m_nSnap; }
void SetCurrentPiece(PieceInfo* pInfo)
{ m_pCurPiece = pInfo; }
int GetCurrentColor () const