Freeciv-3.3
|
#include <stdarg.h>
#include <stdlib.h>
#include <SDL3/SDL.h>
#include "fcintl.h"
#include "log.h"
#include "string_vector.h"
#include "fc_types.h"
#include "game.h"
#include "client_main.h"
#include "climisc.h"
#include "clinet.h"
#include "connectdlg_common.h"
#include "global_worklist.h"
#include "pages_g.h"
#include "colors.h"
#include "connectdlg.h"
#include "dialogs.h"
#include "graphics.h"
#include "gui_id.h"
#include "gui_main.h"
#include "gui_tilespec.h"
#include "helpdlg.h"
#include "mapctrl.h"
#include "mapview.h"
#include "menu.h"
#include "messagewin.h"
#include "themespec.h"
#include "widget.h"
#include "wldlg.h"
#include "optiondlg.h"
Go to the source code of this file.
Data Structures | |
struct | option_dialog_optset |
struct | option_dialog_worklist |
struct | option_dialog |
Enumerations | |
enum | option_dialog_mode { ODM_MAIN , ODM_OPTSET , ODM_WORKLIST } |
Variables | |
static struct option_dialog * | option_dialog = NULL |
struct widget * | options_button = NULL |
static bool | restore_meswin_dialog = FALSE |
Enumerator | |
---|---|
ODM_MAIN | |
ODM_OPTSET | |
ODM_WORKLIST |
Definition at line 68 of file optiondlg.c.
Callback to append a global worklist.
Definition at line 1164 of file optiondlg.c.
Apply the changes for the option category.
Definition at line 424 of file optiondlg.c.
|
static |
Arrange the widgets. NB: end argument is excluded. End the argument list with the icons on the top, terminated by NULL.
Definition at line 123 of file optiondlg.c.
Back requested.
Definition at line 235 of file optiondlg.c.
Create the client options dialog.
Definition at line 311 of file optiondlg.c.
Disable button to open option dialog.
Definition at line 1388 of file optiondlg.c.
Client disconnect from server callback.
Definition at line 384 of file optiondlg.c.
Clicked on a global worklist name.
Definition at line 1106 of file optiondlg.c.
Enable button to open option dialog.
Definition at line 1380 of file optiondlg.c.
Free correctly the memory assigned to the enum_widget.
Definition at line 496 of file optiondlg.c.
Exit callback.
Definition at line 398 of file optiondlg.c.
Open Help Browser callback
Definition at line 372 of file optiondlg.c.
Create button to open option dialog.
Definition at line 1396 of file optiondlg.c.
User interacted with the option dialog window.
Definition at line 222 of file optiondlg.c.
Dummy callback. Disable exit().
Definition at line 443 of file optiondlg.c.
Option set category selected.
Definition at line 412 of file optiondlg.c.
|
static |
Destroys an option dialog.
Definition at line 931 of file optiondlg.c.
|
static |
Return a new option dialog.
Definition at line 802 of file optiondlg.c.
|
static |
Initialize an option set page.
Definition at line 974 of file optiondlg.c.
|
static |
Initialize an option set category page.
Definition at line 1025 of file optiondlg.c.
void option_dialog_popdown | ( | const struct option_set * | poptset | ) |
Popdown the option dialog for the option set.
Definition at line 1506 of file optiondlg.c.
Popup the option dialog for the option set.
Definition at line 1486 of file optiondlg.c.
|
static |
The Worklist Report part of Options dialog shows all the global worklists that the player has defined.
Definition at line 1237 of file optiondlg.c.
Add the GUI for the option.
Definition at line 1535 of file optiondlg.c.
Remove the GUI for the option.
Definition at line 1549 of file optiondlg.c.
Update the GUI for the option.
Definition at line 1518 of file optiondlg.c.
Apply the changes for the option.
Definition at line 731 of file optiondlg.c.
|
static |
Create a widget for the option.
Definition at line 513 of file optiondlg.c.
Update the widget of the option.
Definition at line 660 of file optiondlg.c.
User interacted with the option dialog button.
Definition at line 1359 of file optiondlg.c.
Return the number of options of the category.
Definition at line 957 of file optiondlg.c.
Close option dialog.
Definition at line 1465 of file optiondlg.c.
Popup the main option menu dialog.
Definition at line 1446 of file optiondlg.c.
Option set category selected.
Definition at line 347 of file optiondlg.c.
Save game callback.
Definition at line 359 of file optiondlg.c.
Create the server options dialog.
Definition at line 323 of file optiondlg.c.
If the Options Dlg is open, force Worklist List contents to be updated. This function is call by exiting worklist editor to update changed worklist name in global worklist report ( Options Dlg )
Definition at line 1423 of file optiondlg.c.
Return a string vector containing all video modes.
Definition at line 451 of file optiondlg.c.
Free correctly the memory assigned to the video_mode_widget.
Definition at line 504 of file optiondlg.c.
Create the worklist editor.
Definition at line 335 of file optiondlg.c.
|
static |
Definition at line 98 of file optiondlg.c.
Definition at line 99 of file optiondlg.c.
Referenced by close_game_page(), popup_minimap_window(), and real_menus_update().
Definition at line 100 of file optiondlg.c.