Freeciv-3.2
|
Go to the source code of this file.
Data Structures | |
struct | zoom_data |
Functions | |
void | zoom_set (float new_zoom) |
void | zoom_1_0 (void) |
void | zoom_set_steps (float *steps) |
void | zoom_phase_set (bool individual_tiles) |
void | zoom_step_up (void) |
void | zoom_step_down (void) |
void | zoom_start (float tgt, bool tgt_1_0, float factor, float interval) |
bool | zoom_update (double time_until_next_call) |
Variables | |
float | map_zoom = 1.0 |
bool | zoom_enabled = FALSE |
float | mouse_zoom = 1.0 |
bool | zoom_individual_tiles = TRUE |
static float | default_zoom_steps [] |
static float * | zoom_steps = default_zoom_steps |
static struct zoom_data | zdata = { FALSE, 0.0, 0.0 } |
Set map zoom level to exactly one.
Definition at line 66 of file zoom.c.
Referenced by set_client_page_callback(), zoom_step_down(), zoom_step_up(), and zoom_update().
Set map zoom level.
Definition at line 49 of file zoom.c.
Referenced by set_client_page_callback(), zoom_step_down(), zoom_step_up(), and zoom_update().
Zoom level one step down
Definition at line 130 of file zoom.c.
Referenced by key_press_map_canvas(), and key_press_map_canvas().
Zoom level one step up
Definition at line 106 of file zoom.c.
Referenced by key_press_map_canvas(), and key_press_map_canvas().
Next step from the active zoom.
Definition at line 172 of file zoom.c.
Referenced by real_timer_callback().
|
static |
Definition at line 31 of file zoom.c.
Referenced by zoom_set_steps().
float map_zoom = 1.0 |
Definition at line 25 of file zoom.c.
Referenced by anchor_selection_rectangle(), base_canvas_to_map_pos(), battle_animation(), info_tile::calc_size(), can_do_cached_drawing(), center_tile_mapcanvas(), decrease_unit_hp_smooth(), define_tiles_within_rectangle(), draw_calculated_trade_routes(), draw_segment(), draw_trade_route_line(), editor_end_selection_rectangle(), explosion_animation(), get_center_tile_mapcanvas(), get_mapview_scroll_step(), get_mapview_scroll_window(), gui_to_natural_pos(), link_mark_draw(), map_canvas_resized(), map_view::mouseMoveEvent(), move_unit_map_canvas(), movement_animation(), nuke_animation(), popit(), popup_find_dialog(), popupinfo_positioning_callback(), put_cross_overlay_tile(), put_nuke_mushroom_pixmaps(), put_one_tile(), put_window_near_map_tile(), scroll_mapview(), map_view::shortcut_pressed(), show_city_descriptions(), show_full_citybar(), show_small_citybar(), show_tile_label(), show_tile_labels(), tile_to_canvas_pos(), tile_visible_and_not_on_border_mapcanvas(), tile_visible_mapcanvas(), trade_route_to_canvas_lines(), unqueue_mapview_updates(), update_map_canvas(), update_selection_rectangle(), zoom_1_0(), zoom_phase_set(), and zoom_set().
float mouse_zoom = 1.0 |
Definition at line 28 of file zoom.c.
Referenced by action_button_pressed(), adjust_workers_button_pressed(), anchor_selection_rectangle(), butt_down_mapcanvas(), button_down_on_map(), button_up_on_map(), editor_end_selection_rectangle(), editor_mouse_button_press(), editor_mouse_move(), key_city_overlay(), leave_mapcanvas(), left_butt_down_mapcanvas(), main_finger_down_handler(), main_mouse_button_down_handler(), main_mouse_motion_handler(), map_canvas_draw(), map_canvas_resized(), map_canvas_size_refresh(), maybe_activate_keyboardless_goto(), middle_butt_down_mapcanvas(), mouse_scroll_mapcanvas(), mouse_scroll_mapcanvas(), move_mapcanvas(), move_mapcanvas(), popit(), recenter_button_pressed(), release_goto_button(), right_butt_down_mapcanvas(), scrollbar_jump_callback(), update_line(), update_selection_rectangle(), wakeup_button_pressed(), zoom_1_0(), zoom_set(), zoom_start(), zoom_step_down(), zoom_step_up(), and zoom_update().
Referenced by zoom_start(), and zoom_update().
Definition at line 26 of file zoom.c.
Referenced by zoom_1_0(), zoom_phase_set(), and zoom_set().
Definition at line 29 of file zoom.c.
Referenced by zoom_phase_set(), and zoom_set().
|
static |
Definition at line 35 of file zoom.c.
Referenced by zoom_set_steps(), zoom_step_down(), and zoom_step_up().