Freeciv-3.1
|
Go to the source code of this file.
Macros | |
#define | BLOCKM_W 52 |
#define | BLOCKU_W 28 |
#define | DEFAULT_OVERVIEW_W 156 |
#define | DEFAULT_OVERVIEW_H 104 |
#define | DEFAULT_UNITS_W (158 + BLOCKU_W) |
#define | DEFAULT_UNITS_H 104 |
Variables | |
int | overview_w |
int | overview_h |
void button_down_on_map | ( | struct mouse_button_behavior * | button_behavior | ) |
Mouse click handler
Definition at line 2280 of file mapctrl.c.
Referenced by update_button_hold_state().
void button_up_on_map | ( | struct mouse_button_behavior * | button_behavior | ) |
Use released mouse button over map.
Definition at line 2351 of file mapctrl.c.
Referenced by main_mouse_button_up_handler().
void close_game_page | ( | void | ) |
void disable_main_widgets | ( | void | ) |
Disable game page widgets.
Definition at line 2102 of file mapctrl.c.
Referenced by popup_optiondlg().
void disable_minimap_window_buttons | ( | void | ) |
Make minimap window buttons disabled.
Definition at line 1911 of file mapctrl.c.
Referenced by real_menus_update().
void disable_unitinfo_window_buttons | ( | void | ) |
Make unitinfo buttons disabled.
Definition at line 1617 of file mapctrl.c.
Referenced by real_menus_update().
void enable_and_redraw_find_city_button | ( | void | ) |
Make Find City button available.
Definition at line 2235 of file mapctrl.c.
Referenced by city_report_dialog_popdown(), and popdown_find_dialog().
void enable_and_redraw_revolution_button | ( | void | ) |
Make Revolution button available.
Definition at line 2245 of file mapctrl.c.
Referenced by popdown_government_dialog().
void enable_main_widgets | ( | void | ) |
Enable game page widgets.
Definition at line 2180 of file mapctrl.c.
Referenced by popdown_optiondlg(), and real_set_client_page().
void finger_down_on_map | ( | struct finger_behavior * | finger_behavior | ) |
void finger_up_on_map | ( | struct finger_behavior * | finger_behavior | ) |
Finger up handler
Definition at line 2267 of file mapctrl.c.
Referenced by main_finger_up_handler().
struct widget * get_minimap_window_widget | ( | void | ) |
Get main minimap widget.
Definition at line 2203 of file mapctrl.c.
Referenced by disable_minimap_widgets(), disable_minimap_window_buttons(), hide_minimap_window_buttons(), redraw_minimap_window_buttons(), refresh_overview(), set_new_order_widget_start_pos(), and show_minimap_window_buttons().
struct widget * get_research_widget | ( | void | ) |
Get main research widget.
Definition at line 2219 of file mapctrl.c.
Referenced by science_report_dialog_popdown(), science_report_dialog_popup(), science_report_dialogs_popdown_all(), and set_indicator_icons().
struct widget * get_revolution_widget | ( | void | ) |
Get main revolution widget.
Definition at line 2227 of file mapctrl.c.
Referenced by set_indicator_icons().
struct widget * get_tax_rates_widget | ( | void | ) |
Get main tax rates widget.
Definition at line 2211 of file mapctrl.c.
Referenced by economy_report_dialog_popdown(), economy_report_dialog_popup(), exit_economy_dialog_callback(), and set_indicator_icons().
struct widget * get_unit_info_window_widget | ( | void | ) |
Get main unitinfo widget.
Definition at line 2195 of file mapctrl.c.
Referenced by disable_unitinfo_window_buttons(), hide_unitinfo_window_buttons(), redraw_unit_info_label(), set_new_order_widget_start_pos(), and show_unitinfo_window_buttons().
void hide_minimap_window_buttons | ( | void | ) |
Make minimap window buttons hidden.
Definition at line 1836 of file mapctrl.c.
Referenced by real_menus_update().
void hide_unitinfo_window_buttons | ( | void | ) |
Make unitinfo buttons hidden.
Definition at line 1593 of file mapctrl.c.
Referenced by real_menus_update().
bool map_event_handler | ( | SDL_Keysym | key | ) |
Toggle map drawing stuff.
Definition at line 2445 of file mapctrl.c.
Referenced by main_key_down_handler().
void popdown_minimap_window | ( | void | ) |
Close minimap window.
Definition at line 1945 of file mapctrl.c.
Referenced by close_game_page(), and resize_minimap().
void popdown_newcity_dialog | ( | void | ) |
Close new city dialog.
Definition at line 2897 of file mapctrl.c.
Referenced by popdown_all_game_dialogs().
void popdown_unitinfo_window | ( | void | ) |
void popup_minimap_window | ( | void | ) |
Open minimap area.
Definition at line 1650 of file mapctrl.c.
Referenced by resize_minimap(), and show_game_page().
void popup_unitinfo_window | ( | void | ) |
void redraw_minimap_window_buttons | ( | void | ) |
Redraw minimap window buttons.
Definition at line 1874 of file mapctrl.c.
Referenced by toggle_map_window_callback().
int resize_minimap | ( | void | ) |
Update the size of the minimap
Definition at line 554 of file mapctrl.c.
Referenced by overview_size_changed().
int resize_unit_info | ( | void | ) |
void set_new_minimap_window_pos | ( | void | ) |
This Function is used when resize main_data.screen. We must set new MiniMap start position.
Definition at line 1386 of file mapctrl.c.
Referenced by popup_minimap_window(), real_resize_window_callback(), and toggle_map_window_callback().
void set_new_unitinfo_window_pos | ( | void | ) |
This Function is used when resize main_data.screen. We must set new Units Info Win. start position.
Definition at line 1332 of file mapctrl.c.
Referenced by popup_unitinfo_window(), real_resize_window_callback(), and toggle_unit_info_window_callback().
void show_game_page | ( | void | ) |
Create and show game page.
Definition at line 1958 of file mapctrl.c.
Referenced by real_set_client_page().
void show_minimap_window_buttons | ( | void | ) |
Make minimap window buttons visible.
Definition at line 1798 of file mapctrl.c.
Referenced by real_menus_update().
void show_unitinfo_window_buttons | ( | void | ) |
Make unitinfo buttons visible.
Definition at line 1569 of file mapctrl.c.
Referenced by real_menus_update().
|
extern |
Definition at line 100 of file mapctrl.c.
Referenced by minimap_window_callback(), popup_minimap_window(), and resize_minimap().
|
extern |
Definition at line 99 of file mapctrl.c.
Referenced by minimap_window_callback(), popup_minimap_window(), resize_minimap(), and toggle_map_window_callback().