Freeciv-3.2
Loading...
Searching...
No Matches
Functions
hudwidget.cpp File Reference
#include <QAction>
#include <QApplication>
#include <QComboBox>
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QHeaderView>
#include <QLineEdit>
#include <QPainter>
#include <QPaintEvent>
#include <QRadioButton>
#include <QSpacerItem>
#include <QVBoxLayout>
#include "movement.h"
#include "research.h"
#include "tile.h"
#include "unit.h"
#include "unitlist.h"
#include "client_main.h"
#include "text.h"
#include "fc_client.h"
#include "fonts.h"
#include "hudwidget.h"
#include "sprite.h"

Go to the source code of this file.

Functions

const charcalendar_text (void)
 
bool goto_is_active (void)
 
static QString popup_terrain_info (struct tile *ptile)
 
bool has_player_unit_type (Unit_type_id utype)
 
void show_new_turn_info ()
 

Function Documentation

◆ calendar_text()

const char * calendar_text ( void  )

◆ goto_is_active()

bool goto_is_active ( void  )

◆ 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 60 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 1619 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 1661 of file hudwidget.cpp.

Referenced by qtg_start_turn(), and fc_client::switch_page().