Freeciv21
Develop your civilization from humble roots to a global empire
unitselect.cpp File Reference
#include "unitselect.h"
#include <QMouseEvent>
#include <QPainter>
#include <QTimer>
#include <QtMath>
#include "movement.h"
#include "canvas.h"
#include "client_main.h"
#include "control.h"
#include "fonts.h"
#include "page_game.h"
#include "tileset/tilespec.h"
#include "utils/unit_utils.h"
#include "views/view_map.h"
#include "views/view_map_common.h"
+ Include dependency graph for unitselect.cpp:

Go to the source code of this file.

Functions

void toggle_unit_sel_widget (struct tile *ptile)
 Shows/closes unit selection widget. More...
 
void update_unit_sel ()
 Update unit selection widget if open. More...
 
void popdown_unit_sel ()
 Closes unit selection widget. More...
 

Function Documentation

◆ popdown_unit_sel()

void popdown_unit_sel ( )

Closes unit selection widget.

Definition at line 419 of file unitselect.cpp.

Referenced by popdown_all_game_dialogs().

◆ toggle_unit_sel_widget()

void toggle_unit_sel_widget ( struct tile ptile)

Shows/closes unit selection widget.

Definition at line 389 of file unitselect.cpp.

Referenced by map_view::shortcut_pressed(), and unit_select_dialog_popup().

◆ update_unit_sel()

void update_unit_sel ( )

Update unit selection widget if open.

Definition at line 406 of file unitselect.cpp.

Referenced by unit_select_dialog_update_real().