Fix alpha for liquid nodes (#5494)
[oweals/minetest.git] / src / guiChatConsole.h
index fe595f2849b6adc5d6acaf154788e9a4a3ee5f74..0332678c759667cd9d66ddcac93b22d8094fd4b9 100644 (file)
@@ -41,7 +41,7 @@ public:
        // Open the console (height = desired fraction of screen size)
        // This doesn't open immediately but initiates an animation.
        // You should call isOpenInhibited() before this.
-       void openConsole(f32 height);
+       void openConsole(f32 scale);
 
        bool isOpen() const;
 
@@ -77,6 +77,8 @@ public:
 
        virtual bool OnEvent(const SEvent& event);
 
+       virtual void setVisible(bool visible);
+
 private:
        void reformatConsole();
        void recalculateConsolePosition();
@@ -96,7 +98,7 @@ private:
        v2u32 m_screensize;
 
        // used to compute how much time passed since last animate()
-       u32 m_animate_time_old;
+       u64 m_animate_time_old;
 
        // should the console be opened or closed?
        bool m_open;