Freeciv-3.3
|
Go to the source code of this file.
Data Structures | |
struct | message |
Macros | |
#define | MESWIN_CLEAR_ALL (-1) |
Functions | |
void | meswin_clear_older (int turn, int phase) |
void | meswin_add (const char *message, const struct text_tag_list *tags, struct tile *ptile, enum event_type event, int turn, int phase) |
const struct message * | meswin_get_message (int message_index) |
int | meswin_get_num_messages (void) |
void | meswin_set_visited_state (int message_index, bool state) |
void | meswin_popup_city (int message_index) |
void | meswin_goto (int message_index) |
void | meswin_double_click (int message_index) |
#define MESWIN_CLEAR_ALL (-1) |
Definition at line 41 of file messagewin_common.h.
void meswin_add | ( | const char * | message, |
const struct text_tag_list * | tags, | ||
struct tile * | ptile, | ||
enum event_type | event, | ||
int | turn, | ||
int | phase | ||
) |
Add a message.
Definition at line 100 of file messagewin_common.c.
Referenced by handle_event(), and real_output_window_append().
Clear all messages.
Definition at line 65 of file messagewin_common.c.
Referenced by handle_end_phase(), and set_client_state().
Called from messagewin.c if the user double clicks on a message.
Definition at line 225 of file messagewin_common.c.
Referenced by meswin_dialog_row_activated_callback(), and msg_callback().
Returns the pointer to a message. Returns NULL on error.
Definition at line 154 of file messagewin_common.c.
Referenced by messagewdg::item_selected(), meswin_dialog_refresh(), meswin_dialog_row_activated_callback(), meswin_dialog_selection_callback(), and real_meswin_dialog_update().
Returns the number of message in the window.
Definition at line 167 of file messagewin_common.c.
Referenced by meswin_dialog_refresh(), and real_meswin_dialog_update().
Called from messagewin.c if the user clicks on the goto button.
Definition at line 213 of file messagewin_common.c.
Referenced by messagewdg::item_selected(), meswin_dialog_button_press_callback(), meswin_dialog_button_press_callback(), meswin_dialog_response_callback(), and meswin_double_click().
Called from messagewin.c if the user clicks on the popup-city button.
Definition at line 185 of file messagewin_common.c.
Referenced by messagewdg::item_selected(), meswin_dialog_response_callback(), and meswin_double_click().
Sets the visited-state of a message
Definition at line 175 of file messagewin_common.c.
Referenced by messagewdg::item_selected(), meswin_dialog_set_visited(), and msg_callback().