Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-stub/chatline.c Source File

Freeciv-3.1

Loading...
Searching...
No Matches
chatline.c
Go to the documentation of this file.
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)
6 any later version.
7
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***********************************************************************/
13
14#ifdef HAVE_CONFIG_H
15#include <fc_config.h>
16#endif
17
18/* client */
19#include "climisc.h" /* for write_chatline_content */
20
21/* gui main header */
22#include "gui_stub.h"
23
24#include "chatline.h"
25
26/**********************************************************************/
30 void gui_real_output_window_append(const char *astring,
31 const struct text_tag_list *tags,
32 int conn_id)
33{
34 /* PORTME */
35}
36
37/**********************************************************************/
41 void log_output_window(void)
42{
43 /* PORTME */
44 write_chatline_content(NULL);
45}
46
47/**********************************************************************/
50 void clear_output_window(void)
51{
52 /* PORTME */
53#if 0
54 set_output_window_text(_("Cleared output window."));
55#endif
56}
57
58/**********************************************************************/
61 void gui_version_message(const char *vertext)
62{
63 output_window_append(ftc_client, vertext);
64}
output_window_append
void output_window_append(const struct ft_color color, const char *featured_text)
Definition chatline_common.c:104
write_chatline_content
void write_chatline_content(const char *txt)
Definition chatline_common.c:196
climisc.h
_
#define _(String)
Definition fcintl.h:67
ftc_client
const struct ft_color ftc_client
Definition featured_text.c:78
log_output_window
void log_output_window(void)
Definition chatline.c:928
clear_output_window
void clear_output_window(void)
Definition chatline.c:943
set_output_window_text
#define set_output_window_text(_pstr_)
Definition chatline.h:31
gui_version_message
void gui_version_message(const char *vertext)
Definition chatline.c:61
gui_real_output_window_append
void gui_real_output_window_append(const char *astring, const struct text_tag_list *tags, int conn_id)
Definition chatline.c:30
chatline.h
gui_stub.h
astring
Definition astring.h:36