Freeciv-3.3
Loading...
Searching...
No Matches
Data Structures | Namespaces | Functions | Variables
fonts.h File Reference
#include <QMap>
#include "listener.h"

Go to the source code of this file.

Data Structures

class  fc_font
 

Namespaces

namespace  fonts
 

Functions

void configure_fonts ()
 
QString configure_font (QString font_name, QStringList sl, int size, bool bold=false)
 

Variables

const char *const fonts::default_font = "gui_qt_font_default"
 
const char *const fonts::notify_label = "gui_qt_font_notify_label"
 
const char *const fonts::help_label = "gui_qt_font_help_label"
 
const char *const fonts::help_text = "gui_qt_font_help_text"
 
const char *const fonts::chatline = "gui_qt_font_chatline"
 
const char *const fonts::city_names = "gui_qt_font_city_names"
 
const char *const fonts::city_productions = "gui_qt_font_city_productions"
 
const char *const fonts::reqtree_text = "gui_qt_font_reqtree_text"
 

Function Documentation

◆ configure_font()

QString configure_font ( QString  font_name,
QStringList  sl,
int  size,
bool  bold 
)

Returns long font name, sets given font for use

Definition at line 217 of file fonts.cpp.

Referenced by configure_single().

◆ configure_fonts()

void configure_fonts ( )

Tries to choose good fonts for freeciv-qt

Definition at line 154 of file fonts.cpp.

Referenced by qtg_ui_main().