#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "log.h"
#include "shared.h"
#include "string_vector.h"
#include "support.h"
#include "events.h"
#include "fcintl.h"
#include "government.h"
#include "multipliers.h"
#include "client_main.h"
#include "options.h"
#include "chatline.h"
#include "cityrep.h"
#include "dialogs.h"
#include "gui_main.h"
#include "gui_stuff.h"
#include "ratesdlg.h"
#include "gamedlgs.h"
Go to the source code of this file.
◆ create_multiplier_dialog()
static GtkWidget * create_multiplier_dialog |
( |
void |
| ) |
|
|
static |
Create multipliers dialog
Definition at line 299 of file gamedlgs.c.
◆ create_rates_dialog()
static GtkWidget * create_rates_dialog |
( |
void |
| ) |
|
|
static |
◆ mult_to_scale()
static int mult_to_scale |
( |
const struct multiplier * |
pmul, |
|
|
int |
val |
|
) |
| |
|
static |
Convert real multiplier display value to scale value
Definition at line 220 of file gamedlgs.c.
◆ multiplier_dialog_update_values()
static void multiplier_dialog_update_values |
( |
bool |
set_positions | ) |
|
|
static |
Update values in multipliers dialog
Definition at line 257 of file gamedlgs.c.
◆ multipliers_command_callback()
static void multipliers_command_callback |
( |
GtkWidget * |
w, |
|
|
gint |
response_id |
|
) |
| |
|
static |
User has responded to multipliers dialog
Definition at line 236 of file gamedlgs.c.
◆ popup_multiplier_dialog()
void popup_multiplier_dialog |
( |
void |
| ) |
|
Popup multipliers dialog
Definition at line 371 of file gamedlgs.c.
◆ popup_rates_dialog()
void popup_rates_dialog |
( |
void |
| ) |
|
◆ rates_changed_callback()
static void rates_changed_callback |
( |
GtkWidget * |
range | ) |
|
|
static |
◆ rates_command_callback()
static void rates_command_callback |
( |
GtkWidget * |
w, |
|
|
gint |
response_id |
|
) |
| |
|
static |
User has responded to rates dialog
Definition at line 207 of file gamedlgs.c.
◆ rates_set_values()
static void rates_set_values |
( |
int |
tax, |
|
|
int |
no_tax_scroll, |
|
|
int |
lux, |
|
|
int |
no_lux_scroll, |
|
|
int |
sci, |
|
|
int |
no_sci_scroll |
|
) |
| |
|
static |
Set tax values to display
Definition at line 71 of file gamedlgs.c.
◆ real_multipliers_dialog_update()
void real_multipliers_dialog_update |
( |
void * |
unused | ) |
|
Callback when server indicates multiplier values have changed
Definition at line 284 of file gamedlgs.c.
◆ scale_to_mult()
static int scale_to_mult |
( |
const struct multiplier * |
pmul, |
|
|
int |
scale |
|
) |
| |
|
static |
Convert scale units to real multiplier display value
Definition at line 228 of file gamedlgs.c.
◆ multiplier_dialog_shell
GtkWidget* multiplier_dialog_shell |
|
static |
◆ multipliers_scale
◆ rates_dialog_shell
GtkWidget* rates_dialog_shell |
|
static |
◆ rates_gov_label
GtkWidget* rates_gov_label |
|
static |
◆ rates_lux_label
GtkWidget * rates_lux_label |
|
static |
◆ rates_lux_scale
GtkWidget * rates_lux_scale |
|
static |
◆ rates_lux_sig
◆ rates_lux_toggle
GtkWidget * rates_lux_toggle |
|
static |
◆ rates_lux_value
◆ rates_sci_label
GtkWidget * rates_sci_label |
|
static |
◆ rates_sci_scale
GtkWidget * rates_sci_scale |
|
static |
◆ rates_sci_sig
◆ rates_sci_toggle
GtkWidget * rates_sci_toggle |
|
static |
◆ rates_sci_value
◆ rates_tax_label
GtkWidget* rates_tax_label |
|
static |
◆ rates_tax_scale
GtkWidget* rates_tax_scale |
|
static |
◆ rates_tax_sig
◆ rates_tax_toggle
GtkWidget* rates_tax_toggle |
|
static |
◆ rates_tax_value