Freeciv-3.2
|
#include <citydlg.h>
Public Types | |
enum | { INFO_PAGE = 0 , HAPPINESS_PAGE = 1 , ARMY_PAGE , SUPPORTED_UNITS_PAGE , MISC_PAGE } |
enum | { INFO_PAGE = 0 , HAPPINESS_PAGE = 1 , ARMY_PAGE , SUPPORTED_UNITS_PAGE , MISC_PAGE } |
Public Member Functions | |
city_dialog (QWidget *parent=0) | |
~city_dialog () | |
void | setup_ui (struct city *qcity) |
void | refresh () |
Public Member Functions inherited from qfc_dialog | |
qfc_dialog (QWidget *parent) | |
void | reactivate () |
Protected Member Functions | |
void | showEvent (QShowEvent *event) |
void | hideEvent (QHideEvent *event) |
void | closeEvent (QCloseEvent *event) |
bool | eventFilter (QObject *obj, QEvent *event) |
Protected Member Functions inherited from qfc_dialog | |
void | paintEvent (QPaintEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
Private Types | |
enum | city_dialog_tab { common , happiness , counters } |
Private Slots | |
void | next_city () |
void | prev_city () |
void | production_changed (int index) |
void | show_targets () |
void | show_targets_worklist () |
void | show_happiness () |
void | show_counters () |
void | buy () |
void | dbl_click_p (QTableWidgetItem *item) |
void | item_selected (const QItemSelection &sl, const QItemSelection &ds) |
void | clear_worklist () |
void | save_worklist () |
void | worklist_up () |
void | worklist_down () |
void | worklist_del () |
void | display_worklist_menu (const QPoint &p) |
void | disband_state_changed (bool allow_disband) |
void | cma_slider (int val) |
void | cma_toggle_changed (int val) |
void | cma_remove () |
void | cma_enable () |
void | cma_changed () |
void | cma_selected (const QItemSelection &sl, const QItemSelection &ds) |
void | cma_double_clicked (int row, int column) |
void | cma_context_menu (const QPoint &p) |
void | save_cma () |
void | city_rename () |
void | zoom_in () |
void | zoom_out () |
Private Member Functions | |
void | update_title () |
void | update_counters_table () |
void | update_building () |
void | update_info_label () |
void | update_buy_button () |
void | update_citizens () |
void | update_improvements () |
void | update_units () |
void | update_nation_table () |
void | update_cma_tab () |
void | update_disabled () |
void | update_sliders () |
void | update_prod_buttons () |
void | update_tabs () |
void | change_production (bool next) |
|
private |
city_dialog::city_dialog | ( | QWidget * | parent = 0 | ) |
Constructor for city_dialog, sets layouts, policies ...
Definition at line 1506 of file citydlg.cpp.
city_dialog::~city_dialog | ( | ) |
City dialog destructor
Definition at line 2273 of file citydlg.cpp.
|
privateslot |
Buy button. Shows message box asking for confirmation
Definition at line 3470 of file citydlg.cpp.
Referenced by city_dialog().
Changes production to next one or previous
Definition at line 2072 of file citydlg.cpp.
Referenced by eventFilter().
|
privateslot |
City rename dialog input
Definition at line 2381 of file citydlg.cpp.
Referenced by city_dialog(), and city_rename().
|
privateslot |
Clears worklist in production page
Definition at line 3675 of file citydlg.cpp.
Referenced by display_worklist_menu().
|
protected |
Show event
Definition at line 2333 of file citydlg.cpp.
|
privateslot |
Sliders moved and cma has been changed
Definition at line 2488 of file citydlg.cpp.
Referenced by cma_enable(), cma_slider(), and cma_toggle_changed().
Context menu on governor tab in city worklist
Definition at line 2761 of file citydlg.cpp.
Referenced by city_dialog().
Double click on some row ( column is unused )
Definition at line 2509 of file citydlg.cpp.
Referenced by city_dialog().
|
privateslot |
Enables cma slot, triggered by clicked button or changed cma
Definition at line 2473 of file citydlg.cpp.
Referenced by city_dialog().
|
privateslot |
|
privateslot |
CMA has been selected from list
Definition at line 2528 of file citydlg.cpp.
Referenced by city_dialog().
CMA options on slider has been changed
Definition at line 2715 of file citydlg.cpp.
Referenced by city_dialog().
CMA option 'celebrate' or 'max_growth' QCheckBox state has been changed
Definition at line 2704 of file citydlg.cpp.
Referenced by city_dialog().
|
privateslot |
Double clicked item in worklist table in production tab
Definition at line 3278 of file citydlg.cpp.
Referenced by city_dialog(), and worklist_del().
Received signal about changed checkbox - allow disbanding city
Definition at line 2740 of file citydlg.cpp.
Referenced by display_worklist_menu().
Context menu on production tab in city worklist
Definition at line 2781 of file citydlg.cpp.
Referenced by city_dialog().
|
protected |
Event filter for catching keyboard events
Definition at line 2344 of file citydlg.cpp.
|
protected |
Hide event
Definition at line 2305 of file citydlg.cpp.
|
privateslot |
Selection changed in production tab, in worklist tab
Definition at line 3353 of file citydlg.cpp.
Referenced by city_dialog().
|
privateslot |
Changes city_dialog to next city after pushing next city button
Definition at line 3371 of file citydlg.cpp.
Referenced by city_dialog(), and eventFilter().
|
privateslot |
Changes city_dialog to previous city after pushing prev city button
Definition at line 3406 of file citydlg.cpp.
Referenced by city_dialog(), and eventFilter().
Slot executed when user changed production in customized table widget
Definition at line 3626 of file citydlg.cpp.
void city_dialog::refresh | ( | ) |
Various refresh after getting new info/reply from server
Definition at line 2990 of file citydlg.cpp.
Referenced by qtg_real_city_dialog_refresh(), and setup_ui().
|
privateslot |
|
privateslot |
Setups whole city dialog, public function
Definition at line 3262 of file citydlg.cpp.
Referenced by qtg_real_city_dialog_popup().
|
privateslot |
|
privateslot |
|
privateslot |
Shows customized table widget with available items to produce Shows default targets in overview city page
Definition at line 3644 of file citydlg.cpp.
Referenced by city_dialog().
|
privateslot |
Shows customized table widget with available items to produce Shows customized targets in city production page
Definition at line 3660 of file citydlg.cpp.
Referenced by city_dialog().
|
protected |
Show event
Definition at line 2316 of file citydlg.cpp.
|
private |
Updates building improvement/unit
Definition at line 3441 of file citydlg.cpp.
Referenced by refresh().
|
private |
Enables/disables buy buttons depending on gold
Definition at line 2881 of file citydlg.cpp.
Referenced by refresh().
|
private |
Redraws citizens for city_label (citizens_label)
Definition at line 2906 of file citydlg.cpp.
Referenced by refresh().
|
private |
Updates cma tab
Definition at line 2610 of file citydlg.cpp.
Referenced by cma_double_clicked(), cma_enable(), cma_remove(), cma_slider(), cma_toggle_changed(), refresh(), and save_cma().
|
private |
|
private |
Updates buttons/widgets which should be enabled/disabled
Definition at line 2208 of file citydlg.cpp.
Referenced by refresh().
|
private |
|
private |
Updates information label ( food, prod ... surpluses ...)
Definition at line 3141 of file citydlg.cpp.
Referenced by refresh().
|
private |
Updates nationality table in happiness tab
Definition at line 3064 of file citydlg.cpp.
Referenced by refresh().
|
private |
Update sensitivity of buttons in production tab
Definition at line 2246 of file citydlg.cpp.
Referenced by item_selected(), update_disabled(), and worklist_del().
|
private |
Updates sliders ( cma params )
Definition at line 2558 of file citydlg.cpp.
Referenced by cma_selected(), and update_cma_tab().
|
private |
Sets tooltip for happiness/pruction button switcher
Definition at line 2117 of file citydlg.cpp.
Referenced by city_dialog(), show_counters(), and show_happiness().
|
private |
Puts city name and people count on title
Definition at line 3787 of file citydlg.cpp.
Referenced by refresh().
|
private |
Updates layouts for supported and present units in city
Definition at line 3295 of file citydlg.cpp.
Referenced by refresh().
|
privateslot |
Remove current item on worklist
Definition at line 3715 of file citydlg.cpp.
Referenced by city_dialog().
|
privateslot |
Move current item on worklist down
Definition at line 3732 of file citydlg.cpp.
Referenced by city_dialog().
|
privateslot |
Move current item on worklist up
Definition at line 3690 of file citydlg.cpp.
Referenced by city_dialog().
|
privateslot |
|
privateslot |
Definition at line 97 of file citydlg.c.
Referenced by real_city_dialog_popup(), and rebuild_imprm_list().
Definition at line 93 of file citydlg.c.
Referenced by activate_and_exit_units_orders_city_dlg_callback(), cancel_units_orders_city_dlg_callback(), popdown_city_menu_dlg(), redraw_city_dialog(), sell_imprvm_dlg_callback(), sell_imprvm_dlg_cancel_callback(), sell_imprvm_dlg_ok_callback(), and units_orders_city_dlg_callback().
Definition at line 83 of file citydlg.c.
Referenced by city_dlg_callback(), del_city_dialog(), disable_city_dlg_widgets(), enable_city_dlg_widgets(), real_city_dialog_popup(), and redraw_city_dialog().
short city_dialog::block_signal |
Definition at line 200 of file citydlg.c.
Referenced by cityopt_callback(), create_and_append_settings_page(), and set_cityopt_values().
|
private |
Definition at line 482 of file citydlg.h.
Referenced by city_dialog().
Definition at line 483 of file citydlg.h.
Referenced by city_dialog(), enable_city_dlg_widgets(), ok_buy_prod_city_dlg_callback(), popup_hurry_production_dialog(), real_city_dialog_popup(), redraw_city_dialog(), update_buy_button(), and update_disabled().
GtkWidget* city_dialog::buy_command |
Definition at line 154 of file citydlg.c.
Referenced by city_dialog_update_building(), create_and_append_overview_page(), create_city_dialog(), create_production_header(), and create_production_header().
|
private |
Definition at line 449 of file citydlg.h.
Referenced by city_dialog(), closeEvent(), hideEvent(), and showEvent().
|
private |
Definition at line 450 of file citydlg.h.
Referenced by city_dialog(), closeEvent(), hideEvent(), and showEvent().
GtkListStore* city_dialog::change_production_store |
Definition at line 169 of file citydlg.c.
Referenced by city_dialog_update_building(), and create_and_append_overview_page().
GtkTreeSelection * city_dialog::change_selection |
GtkWidget* city_dialog::citizen_images |
Definition at line 146 of file citydlg.c.
Referenced by city_dialog_update_citizens(), and create_city_dialog().
GtkWidget* city_dialog::citizen_pics |
Definition at line 148 of file citydlg.c.
Referenced by city_dialog_update_citizens(), and create_city_dialog().
|
private |
Definition at line 495 of file citydlg.h.
Referenced by city_dialog(), update_citizens(), and ~city_dialog().
int city_dialog::citizen_step |
Definition at line 102 of file citydlg.c.
Referenced by city_dlg_callback(), and redraw_city_dialog().
cairo_surface_t * city_dialog::citizen_surface |
Definition at line 147 of file citydlg.c.
Referenced by city_destroy_callback(), city_dialog_update_citizens(), and create_city_dialog().
GtkWidget* city_dialog::citizens |
Definition at line 185 of file citydlg.c.
Referenced by create_and_append_happiness_page(), create_city_dialog(), and switch_city_callback().
|
private |
Definition at line 456 of file citydlg.h.
Referenced by city_dialog(), and update_citizens().
|
private |
Definition at line 498 of file citydlg.h.
Referenced by city_dialog(), and update_improvements().
Definition at line 100 of file citydlg.c.
Referenced by real_city_dialog_popup(), and refresh_city_names().
|
private |
Definition at line 475 of file citydlg.h.
Referenced by city_dialog(), cma_changed(), and update_sliders().
struct cma_dialog * city_dialog::cma_editor |
Definition at line 193 of file citydlg.c.
Referenced by create_and_append_cma_page(), create_city_dialog(), and switch_city_callback().
|
private |
Definition at line 484 of file citydlg.h.
Referenced by city_dialog(), update_cma_tab(), and update_disabled().
|
private |
Definition at line 465 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 476 of file citydlg.h.
Referenced by city_dialog(), cma_changed(), and update_sliders().
|
private |
Definition at line 466 of file citydlg.h.
Referenced by city_dialog(), and update_cma_tab().
|
private |
Definition at line 467 of file citydlg.h.
Referenced by city_dialog(), and update_cma_tab().
|
private |
Definition at line 474 of file citydlg.h.
Referenced by city_dialog(), cma_remove(), cma_selected(), update_cma_tab(), update_sliders(), and ~city_dialog().
GtkWidget* city_dialog::container |
Definition at line 189 of file citydlg.c.
Referenced by city_dialog_update_counters(), create_and_append_counters_page(), and create_city_dialog().
struct { ... } city_dialog::counters |
struct { ... } city_dialog::counters |
|
private |
Definition at line 492 of file citydlg.h.
Referenced by city_dialog(), and update_tabs().
|
private |
Definition at line 462 of file citydlg.h.
Referenced by city_dialog(), show_counters(), show_happiness(), update_counters_table(), and ~city_dialog().
|
private |
Definition at line 447 of file citydlg.h.
Referenced by city_dialog(), and update_counters_table().
|
private |
Definition at line 470 of file citydlg.h.
Referenced by city_dialog(), and update_improvements().
|
private |
Definition at line 469 of file citydlg.h.
Referenced by city_dialog(), and update_units().
|
private |
Definition at line 513 of file citydlg.h.
Referenced by city_dialog().
|
private |
Referenced by city_dialog(), show_counters(), show_happiness(), update_tabs(), and ~city_dialog().
|
private |
Definition at line 496 of file citydlg.h.
Referenced by city_dialog(), update_disabled(), update_units(), and ~city_dialog().
int city_dialog::cwidth |
Definition at line 213 of file citydlg.c.
Referenced by citizens_callback(), citizens_callback(), and city_dialog_update_citizens().
GtkWidget* city_dialog::disband_on_settler |
Definition at line 198 of file citydlg.c.
Referenced by cityopt_callback(), create_and_append_settings_page(), and set_cityopt_values().
Definition at line 508 of file citydlg.h.
Referenced by buy(), change_production(), city_dialog(), city_rename(), clear_worklist(), cma_changed(), cma_double_clicked(), cma_enable(), cma_selected(), cma_slider(), cma_toggle_changed(), dbl_click_p(), disband_state_changed(), display_worklist_menu(), next_city(), prev_city(), production_changed(), qtg_city_dialog_is_open(), refresh(), save_worklist(), setup_ui(), show_targets(), show_targets_worklist(), update_building(), update_buy_button(), update_citizens(), update_cma_tab(), update_counters_table(), update_disabled(), update_improvements(), update_info_label(), update_nation_table(), update_prod_buttons(), update_sliders(), update_title(), update_units(), worklist_down(), worklist_up(), zoom_in(), and zoom_out().
Definition at line 94 of file citydlg.c.
Referenced by activate_and_exit_units_orders_city_dlg_callback(), cancel_units_orders_city_dlg_callback(), popdown_city_menu_dlg(), redraw_city_dialog(), sell_imprvm_dlg_callback(), sell_imprvm_dlg_cancel_callback(), sell_imprvm_dlg_ok_callback(), and units_orders_city_dlg_callback().
Definition at line 84 of file citydlg.c.
Referenced by create_city_options_widget_list(), create_present_supported_units_widget_list(), del_city_dialog(), disable_city_dlg_widgets(), enable_city_dlg_widgets(), real_city_dialog_popup(), rebuild_imprm_list(), redraw_city_dialog(), and refresh_city_names().
|
private |
Definition at line 477 of file citydlg.h.
Referenced by city_dialog(), show_targets(), and show_targets_worklist().
struct { ... } city_dialog::happiness |
struct { ... } city_dialog::happiness |
|
private |
Definition at line 491 of file citydlg.h.
Referenced by city_dialog(), and update_tabs().
|
private |
Definition at line 460 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 446 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 461 of file citydlg.h.
Referenced by city_dialog(), show_counters(), show_happiness(), and ~city_dialog().
GtkWidget* city_dialog::improvement_list |
Definition at line 155 of file citydlg.c.
Referenced by city_dialog_update_improvement_list(), create_citydlg_improvement_list(), and create_citydlg_improvement_list().
struct advanced_dialog * city_dialog::imprv |
Definition at line 87 of file citydlg.c.
Referenced by del_city_dialog(), disable_city_dlg_widgets(), enable_city_dlg_widgets(), rebuild_imprm_list(), and sell_imprvm_dlg_ok_callback().
GtkWidget* city_dialog::info_ebox[NUM_INFO_FIELDS] |
Definition at line 166 of file citydlg.c.
Referenced by create_and_append_happiness_page(), create_and_append_overview_page(), create_city_info_table(), and real_city_dialog_refresh().
|
private |
Definition at line 458 of file citydlg.h.
Referenced by city_dialog().
GtkWidget* city_dialog::info_label[NUM_INFO_FIELDS] |
Definition at line 167 of file citydlg.c.
Referenced by create_and_append_happiness_page(), create_and_append_overview_page(), and real_city_dialog_refresh().
|
private |
Definition at line 457 of file citydlg.h.
Referenced by city_dialog(), and update_citizens().
|
private |
Definition at line 499 of file citydlg.h.
Referenced by city_dialog(), and update_title().
|
private |
Definition at line 454 of file citydlg.h.
Referenced by city_dialog(), zoom_in(), and zoom_out().
|
private |
Definition at line 451 of file citydlg.h.
Referenced by city_dialog(), show_counters(), and show_happiness().
bool city_dialog::lock |
Definition at line 106 of file citydlg.c.
Referenced by city_dlg_callback(), disable_city_dlg_widgets(), and enable_city_dlg_widgets().
struct city_map_canvas city_dialog::map_canvas |
Definition at line 150 of file citydlg.c.
Referenced by create_and_append_happiness_page(), create_city_dialog(), create_citydlg_main_map(), create_citydlg_main_map(), draw_map_canvas(), real_city_dialog_popup(), and switch_city_callback().
cairo_surface_t * city_dialog::map_canvas_store_unscaled |
Definition at line 142 of file citydlg.c.
Referenced by canvas_draw_cb(), canvas_exposed_cb(), city_destroy_callback(), city_dialog_update_map(), and create_city_dialog().
struct { ... } city_dialog::misc |
Referenced by cityopt_callback(), create_and_append_settings_page(), and set_cityopt_values().
struct { ... } city_dialog::misc |
GtkWidget * city_dialog::name_label |
Definition at line 141 of file citydlg.c.
Referenced by city_dialog_update_title(), and create_city_dialog().
|
private |
Definition at line 473 of file citydlg.h.
Referenced by city_dialog(), update_nation_table(), and ~city_dialog().
GtkWidget* city_dialog::new_citizens_radio[3] |
Definition at line 197 of file citydlg.c.
Referenced by cityopt_callback(), create_and_append_settings_page(), and set_cityopt_values().
|
private |
Definition at line 485 of file citydlg.h.
Referenced by city_dialog(), and update_disabled().
GtkWidget * city_dialog::next_command |
Definition at line 209 of file citydlg.c.
Referenced by create_city_dialog(), and switch_city_callback().
GtkWidget * city_dialog::notebook |
Definition at line 143 of file citydlg.c.
Referenced by city_destroy_callback(), citydlg_keyboard_handler(), create_and_append_buildings_page(), create_and_append_cma_page(), create_and_append_counters_page(), create_and_append_happiness_page(), create_and_append_map_page(), create_and_append_overview_page(), create_and_append_settings_page(), create_and_append_worklist_page(), create_city_dialog(), and keyboard_handler().
struct { ... } city_dialog::overview |
Referenced by city_destroy_callback(), city_dialog_update_building(), city_dialog_update_improvement_list(), city_dialog_update_present_units(), city_dialog_update_supported_units(), create_and_append_overview_page(), create_citydlg_improvement_list(), create_citydlg_improvement_list(), create_citydlg_main_map(), create_citydlg_main_map(), draw_map_canvas(), real_city_dialog_popup(), real_city_dialog_refresh(), and switch_city_callback().
struct { ... } city_dialog::overview |
|
private |
Definition at line 472 of file citydlg.h.
Referenced by city_dialog(), update_improvements(), worklist_del(), worklist_down(), worklist_up(), and ~city_dialog().
enum { ... } city_dialog::page |
Referenced by army_city_dlg_callback(), create_and_append_map_page(), create_and_append_overview_page(), create_present_supported_units_widget_list(), happy_city_dlg_callback(), info_city_dlg_callback(), options_city_dlg_callback(), real_city_dialog_popup(), redraw_city_dialog(), supported_unit_city_dlg_callback(), and units_orders_city_dlg_callback().
enum { ... } city_dialog::page |
struct advanced_dialog * city_dialog::panel |
Definition at line 90 of file citydlg.c.
Referenced by city_dlg_callback(), create_city_options_widget_list(), create_present_supported_units_widget_list(), del_city_dialog(), disable_city_dlg_widgets(), enable_city_dlg_widgets(), free_city_units_lists(), redraw_army_city_dialog(), redraw_misc_city_dialog(), and redraw_supported_units_city_dialog().
Definition at line 138 of file citydlg.c.
Referenced by activate_and_exit_units_orders_city_dlg_callback(), army_city_dlg_callback(), button_down_citymap(), buy(), buy_callback(), buy_callback_response(), buy_prod_city_dlg_callback(), canvas_draw_cb(), canvas_exposed_cb(), change_prod_dlg_callback(), change_production_callback(), citizens_callback(), citizens_callback(), city_destroy_callback(), city_dialog_is_open(), city_dialog_update_building(), city_dialog_update_citizens(), city_dialog_update_counters(), city_dialog_update_improvement_list(), city_dialog_update_information(), city_dialog_update_information(), city_dialog_update_map(), city_dialog_update_present_units(), city_dialog_update_supported_units(), city_dialog_update_title(), city_dlg_callback(), city_rename(), cityopt_callback(), cma_city_dlg_callback(), create_and_append_cma_page(), create_and_append_happiness_page(), create_and_append_worklist_page(), create_city_dialog(), create_present_supported_units_widget_list(), create_unit_menu(), create_unit_surface(), display_worklist_menu(), enable_city_dlg_widgets(), exit_city_dlg_callback(), get_city_dialog(), happy_city_dlg_callback(), info_city_dlg_callback(), left_button_down_citymap(), misc_panel_city_dlg_callback(), new_name_city_dlg_callback(), next_prev_city_dlg_callback(), options_city_dlg_callback(), popdown_all_city_dialogs(), popdown_city_dialog(), present_unit_activate_close_callback(), present_unit_activate_close_callback(), real_city_dialog_popup(), real_city_dialog_refresh(), rebuild_imprm_list(), redraw_army_city_dialog(), redraw_supported_units_city_dialog(), refresh_unit_city_dialogs(), rename_callback(), rename_popup_callback(), resource_map_city_dlg_callback(), right_button_down_citymap(), save_worklist(), sell_callback(), sell_callback_response(), sell_imprvm_dlg_callback(), sell_imprvm_dlg_cancel_callback(), sell_imprvm_dlg_ok_callback(), set_cityopt_values(), show_info_popup(), show_info_popup(), show_units_response(), supported_unit_activate_close_callback(), supported_unit_activate_close_callback(), supported_unit_city_dlg_callback(), switch_city_callback(), target_drag_data_received(), target_drag_data_received(), and units_orders_city_dlg_callback().
GtkWidget* city_dialog::popover |
Definition at line 147 of file citydlg.c.
Referenced by close_citydlg_unit_popover(), create_city_dialog(), and create_unit_menu().
GtkWidget* city_dialog::popup_menu |
Definition at line 145 of file citydlg.c.
Referenced by city_destroy_callback(), create_city_dialog(), present_unit_callback(), and supported_unit_callback().
GtkWidget* city_dialog::present_unit_table |
Definition at line 161 of file citydlg.c.
Referenced by city_dialog_update_present_units(), and create_and_append_overview_page().
struct unit_node_vector city_dialog::present_units |
Definition at line 164 of file citydlg.c.
Referenced by city_destroy_callback(), city_dialog_update_present_units(), and create_and_append_overview_page().
GtkWidget* city_dialog::present_units_frame |
Definition at line 160 of file citydlg.c.
Referenced by city_dialog_update_present_units(), and create_and_append_overview_page().
|
private |
Definition at line 486 of file citydlg.h.
Referenced by city_dialog(), and update_disabled().
GtkWidget * city_dialog::prev_command |
Definition at line 208 of file citydlg.c.
Referenced by create_city_dialog(), and switch_city_callback().
|
private |
Definition at line 452 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 448 of file citydlg.h.
Referenced by city_dialog(), closeEvent(), hideEvent(), show_counters(), show_happiness(), showEvent(), and ~city_dialog().
struct { ... } city_dialog::production |
struct { ... } city_dialog::production |
GtkWidget* city_dialog::production_bar |
Definition at line 152 of file citydlg.c.
Referenced by city_dialog_update_building(), create_and_append_overview_page(), create_city_dialog(), create_production_header(), and create_production_header().
GtkWidget* city_dialog::production_combo |
Definition at line 153 of file citydlg.c.
Referenced by city_dialog_update_building(), and create_and_append_overview_page().
|
private |
Definition at line 471 of file citydlg.h.
Referenced by city_dialog(), refresh(), setup_ui(), update_building(), and update_disabled().
GtkWidget* city_dialog::production_label |
Definition at line 173 of file citydlg.c.
Referenced by city_dialog_update_building(), create_and_append_worklist_page(), and create_city_dialog().
|
private |
Definition at line 464 of file citydlg.h.
Referenced by city_dialog(), and update_info_label().
|
private |
Definition at line 481 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 481 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 481 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 481 of file citydlg.h.
Referenced by city_dialog().
GtkWidget* city_dialog::rename_command |
Definition at line 196 of file citydlg.c.
Referenced by create_and_append_settings_page().
GtkWidget * city_dialog::rename_shell |
Definition at line 205 of file citydlg.c.
Referenced by city_destroy_callback(), create_city_dialog(), rename_callback(), and rename_popup_callback().
Definition at line 99 of file citydlg.c.
Referenced by enable_city_dlg_widgets(), next_prev_city_dlg_callback(), real_city_dialog_popup(), and redraw_city_dialog().
int city_dialog::scroll_height |
Definition at line 509 of file citydlg.h.
Referenced by city_dialog(), impr_info::update_buildings(), and unit_info::update_units().
|
private |
Definition at line 500 of file citydlg.h.
Referenced by city_dialog(), dbl_click_p(), display_worklist_menu(), item_selected(), show_targets(), show_targets_worklist(), update_prod_buttons(), worklist_del(), worklist_down(), and worklist_up().
Impr_type_id city_dialog::sell_id |
Definition at line 211 of file citydlg.c.
Referenced by sell_callback(), and sell_callback_response().
GtkWidget * city_dialog::sell_shell |
Definition at line 203 of file citydlg.c.
Referenced by city_destroy_callback(), create_city_dialog(), sell_callback(), and sell_callback_response().
GtkWidget * city_dialog::shell |
Definition at line 140 of file citydlg.c.
Referenced by buy_callback(), city_destroy_callback(), city_dialog_update_title(), close_city_dialog(), create_and_append_happiness_page(), create_city_dialog(), real_city_dialog_popup(), rename_callback(), sell_callback(), show_info_popup(), and switch_city_callback().
|
private |
Definition at line 479 of file citydlg.h.
Referenced by city_dialog(), show_targets(), and show_targets_worklist().
|
private |
Definition at line 478 of file citydlg.h.
Referenced by city_dialog(), show_targets(), and show_targets_worklist().
GtkWidget * city_dialog::show_units_command |
Definition at line 207 of file citydlg.c.
Referenced by create_city_dialog(), and real_city_dialog_refresh().
|
private |
Definition at line 480 of file citydlg.h.
Referenced by city_dialog(), show_targets(), and show_targets_worklist().
|
private |
Definition at line 445 of file citydlg.h.
Referenced by city_dialog().
Definition at line 501 of file citydlg.h.
Referenced by city_dialog(), cma_changed(), and update_sliders().
SDL_Rect city_dialog::spec_area |
Definition at line 104 of file citydlg.c.
Referenced by city_dlg_callback(), and redraw_city_dialog().
|
private |
Definition at line 468 of file citydlg.h.
Referenced by city_dialog(), and update_units().
GtkWidget* city_dialog::supported_unit_table |
Definition at line 158 of file citydlg.c.
Referenced by city_dialog_update_supported_units(), and create_and_append_overview_page().
struct unit_node_vector city_dialog::supported_units |
Definition at line 163 of file citydlg.c.
Referenced by city_destroy_callback(), city_dialog(), city_dialog_update_supported_units(), create_and_append_overview_page(), update_disabled(), update_units(), and ~city_dialog().
GtkWidget* city_dialog::supported_units_frame |
Definition at line 157 of file citydlg.c.
Referenced by city_dialog_update_supported_units(), and create_and_append_overview_page().
|
private |
Definition at line 453 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 455 of file citydlg.h.
Referenced by create_and_append_overview_page(), create_citydlg_improvement_list(), and create_citydlg_improvement_list().
Definition at line 199 of file citydlg.c.
Referenced by create_and_append_settings_page().
GtkWidget* city_dialog::widget |
Definition at line 182 of file citydlg.c.
Referenced by city_dialog_update_counters(), create_and_append_counters_page(), create_and_append_happiness_page(), create_city_dialog(), and switch_city_callback().
|
private |
Definition at line 489 of file citydlg.h.
Referenced by city_dialog(), and update_prod_buttons().
|
private |
Definition at line 487 of file citydlg.h.
Referenced by city_dialog(), and update_prod_buttons().
|
private |
Definition at line 488 of file citydlg.h.
Referenced by city_dialog(), and update_prod_buttons().
|
private |
Definition at line 490 of file citydlg.h.
Referenced by city_dialog(), and update_prod_buttons().
GtkWidget* city_dialog::worklist |
Definition at line 176 of file citydlg.c.
Referenced by create_and_append_worklist_page(), display_worklist_menu(), real_city_dialog_refresh(), and switch_city_callback().
float city_dialog::zoom |
Definition at line 510 of file citydlg.h.
Referenced by city_dialog(), refresh(), zoom_in(), and zoom_out().
|
private |
Definition at line 493 of file citydlg.h.
Referenced by city_dialog().
|
private |
Definition at line 494 of file citydlg.h.
Referenced by city_dialog().