aboutsummaryrefslogtreecommitdiff
path: root/include/aoscene.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-07-31 16:17:05 -0500
committerGitHub <noreply@github.com>2020-07-31 16:17:05 -0500
commitec1c95bdb33dd063880c4cb6c3c9c3cf5d0ed454 (patch)
tree19e9217126837cac1ae3ab025b050bb3cfbda64b /include/aoscene.h
parent8ea01d4c3139e27e84091c0b24266d9fb50ddf38 (diff)
parent36b5af3cb9ce8e5530c5bd9353a4e2f10da506b6 (diff)
Merge pull request #217 from AttorneyOnline/kfo-ao2
Final mega-merge with the Killing Fever Online client, along with other associated bugfixes and feature additions. This commit is release-ready.
Diffstat (limited to 'include/aoscene.h')
-rw-r--r--include/aoscene.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/aoscene.h b/include/aoscene.h
index 7c1ef6fd..726e2641 100644
--- a/include/aoscene.h
+++ b/include/aoscene.h
@@ -16,11 +16,27 @@ public:
void set_image(QString p_image);
void set_legacy_desk(QString p_image);
+ // Move the label itself around
+ void move(int ax, int ay);
+
+ // This is somewhat pointless now as there's no "QMovie" object to resize, aka
+ // no "combo" to speak of
+ void combo_resize(int w, int h);
+
private:
QWidget *m_parent;
QMovie *m_movie;
AOApplication *ao_app;
QString last_image;
+
+ // These are the X and Y values before they are fixed based on the sprite's
+ // width.
+ int x = 0;
+ int y = 0;
+ // These are the width and height values before they are fixed based on the
+ // sprite's width.
+ int f_w = 0;
+ int f_h = 0;
};
#endif // AOSCENE_H