1 /*****************************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 *****************************************************************************/
15 #include <fc_config.h>
22 #include "featured_text.h"
27 #include "luaconsole.h"
29 /*****************************************************************************
30 Popup the lua console inside the main-window, and optionally raise it.
31 *****************************************************************************/
32 void luaconsole_dialog_popup(bool raise
)
37 /*****************************************************************************
38 Return TRUE iff the lua console is open.
39 *****************************************************************************/
40 bool luaconsole_dialog_is_open(void)
47 /*****************************************************************************
48 Update the lua console.
49 *****************************************************************************/
50 void real_luaconsole_dialog_update(void)
55 /*****************************************************************************
56 Appends the string to the chat output window. The string should be
57 inserted on its own line, although it will have no newline.
58 *****************************************************************************/
59 void real_luaconsole_append(const char *astring
,
60 const struct text_tag_list
*tags
)