Freeciv21
Develop your civilization from humble roots to a global empire
themes_g.h
Go to the documentation of this file.
1 /***********************************************************************
2 Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  /\/\ part of Freeciv21. Freeciv21 is free software: you can
4  \_\ _..._ redistribute it and/or modify it under the terms of the
5  (" )(_..._) GNU General Public License as published by the Free
6  ^^ // \\ Software Foundation, either version 3 of the License,
7  or (at your option) any later version. You should have
8 received a copy of the GNU General Public License along with Freeciv21.
9  If not, see https://www.gnu.org/licenses/.
10 ***********************************************************************/
11 #pragma once
12 
13 class QString;
14 class QStringList;
15 
16 void gui_load_theme(const QString &directory, const QString &theme_name);
17 QStringList get_useable_themes_in_directory(QString &directory);
QStringList get_useable_themes_in_directory(QString &directory)
Return an array of names of usable themes in the given directory.
Definition: themes.cpp:215
void gui_load_theme(const QString &directory, const QString &theme_name)
Loads a qt theme directory/theme_name.
Definition: themes.cpp:120