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"
24 #include "luaconsole.h"
26 /*****************************************************************************
27 Popup the lua console inside the main-window, and optionally raise it.
28 *****************************************************************************/
29 void luaconsole_dialog_popup(bool raise
)
34 /*****************************************************************************
35 Return TRUE iff the lua console is open.
36 *****************************************************************************/
37 bool luaconsole_dialog_is_open(void)
44 /*****************************************************************************
45 Update the lua console.
46 *****************************************************************************/
47 void real_luaconsole_dialog_update(void)
52 /*****************************************************************************
53 Appends the string to the chat output window. The string should be
54 inserted on its own line, although it will have no newline.
55 *****************************************************************************/
56 void real_luaconsole_append(const char *astring
,
57 const struct text_tag_list
*tags
)