Freeciv21
Develop your civilization from humble roots to a global empire
hudwidget.cpp File Reference
#include "hudwidget.h"
#include <QComboBox>
#include <QDialogButtonBox>
#include <QGroupBox>
#include <QHeaderView>
#include <QKeyEvent>
#include <QPainter>
#include <QRadioButton>
#include <QVBoxLayout>
#include "movement.h"
#include "nation.h"
#include "research.h"
#include "shortcuts.h"
#include "tile.h"
#include "tileset/tilespec.h"
#include "unit.h"
#include "unitlist.h"
#include "calendar.h"
#include "canvas.h"
#include "client_main.h"
#include "fc_client.h"
#include "fonts.h"
#include "goto.h"
#include "icons.h"
#include "page_game.h"
#include "text.h"
#include "tileset/sprite.h"
#include "top_bar.h"
#include "views/view_map.h"
#include "views/view_map_common.h"
#include "widgets/decorations.h"
+ Include dependency graph for hudwidget.cpp:

Go to the source code of this file.

Functions

static QString popup_terrain_info (struct tile *ptile)
 Tooltip text for terrain information. More...
 
bool has_player_unit_type (Unit_type_id utype)
 Returns true if player has any unit of unit_type. More...
 
void show_new_turn_info ()
 Shows new turn information with big font. More...
 

Function Documentation

◆ has_player_unit_type()

bool has_player_unit_type ( Unit_type_id  utype)

Returns true if player has any unit of unit_type.

Definition at line 51 of file hudwidget.cpp.

Referenced by unit_hud_selector::unit_hud_selector(), and mr_menu::update_airlift_menu().

◆ popup_terrain_info()

QString popup_terrain_info ( struct tile ptile)
static

Tooltip text for terrain information.

Definition at line 1260 of file hudwidget.cpp.

Referenced by hud_units::update_actions().

◆ show_new_turn_info()

void show_new_turn_info ( )

Shows new turn information with big font.

Definition at line 1305 of file hudwidget.cpp.

Referenced by fc_client::current_page(), and start_turn().