]> git.lizzy.rs Git - minetest.git/blobdiff - src/guiEngine.h
Fix inverted conditions in shader.cpp
[minetest.git] / src / guiEngine.h
index 7f35949d1891e54a207acb383f23ec6385892807..d527f722243dc735832a682bf1f3e0f71fc31950 100644 (file)
@@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "modalMenu.h"
 #include "guiFormSpecMenu.h"
 #include "sound.h"
-#include "tile.h"
+#include "client/tile.h"
 
 /******************************************************************************/
 /* Typedefs and macros                                                        */
@@ -73,7 +73,7 @@ class TextDestGuiEngine : public TextDest
         * receive fields transmitted by guiFormSpecMenu
         * @param fields map containing formspec field elements currently active
         */
-       void gotText(std::map<std::string, std::string> fields);
+       void gotText(const StringMap &fields);
 
        /**
         * receive text/events transmitted by guiFormSpecMenu
@@ -188,6 +188,9 @@ class GUIEngine {
        /** handler to limit frame rate within main menu */
        void limitFrameRate();
 
+       /** update size of topleftext element */
+       void updateTopLeftTextSize();
+
        /** device to draw at */
        irr::IrrlichtDevice*     m_device;
        /** parent gui element */