aboutsummaryrefslogtreecommitdiff
path: root/advtrains/spec/texture_spec.lua
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2025-07-05 16:42:54 +0200
committerorwell <orwell@bleipb.de>2025-07-05 16:42:54 +0200
commit97e5554e34cfaa80716969eebee6577e4c4da000 (patch)
treee636785786d0aefc2e2a3ed751522cb48b7d85a1 /advtrains/spec/texture_spec.lua
parent041847319d4adb868f4329197f541d50aa02f89d (diff)
downloadadvtrains-timetable.tar.gz
advtrains-timetable.tar.bz2
advtrains-timetable.zip
Implement the No Disable ARS flag on the stoprailtimetable
Diffstat (limited to 'advtrains/spec/texture_spec.lua')
0 files changed, 0 insertions, 0 deletions
n112'>112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
/*
Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.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.
*/

#ifndef GUICHATCONSOLE_HEADER
#define GUICHATCONSOLE_HEADER

#include "irrlichttypes_extrabloated.h"
#include "chat.h"
#include "config.h"

class Client;

class GUIChatConsole : public gui::IGUIElement
{
public:
	GUIChatConsole(gui::IGUIEnvironment* env,
			gui::IGUIElement* parent,
			s32 id,
			ChatBackend* backend,
			Client* client);
	virtual ~GUIChatConsole();

	// 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);

	bool isOpen() const;

	// Check if the console should not be opened at the moment
	// This is to avoid reopening the console immediately after closing
	bool isOpenInhibited() const;
	// Close the console, equivalent to openConsole(0).