Changing test/editor Shortcut Key Ctrl-i.
The original choice for split screen editing, Ctrl-2, did not work well on some platforms.
This commit is contained in:
parent
7cb33ea802
commit
f151ecb87b
@ -979,7 +979,7 @@ set correctly. Lastly, we add a menu item with a callback.
|
|||||||
app_window->end();
|
app_window->end();
|
||||||
app_window->resizable(app_tile);
|
app_window->resizable(app_tile);
|
||||||
app_tile->resizable(app_editor);
|
app_tile->resizable(app_editor);
|
||||||
app_menu_bar->add("Window/Split", FL_COMMAND+'2', menu_split_callback, NULL, FL_MENU_TOGGLE);
|
app_menu_bar->add("Window/Split", FL_COMMAND+'i', menu_split_callback, NULL, FL_MENU_TOGGLE);
|
||||||
}
|
}
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
|
@ -658,7 +658,7 @@ void tut9_split_editor() {
|
|||||||
app_window->end();
|
app_window->end();
|
||||||
app_window->resizable(app_tile);
|
app_window->resizable(app_tile);
|
||||||
app_tile->resizable(app_editor);
|
app_tile->resizable(app_editor);
|
||||||
app_menu_bar->add("Window/Split", FL_COMMAND+'2', menu_split_callback, NULL, FL_MENU_TOGGLE);
|
app_menu_bar->add("Window/Split", FL_COMMAND+'i', menu_split_callback, NULL, FL_MENU_TOGGLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user