![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <QString>#include <QVector>
Include dependency graph for themes_common.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | init_themes () |
| Initialized themes data. More... | |
| const QVector< QString > * | get_themes_list (const struct option *poption) |
| Return a static string vector of useable theme names. More... | |
| bool | load_theme (const QString &theme_name) |
| Loads a theme with the given name. More... | |
| void | theme_reread_callback (struct option *option) |
| Wrapper for load_theme. More... | |
Return a static string vector of useable theme names.
Definition at line 78 of file themes_common.cpp.
Referenced by init_client_options().
| void init_themes | ( | ) |
Initialized themes data.
Definition at line 56 of file themes_common.cpp.
Referenced by client_main().
| bool load_theme | ( | const QString & | theme_name | ) |
Loads a theme with the given name.
First matching directory will be used. If there's no such theme the function returns FALSE.
Definition at line 104 of file themes_common.cpp.
Referenced by gui_clear_theme(), map_view::shortcut_pressed(), theme_reread_callback(), and ui_main().
| void theme_reread_callback | ( | struct option * | poption | ) |
Wrapper for load_theme.
It's is used by local options dialog
Definition at line 120 of file themes_common.cpp.
Referenced by init_client_options().