Add menu options for line styles / view / configuration.
This is to make them a bit easier to find, since the natural place to look for config options is somewhere like File->Preferences or Edit->Settings.pull/579/head
parent
647171017a
commit
72635df56e
|
@ -74,6 +74,12 @@ const MenuEntry Menu[] = {
|
|||
{ 1, N_("Select &Edge Chain"), Command::SELECT_CHAIN, C|'e', KN, mEdit },
|
||||
{ 1, N_("Select &All"), Command::SELECT_ALL, C|'a', KN, mEdit },
|
||||
{ 1, N_("&Unselect All"), Command::UNSELECT_ALL, '\x1b', KN, mEdit },
|
||||
{ 1, NULL, Command::NONE, 0, KN, NULL },
|
||||
{ 1, N_("&Line Styles..."), Command::EDIT_LINE_STYLES, 0, KN, mEdit },
|
||||
{ 1, N_("&View Projection..."), Command::VIEW_PROJECTION, 0, KN, mEdit },
|
||||
#ifndef __APPLE__
|
||||
{ 1, N_("Con&figuration..."), Command::CONFIGURATION, 0, KN, mEdit },
|
||||
#endif
|
||||
|
||||
{ 0, N_("&View"), Command::NONE, 0, KN, mView },
|
||||
{ 1, N_("Zoom &In"), Command::ZOOM_IN, '+', KN, mView },
|
||||
|
@ -1183,6 +1189,22 @@ void GraphicsWindow::MenuEdit(Command id) {
|
|||
SS.ScheduleShowTW();
|
||||
break;
|
||||
|
||||
case Command::EDIT_LINE_STYLES:
|
||||
SS.TW.GoToScreen(TextWindow::Screen::LIST_OF_STYLES);
|
||||
SS.GW.ForceTextWindowShown();
|
||||
SS.ScheduleShowTW();
|
||||
break;
|
||||
case Command::VIEW_PROJECTION:
|
||||
SS.TW.GoToScreen(TextWindow::Screen::EDIT_VIEW);
|
||||
SS.GW.ForceTextWindowShown();
|
||||
SS.ScheduleShowTW();
|
||||
break;
|
||||
case Command::CONFIGURATION:
|
||||
SS.TW.GoToScreen(TextWindow::Screen::CONFIGURATION);
|
||||
SS.GW.ForceTextWindowShown();
|
||||
SS.ScheduleShowTW();
|
||||
break;
|
||||
|
||||
default: ssassert(false, "Unexpected menu ID");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue