aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h6
-rw-r--r--include/aoimage.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index f499faf..052ad08 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -226,6 +226,9 @@ public:
//Returns the dimensions of widget with specified identifier from p_file
pos_size_type get_element_dimensions(QString p_identifier, QString p_file);
+ //Returns the value to you
+ QString get_design_element(QString p_identifier, QString p_file);
+
//Returns the name of the font with p_identifier from p_file
QString get_font_name(QString p_identifier, QString p_file);
@@ -247,6 +250,9 @@ public:
// Can we use APNG for this? If not, WEBP? If not, GIF? If not, fall back to PNG.
QString get_image_suffix(QString path_to_check);
+ // If this image is static and non-animated, return the supported static image formats. Currently only PNG.
+ QString get_static_image_suffix(QString path_to_check);
+
//Returns the value of p_search_line within target_tag and terminator_tag
QString read_char_ini(QString p_char, QString p_search_line, QString target_tag);
diff --git a/include/aoimage.h b/include/aoimage.h
index 4713be0..25c8e06 100644
--- a/include/aoimage.h
+++ b/include/aoimage.h
@@ -17,8 +17,8 @@ public:
QWidget *m_parent;
AOApplication *ao_app;
- void set_image(QString p_image);
- void set_image_from_path(QString p_path);
+ bool set_image(QString p_image);
+ bool set_chatbox(QString p_path);
void set_size_and_pos(QString identifier);
};