mirror of
https://github.com/leozide/leocad.git
synced 2026-09-12 17:43:50 +00:00
Moved current tool to main window.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user