From eb8b016fabee89d77009b269c3d6e6b999592881 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 26 Nov 2021 15:16:15 +0100 Subject: Fix for issue #254: remove hardware overlay support . --- src/Fl_Menu_Window.cxx | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/Fl_Menu_Window.cxx') diff --git a/src/Fl_Menu_Window.cxx b/src/Fl_Menu_Window.cxx index 559dbe533..3bc916cac 100644 --- a/src/Fl_Menu_Window.cxx +++ b/src/Fl_Menu_Window.cxx @@ -24,27 +24,6 @@ #include #include "Fl_Window_Driver.H" -void Fl_Menu_Window::show() { - Fl_Window_Driver::driver(this)->show_menu(); -} - -void Fl_Menu_Window::flush() { - if (!shown()) return; - Fl_Window_Driver::driver(this)->flush_menu(); -} - -/** Erases the window, does nothing if HAVE_OVERLAY is not defined in config.h */ -void Fl_Menu_Window::erase() { - Fl_Window_Driver::driver(this)->erase_menu(); -} - -// Fix the colormap flashing on Maximum Impact Graphics by erasing the -// menu before unmapping it: -void Fl_Menu_Window::hide() { - erase(); - Fl_Single_Window::hide(); -} - /** Destroys the window and all of its children.*/ Fl_Menu_Window::~Fl_Menu_Window() { hide(); -- cgit v1.2.3