aboutsummaryrefslogtreecommitdiff
path: root/path_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'path_functions.cpp')
-rw-r--r--path_functions.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/path_functions.cpp b/path_functions.cpp
index 0093e4df..c4c24406 100644
--- a/path_functions.cpp
+++ b/path_functions.cpp
@@ -1,4 +1,5 @@
#include "aoapplication.h"
+#include "courtroom.h"
#include <QDir>
#include <QDebug>
@@ -32,3 +33,13 @@ QString AOApplication::get_demothings_path()
{
return get_base_path() + "misc/demothings/";
}
+
+QString Courtroom::get_background_path()
+{
+ return ao_app->get_base_path() + "background/" + current_background.toLower() + "/";
+}
+
+QString Courtroom::get_default_background_path()
+{
+ return ao_app->get_base_path() + "background/gs4/";
+}