aboutsummaryrefslogtreecommitdiff
path: root/src/serverlist.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-06-02 00:20:12 +0200
committerest31 <MTest31@outlook.com>2015-06-02 00:20:12 +0200
commite479337c1a69c68e4e9b0e7d0a6cc96550039bb1 (patch)
treeb0c7c983f0cbb6e02f8d63f90f9e5a2b438f3bf5 /src/serverlist.cpp
parent6df6b2a0e050da70ac5de9e99d4f440512888955 (diff)
downloadminetest-e479337c1a69c68e4e9b0e7d0a6cc96550039bb1.tar.gz
minetest-e479337c1a69c68e4e9b0e7d0a6cc96550039bb1.tar.bz2
minetest-e479337c1a69c68e4e9b0e7d0a6cc96550039bb1.zip
Fix wrong replace from previous commit
Diffstat (limited to 'src/serverlist.cpp')
0 files changed, 0 insertions, 0 deletions
span class="hl com"> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #include "irrlichttypes_extrabloated.h" #include "irr_ptr.h" #include "util/string.h" class GUIModalMenu; class IMenuManager { public: // A GUIModalMenu calls these when this class is passed as a parameter virtual void createdMenu(gui::IGUIElement *menu) = 0; virtual void deletingMenu(gui::IGUIElement *menu) = 0; }; // Remember to drop() the menu after creating, so that it can // remove itself when it wants to. class GUIModalMenu : public gui::IGUIElement { public: GUIModalMenu(gui::IGUIEnvironment* env, gui::IGUIElement* parent, s32 id, IMenuManager *menumgr, bool remap_dbl_click = true); virtual ~GUIModalMenu(); void allowFocusRemoval(bool allow); bool canTakeFocus(gui::IGUIElement *e); void draw(); void quitMenu(); void removeChildren(); virtual void regenerateGui(v2u32 screensize) = 0; virtual void drawMenu() = 0; virtual bool preprocessEvent(const SEvent &event); virtual bool OnEvent(const SEvent &event) { return false; };