Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
d0fc362e
Commit
d0fc362e
authored
Aug 30, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warning.
parent
01d4080e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
wx_view_controls.cpp
common/view/wx_view_controls.cpp
+1
-1
wx_view_controls.h
include/view/wx_view_controls.h
+3
-3
No files found.
common/view/wx_view_controls.cpp
View file @
d0fc362e
...
...
@@ -35,10 +35,10 @@ WX_VIEW_CONTROLS::WX_VIEW_CONTROLS( VIEW* aView, wxWindow* aParentPanel ) :
VIEW_CONTROLS
(
aView
),
m_state
(
IDLE
),
m_grabMouse
(
false
),
m_snappingEnabled
(
true
),
m_autoPanEnabled
(
false
),
m_autoPanMargin
(
0.1
),
m_autoPanSpeed
(
0.15
),
m_snappingEnabled
(
true
),
m_parentPanel
(
aParentPanel
)
{
m_parentPanel
->
Connect
(
wxEVT_MOTION
,
wxMouseEventHandler
(
...
...
include/view/wx_view_controls.h
View file @
d0fc362e
...
...
@@ -128,15 +128,15 @@ private:
/// Flag for grabbing the mouse cursor
bool
m_grabMouse
;
/// Should the cursor snap to grid or move freely
bool
m_snappingEnabled
;
/// Flag for turning on autopanning
bool
m_autoPanEnabled
;
/// Distance from cursor to VIEW edge when panning is active
float
m_autoPanMargin
;
/// Should the cursor snap to grid or move freely
bool
m_snappingEnabled
;
/// How fast is panning when in auto mode
float
m_autoPanSpeed
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment