Commit missing parts of d77f617
.
parent
2e15f60ef6
commit
1871efa02b
|
@ -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 {
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue