Freeciv-3.3
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:76
int ft_offset_t
bool inputline_has_focus(void)
Definition chatline.c:72
void inputline_toolkit_view_append_button(GtkWidget *toolkit_view, GtkWidget *button)
Definition chatline.c:1293
GtkWidget * inputline_toolkit_view_new(void)
Definition chatline.c:1271
void set_message_buffer_view_link_handlers(GtkWidget *view)
Definition chatline.c:745
void scroll_if_necessary(GtkTextView *textview, GtkTextMark *scroll_target)
Definition chatline.c:558
bool inputline_is_visible(void)
Definition chatline.c:88
void apply_text_tag(const struct text_tag *ptag, GtkTextBuffer *buf, ft_offset_t text_start_offset, const char *text)
Definition chatline.c:756
void chatline_init(void)
Definition chatline.c:1303
void inputline_make_chat_link(struct tile *ptile, bool unit)
Definition chatline.c:475
bool chatline_is_scrolled_to_bottom(void)
Definition chatline.c:960
void inputline_grab_focus(void)
Definition chatline.c:80
void chatline_scroll_to_bottom(bool delayed)
Definition chatline.c:1007
#define set_output_window_text(_pstr_)
Definition chatline.h:31
Definition tile.h:50
Definition unit.h:140