mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ScatterCtrl: Fixed "pedantic" mode warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@11072 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f075e57fb0
commit
7da81369db
1 changed files with 10 additions and 2 deletions
|
|
@ -184,7 +184,11 @@ void ScatterCtrl::DoMouseAction(bool down, Point pt, ScatterAction action, int v
|
|||
case CONTEXT_MENU: if(showContextMenu && !down)
|
||||
MenuBar::Execute(THISBACK(ContextMenu));
|
||||
break;
|
||||
case NO_ACTION:;
|
||||
case NO_ACTION:
|
||||
case SCROLL_LEFT:
|
||||
case SCROLL_RIGHT:
|
||||
case SCROLL_UP:
|
||||
case SCROLL_DOWN:;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -199,7 +203,11 @@ void ScatterCtrl::DoKeyAction(ScatterAction action)
|
|||
case SCROLL_RIGHT: ScatterDraw::Scroll(-0.2, 0); break;
|
||||
case SCROLL_UP: ScatterDraw::Scroll(0, -0.2); break;
|
||||
case SCROLL_DOWN: ScatterDraw::Scroll(0, 0.2); break;
|
||||
case NO_ACTION:;
|
||||
case NO_ACTION:
|
||||
case SCROLL:
|
||||
case SHOW_COORDINATES:
|
||||
case ZOOM_WINDOW:
|
||||
case CONTEXT_MENU:;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue