Freeciv21
Develop your civilization from humble roots to a global empire
themes_g.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void gui_load_theme (const QString &directory, const QString &theme_name)
 Loads a qt theme directory/theme_name. More...
 
QStringList get_useable_themes_in_directory (QString &directory)
 Return an array of names of usable themes in the given directory. More...
 

Function Documentation

◆ get_useable_themes_in_directory()

QStringList get_useable_themes_in_directory ( QString &  directory)

Return an array of names of usable themes in the given directory.

Array size is stored in count. The caller is responsible for freeing the array and the names

Definition at line 215 of file themes.cpp.

Referenced by init_themes().

◆ gui_load_theme()

void gui_load_theme ( const QString &  directory,
const QString &  theme_name 
)

Loads a qt theme directory/theme_name.

Definition at line 120 of file themes.cpp.

Referenced by load_theme().