Commit missing parts of d77f617
.
parent
2e15f60ef6
commit
1871efa02b
|
@ -628,15 +628,6 @@ bool GraphicsEditControlIsVisible(void) {
|
|||
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 */
|
||||
|
||||
class ContextMenuItem : public Gtk::MenuItem {
|
||||
|
|
|
@ -163,11 +163,6 @@ void HideGraphicsEditControl() {
|
|||
bool GraphicsEditControlIsVisible() {
|
||||
return false;
|
||||
}
|
||||
void ToggleMenuBar() {
|
||||
}
|
||||
bool MenuBarIsVisible() {
|
||||
return false;
|
||||
}
|
||||
void AddContextMenuItem(const char *label, ContextCommand cmd) {
|
||||
ssassert(false, "Not implemented");
|
||||
}
|
||||
|
|
|
@ -752,16 +752,6 @@ static bool ProcessKeyDown(WPARAM wParam)
|
|||
return false;
|
||||
}
|
||||
|
||||
void SolveSpace::ToggleMenuBar()
|
||||
{
|
||||
// Implement me
|
||||
}
|
||||
bool SolveSpace::MenuBarIsVisible()
|
||||
{
|
||||
// Implement me
|
||||
return true;
|
||||
}
|
||||
|
||||
void SolveSpace::ShowTextWindow(bool visible)
|
||||
{
|
||||
ShowWindow(TextWnd, visible ? SW_SHOWNOACTIVATE : SW_HIDE);
|
||||
|
|
|
@ -203,8 +203,6 @@ void AddContextMenuItem(const char *legend, ContextCommand id);
|
|||
void CreateContextSubmenu();
|
||||
ContextCommand ShowContextMenu();
|
||||
|
||||
void ToggleMenuBar();
|
||||
bool MenuBarIsVisible();
|
||||
void ShowTextWindow(bool visible);
|
||||
void InvalidateText();
|
||||
void InvalidateGraphics();
|
||||
|
|
Loading…
Reference in New Issue