Freeciv-3.2
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "fcintl.h"
#include "log.h"
#include "events.h"
#include "game.h"
#include "map.h"
#include "player.h"
#include "options.h"
#include "chatline.h"
#include "citydlg.h"
#include "gui_main.h"
#include "gui_stuff.h"
#include "mapview.h"
#include "messagewin.h"
Go to the source code of this file.
Data Structures | |
struct | meswin_dialog |
Enumerations | |
enum | meswin_columns { MESWIN_COL_ICON , MESWIN_COL_MESSAGE , MESWIN_COL_WEIGHT , MESWIN_COL_STYLE , MESWIN_COL_ID , MESWIN_COL_NUM } |
enum | meswin_responses { MESWIN_RES_GOTO = 1 , MESWIN_RES_POPUP_CITY } |
Variables | |
static struct meswin_dialog | meswin = { NULL, } |
Enumerator | |
---|---|
MESWIN_COL_ICON | |
MESWIN_COL_MESSAGE | |
MESWIN_COL_WEIGHT | |
MESWIN_COL_STYLE | |
MESWIN_COL_ID | |
MESWIN_COL_NUM |
Definition at line 53 of file messagewin.c.
Enumerator | |
---|---|
MESWIN_RES_GOTO | |
MESWIN_RES_POPUP_CITY |
Definition at line 65 of file messagewin.c.
|
static |
Mouse button press handler for the message window treeview. We only care about right clicks on a row; this action centers on the tile associated with the event at that row (if applicable).
Definition at line 247 of file messagewin.c.
|
static |
Closes a message window dialog.
Definition at line 407 of file messagewin.c.
|
static |
Initialize a message window dialog.
Definition at line 317 of file messagewin.c.
Return TRUE iff the message window is open.
Definition at line 446 of file messagewin.c.
Closes the message window dialog.
Definition at line 435 of file messagewin.c.
Popup the dialog inside the main-window, and optionally raise it.
Definition at line 420 of file messagewin.c.
|
static |
Refresh a message window dialog.
Definition at line 119 of file messagewin.c.
|
static |
Dialog response callback.
Definition at line 278 of file messagewin.c.
|
static |
A row has been activated by the user.
Definition at line 221 of file messagewin.c.
|
static |
Selection changed callback.
Definition at line 196 of file messagewin.c.
|
static |
Set the visited state of the store.
Definition at line 102 of file messagewin.c.
|
static |
Create a tree model for the message window.
Definition at line 75 of file messagewin.c.
Get the pango attributes for the visited state.
Definition at line 88 of file messagewin.c.
Update the message window dialog.
Definition at line 454 of file messagewin.c.
|
static |
Definition at line 70 of file messagewin.c.