Commit missing parts of d77f617.

pull/200/head
whitequark 2017-02-06 16:01:10 +00:00
parent 2e15f60ef6
commit 1871efa02b
4 changed files with 0 additions and 26 deletions

View File

@ -628,15 +628,6 @@ bool GraphicsEditControlIsVisible(void) {
return GW->get_overlay().is_editing(); return GW->get_overlay().is_editing();
} }
/* TODO: removing menubar breaks accelerators. */
void ToggleMenuBar(void) {
GW->get_menubar().set_visible(!GW->get_menubar().is_visible());
}
bool MenuBarIsVisible(void) {
return GW->get_menubar().is_visible();
}
/* Context menus */ /* Context menus */
class ContextMenuItem : public Gtk::MenuItem { class ContextMenuItem : public Gtk::MenuItem {

View File

@ -163,11 +163,6 @@ void HideGraphicsEditControl() {
bool GraphicsEditControlIsVisible() { bool GraphicsEditControlIsVisible() {
return false; return false;
} }
void ToggleMenuBar() {
}
bool MenuBarIsVisible() {
return false;
}
void AddContextMenuItem(const char *label, ContextCommand cmd) { void AddContextMenuItem(const char *label, ContextCommand cmd) {
ssassert(false, "Not implemented"); ssassert(false, "Not implemented");
} }

View File

@ -752,16 +752,6 @@ static bool ProcessKeyDown(WPARAM wParam)
return false; return false;
} }
void SolveSpace::ToggleMenuBar()
{
// Implement me
}
bool SolveSpace::MenuBarIsVisible()
{
// Implement me
return true;
}
void SolveSpace::ShowTextWindow(bool visible) void SolveSpace::ShowTextWindow(bool visible)
{ {
ShowWindow(TextWnd, visible ? SW_SHOWNOACTIVATE : SW_HIDE); ShowWindow(TextWnd, visible ? SW_SHOWNOACTIVATE : SW_HIDE);

View File

@ -203,8 +203,6 @@ void AddContextMenuItem(const char *legend, ContextCommand id);
void CreateContextSubmenu(); void CreateContextSubmenu();
ContextCommand ShowContextMenu(); ContextCommand ShowContextMenu();
void ToggleMenuBar();
bool MenuBarIsVisible();
void ShowTextWindow(bool visible); void ShowTextWindow(bool visible);
void InvalidateText(); void InvalidateText();
void InvalidateGraphics(); void InvalidateGraphics();