diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/aolayer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/aolayer.h b/include/aolayer.h index 8510edfb..6b4fb1f8 100644 --- a/include/aolayer.h +++ b/include/aolayer.h @@ -73,6 +73,9 @@ public: // Move the label itself around void move(int ax, int ay); + // Move the label and center it + void move_and_center(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); @@ -132,6 +135,8 @@ protected: // Set the movie's frame to provided pixmap void set_frame(QPixmap f_pixmap); + // Center the QLabel in the viewport based on the dimensions of f_pixmap + void center_pixmap(QPixmap f_pixmap); signals: void done(); |
