Moved current tool to main window.

This commit is contained in:
leo
2014-05-23 00:02:21 +00:00
parent eb4bc27c25
commit 4e1a08c4fb
5 changed files with 60 additions and 76 deletions
+8
View File
@@ -66,6 +66,14 @@ void lcMainWindow::UpdateAllViews()
mViews[ViewIdx]->Redraw();
}
void lcMainWindow::SetTool(lcTool Tool)
{
mTool = Tool;
UpdateAction(mTool);
UpdateAllViews();
}
void lcMainWindow::SetColorIndex(int ColorIndex)
{
mColorIndex = ColorIndex;