Freeciv-3.2
Loading...
Searching...
No Matches
chatline.h
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#ifndef FC__CHATLINE_H
14#define FC__CHATLINE_H
15
16#include <gtk/gtk.h>
17
18/* client */
19#include "chatline_g.h"
20
21void chatline_init(void);
22
23void inputline_make_chat_link(struct tile *ptile, bool unit);
24bool inputline_has_focus(void);
25void inputline_grab_focus(void);
26bool inputline_is_visible(void);
27
28void set_output_window_text(const char *text);
31
33
36 GtkWidget *button);
37
38void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf,
39 ft_offset_t text_start_offset, const char *text);
41
42#endif /* FC__CHATLINE_H */
char * incite_cost
Definition comments.c:75
int ft_offset_t
bool inputline_has_focus(void)
Definition chatline.c:71
void inputline_toolkit_view_append_button(GtkWidget *toolkit_view, GtkWidget *button)
Definition chatline.c:1292
GtkWidget * inputline_toolkit_view_new(void)
Definition chatline.c:1270
void set_message_buffer_view_link_handlers(GtkWidget *view)
Definition chatline.c:744
void scroll_if_necessary(GtkTextView *textview, GtkTextMark *scroll_target)
Definition chatline.c:557
bool inputline_is_visible(void)
Definition chatline.c:87
void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf, ft_offset_t text_start_offset, const char *text)
Definition chatline.c:755
void chatline_init(void)
Definition chatline.c:1302
void inputline_make_chat_link(struct tile *ptile, bool unit)
Definition chatline.c:474
bool chatline_is_scrolled_to_bottom(void)
Definition chatline.c:959
void inputline_grab_focus(void)
Definition chatline.c:79
void chatline_scroll_to_bottom(bool delayed)
Definition chatline.c:1006
#define set_output_window_text(_pstr_)
Definition chatline.h:31
Definition tile.h:50
Definition unit.h:138