Freeciv-3.4
|
#include <stdlib.h>
#include <gtk/gtk.h>
#include "executable.h"
#include "fc_cmdline.h"
#include "fciconv.h"
#include "fcintl.h"
#include "log.h"
#include "mem.h"
#include "version.h"
#include "download.h"
#include "mpcmdline.h"
#include "mpdb.h"
#include "modinst.h"
Go to the source code of this file.
Data Structures | |
struct | _FcMPRow |
struct | _FcMPRowClass |
struct | msg_data |
struct | pbar_data |
Macros | |
#define | ML_COL_NAME 0 |
#define | ML_COL_VER 1 |
#define | ML_COL_INST 2 |
#define | ML_COL_TYPE 3 |
#define | ML_COL_SUBTYPE 4 |
#define | ML_COL_LIC 5 |
#define | ML_COL_URL 6 |
#define | ML_COL_COUNT 7 |
#define | ML_TYPE 7 |
#define | ML_NOTES 8 |
#define | ML_STORE_SIZE 9 |
#define | FC_TYPE_MPROW (fc_mprow_get_type()) |
#define FC_TYPE_MPROW (fc_mprow_get_type()) |
Definition at line 73 of file mpgui_gtk5.c.
#define ML_COL_COUNT 7 |
Definition at line 67 of file mpgui_gtk5.c.
#define ML_COL_INST 2 |
Definition at line 61 of file mpgui_gtk5.c.
#define ML_COL_LIC 5 |
Definition at line 64 of file mpgui_gtk5.c.
#define ML_COL_NAME 0 |
Definition at line 59 of file mpgui_gtk5.c.
#define ML_COL_SUBTYPE 4 |
Definition at line 63 of file mpgui_gtk5.c.
#define ML_COL_TYPE 3 |
Definition at line 62 of file mpgui_gtk5.c.
#define ML_COL_URL 6 |
Definition at line 65 of file mpgui_gtk5.c.
#define ML_COL_VER 1 |
Definition at line 60 of file mpgui_gtk5.c.
#define ML_NOTES 8 |
Definition at line 70 of file mpgui_gtk5.c.
#define ML_STORE_SIZE 9 |
Definition at line 71 of file mpgui_gtk5.c.
#define ML_TYPE 7 |
Definition at line 69 of file mpgui_gtk5.c.
|
static |
Entry point for downloader thread
Definition at line 334 of file mpgui_gtk5.c.
Referenced by gui_download_modpack().
|
static |
Table cell bind function
Definition at line 515 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets().
|
static |
Table cell setup function
Definition at line 555 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets().
|
static |
Initialization method for FcMPRow class
Definition at line 117 of file mpgui_gtk5.c.
Finalizing method for FcMPRow class
Definition at line 103 of file mpgui_gtk5.c.
Referenced by fc_mprow_class_init().
Initialization method for FcMPRow
Definition at line 128 of file mpgui_gtk5.c.
FcMPRow creation method
Definition at line 136 of file mpgui_gtk5.c.
Referenced by setup_modpack_list().
Download modpack, display error message dialogs
Definition at line 358 of file mpgui_gtk5.c.
Referenced by activate_gui(), install_clicked(), and URL_return().
Install modpack button clicked
Definition at line 388 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets().
Entry point of the freeciv-modpack program
Definition at line 747 of file mpgui_gtk5.c.
freeciv-modpack quit
Definition at line 148 of file mpgui_gtk5.c.
Referenced by quit_dialog_callback(), and quit_dialog_response().
Progress indications from downloader
Definition at line 204 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets(), and msg_main_thread().
Downloader thread message callback.
Definition at line 243 of file mpgui_gtk5.c.
Referenced by download_thread().
Main thread handling of message sent from downloader thread.
Definition at line 228 of file mpgui_gtk5.c.
Referenced by msg_dl_thread().
Progress indications from downloader
Definition at line 213 of file mpgui_gtk5.c.
Referenced by pbar_main_thread().
Downloader thread progress bar callback.
Definition at line 274 of file mpgui_gtk5.c.
Referenced by download_thread().
Main thread handling of progressbar update sent from downloader thread.
Definition at line 260 of file mpgui_gtk5.c.
Referenced by pbar_dl_thread().
|
static |
Callback for getting main list row tooltip
Definition at line 412 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets().
Popups the quit dialog if download in progress
Definition at line 173 of file mpgui_gtk5.c.
Referenced by activate_gui().
|
static |
This is the response callback for the dialog with the message: Are you sure you want to quit?
Definition at line 157 of file mpgui_gtk5.c.
Referenced by quit_dialog_callback().
|
static |
Callback called when entry from main modpack list selected
Definition at line 496 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets().
|
static |
Build main modpack list view
Definition at line 453 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets().
Downloader thread requests versionlist update.
Definition at line 326 of file mpgui_gtk5.c.
Referenced by download_thread().
Main thread handling of versionlist update requested by downloader thread
Definition at line 287 of file mpgui_gtk5.c.
Referenced by versionlist_update_dl_thread().
Definition at line 47 of file mpgui_gtk5.c.
Referenced by download_thread(), gui_download_modpack(), and quit_dialog_callback().
struct fcmp_params fcmp |
Definition at line 49 of file mpgui_gtk5.c.
Referenced by activate_gui(), download_thread(), main(), and modinst_setup_widgets().
|
static |
Definition at line 55 of file mpgui_gtk5.c.
Referenced by main(), and modinst_quit().
|
static |
Definition at line 43 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets().
|
static |
Definition at line 44 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets(), query_main_list_tooltip_cb(), setup_modpack_list(), and versionlist_update_main_thread().
|
static |
Definition at line 42 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets(), and pbar_callback().
|
static |
Definition at line 46 of file mpgui_gtk5.c.
Referenced by activate_gui(), quit_dialog_callback(), and quit_dialog_response().
|
static |
Definition at line 41 of file mpgui_gtk5.c.
Referenced by gui_download_modpack(), modinst_setup_widgets(), and msg_callback().
|
static |
Definition at line 40 of file mpgui_gtk5.c.
Referenced by activate_gui(), modinst_setup_widgets(), and quit_dialog_callback().
|
static |
Definition at line 45 of file mpgui_gtk5.c.
Referenced by modinst_setup_widgets(), and selection_change().