|
Freeciv-3.1
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <gtk/gtk.h>#include <gdk/gdkkeysyms.h>#include "astring.h"#include "fcintl.h"#include "support.h"#include "diptreaty.h"#include "packets.h"#include "nation.h"#include "player.h"#include "client_main.h"#include "climisc.h"#include "connectdlg_common.h"#include "tilespec.h"#include "colors.h"#include "graphics.h"#include "options.h"#include "text.h"#include "chatline.h"#include "dialogs.h"#include "gui_main.h"#include "gui_stuff.h"#include "inteldlg.h"#include "spaceshipdlg.h"#include "plrdlg.h"Go to the source code of this file.
Macros | |
| #define | PLR_DLG_COL_STYLE (0 + num_player_dlg_columns) |
| #define | PLR_DLG_COL_WEIGHT (1 + num_player_dlg_columns) |
| #define | PLR_DLG_COL_ID (2 + num_player_dlg_columns) |
| #define | PLR_DLG_COL_TOOLTIP (3 + num_player_dlg_columns) |
| #define | PLR_DLG_COL_TOTAL (PLR_DLG_COL_TOOLTIP + 1) |
| #define | MIN_DIMENSION 5 |
Functions | |
| static void | create_players_dialog (void) |
| static void | players_meet_callback (GtkMenuItem *item, gpointer data) |
| static void | players_war_callback (GtkMenuItem *item, gpointer data) |
| static void | players_vision_callback (GtkMenuItem *item, gpointer data) |
| static void | players_intel_callback (GtkMenuItem *item, gpointer data) |
| static void | players_intel_wonder_callback (GtkMenuItem *item, gpointer data) |
| static void | players_sship_callback (GtkMenuItem *item, gpointer data) |
| static void | players_ai_toggle_callback (GtkMenuItem *item, gpointer data) |
| static void | players_ai_skill_callback (GtkMenuItem *item, gpointer data) |
| static void | update_views (void) |
| void | popup_players_dialog (bool raise) |
| void | popdown_players_dialog (void) |
| GdkPixbuf * | create_player_icon (const struct player *plr) |
| static void | update_players_menu (void) |
| static void | selection_callback (GtkTreeSelection *selection, gpointer data) |
| static gboolean | button_press_callback (GtkTreeView *view, GdkEventButton *ev) |
| static gint | plrdlg_sort_func (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data) |
| static GtkListStore * | players_dialog_store_new (void) |
| static void | toggle_view (GtkCheckMenuItem *item, gpointer data) |
| static void | toggle_dead_players (GtkCheckMenuItem *item, gpointer data) |
| static GtkWidget * | create_diplomacy_menu (void) |
| static GtkWidget * | create_intelligence_menu (void) |
| static GtkWidget * | create_show_menu (void) |
| GdkPixbuf * | get_flag (const struct nation_type *nation) |
| static void | fill_row (GtkListStore *store, GtkTreeIter *it, const struct player *pplayer) |
| static bool | player_should_be_shown (const struct player *pplayer) |
| void | real_players_dialog_update (void *unused) |
| static void | confirm_cancel_pact (enum clause_type clause, int plrno, char *title, char *question) |
Variables | |
| struct gui_dialog * | players_dialog_shell |
| static GtkWidget * | players_list |
| static GtkTreeSelection * | players_selection |
| static GtkWidget * | players_int_command |
| static GtkWidget * | players_meet_command |
| static GtkWidget * | players_war_command |
| static GtkWidget * | players_vision_command |
| static GtkWidget * | players_sship_command |
| static GtkListStore * | players_dialog_store |
| #define PLR_DLG_COL_ID (2 + num_player_dlg_columns) |
| #define PLR_DLG_COL_STYLE (0 + num_player_dlg_columns) |
| #define PLR_DLG_COL_TOOLTIP (3 + num_player_dlg_columns) |
| #define PLR_DLG_COL_TOTAL (PLR_DLG_COL_TOOLTIP + 1) |
| #define PLR_DLG_COL_WEIGHT (1 + num_player_dlg_columns) |
|
static |
|
static |
|
static |
|
static |
| GdkPixbuf * create_player_icon | ( | const struct player * | plr | ) |
|
static |
|
static |
|
static |
| GdkPixbuf * get_flag | ( | const struct nation_type * | nation | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| void popdown_players_dialog | ( | void | ) |
| void popup_players_dialog | ( | bool | raise | ) |
| void real_players_dialog_update | ( | void * | unused | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
| struct gui_dialog* players_dialog_shell |