Freeciv-3.2
|
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().
Disable game page widgets.
Definition at line 2102 of file mapctrl.c.
Referenced by popup_optiondlg().
Make minimap window buttons disabled.
Definition at line 1911 of file mapctrl.c.
Referenced by real_menus_update().
Make unitinfo buttons disabled.
Definition at line 1617 of file mapctrl.c.
Referenced by real_menus_update().
Make Find City button available.
Definition at line 2235 of file mapctrl.c.
Referenced by city_report_dialog_popdown(), and popdown_find_dialog().
Make Revolution button available.
Definition at line 2245 of file mapctrl.c.
Referenced by popdown_government_dialog().
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().
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().
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().
Get main revolution widget.
Definition at line 2227 of file mapctrl.c.
Referenced by set_indicator_icons().
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().
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().
Make minimap window buttons hidden.
Definition at line 1836 of file mapctrl.c.
Referenced by real_menus_update().
Make unitinfo buttons hidden.
Definition at line 1593 of file mapctrl.c.
Referenced by real_menus_update().
bool map_event_handler | ( | SDL_KeyboardEvent * | key | ) |
Close minimap window.
Definition at line 1945 of file mapctrl.c.
Referenced by close_game_page(), and resize_minimap().
Close new city dialog.
Definition at line 2897 of file mapctrl.c.
Referenced by popdown_all_game_dialogs().
Open minimap area.
Definition at line 1650 of file mapctrl.c.
Referenced by resize_minimap(), and show_game_page().
Redraw minimap window buttons.
Definition at line 1874 of file mapctrl.c.
Referenced by toggle_map_window_callback().
Update the size of the minimap
Definition at line 554 of file mapctrl.c.
Referenced by overview_size_changed().
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().
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().
Create and show game page.
Definition at line 1958 of file mapctrl.c.
Referenced by real_set_client_page().
Make minimap window buttons visible.
Definition at line 1798 of file mapctrl.c.
Referenced by real_menus_update().
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().