![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <view_map.h>
Inheritance diagram for info_tile:
Collaboration diagram for info_tile:Static Public Member Functions | |
| static info_tile * | i (struct tile *p=nullptr) |
| Returns given instance. More... | |
| static void | drop () |
| Deletes current instance. More... | |
| static bool | shown () |
| Check if the info tile is currently shown. More... | |
Public Attributes | |
| struct tile * | itile |
Private Member Functions | |
| Q_DISABLE_COPY (info_tile) | |
| info_tile (struct tile *ptile, QWidget *parent=0) | |
| Constructor for info_tile. More... | |
| void | calc_size () |
| Calculates size of info_tile and moves it to be fully visible. More... | |
Static Private Attributes | |
| static info_tile * | m_instance = nullptr |
Definition at line 115 of file view_map.h.
|
private |
|
private |
Calculates size of info_tile and moves it to be fully visible.
Definition at line 625 of file view_map.cpp.
Referenced by info_tile().
|
static |
Deletes current instance.
Definition at line 657 of file view_map.cpp.
Referenced by popdown_tile_info().
Returns given instance.
Definition at line 671 of file view_map.cpp.
Referenced by popdown_tile_info(), and popup_tile_info().
|
private |
|
static |
Check if the info tile is currently shown.
Definition at line 666 of file view_map.cpp.
Referenced by map_view::shortcut_released().
| struct tile* info_tile::itile |
Definition at line 124 of file view_map.h.
Referenced by calc_size(), and info_tile().