diff options
| author | Crystalwarrior <Varsash@Gmail.com> | 2021-01-19 16:02:28 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-19 16:02:28 +0300 |
| commit | 0926f3c15842a71002c0ec374fd54832469036d8 (patch) | |
| tree | e679c1b6f567f29ae09cbd52fa442dd752107f85 /include | |
| parent | 8c60fb2fcd32081daae94de62ff1d626192d7fae (diff) | |
Implement sticker logic with animated image support (#414)
* Implement sticker logic with animated image support (will probably be remade in a much better way for AOLayers)
* port to aolayer
Co-authored-by: in1tiate <radwoodward@vikings.grayson.edu>
Diffstat (limited to 'include')
| -rw-r--r-- | include/aolayer.h | 7 | ||||
| -rw-r--r-- | include/courtroom.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/aolayer.h b/include/aolayer.h index 2e0510a..6265cec 100644 --- a/include/aolayer.h +++ b/include/aolayer.h @@ -211,4 +211,11 @@ public: InterfaceLayer(QWidget *p_parent, AOApplication *p_ao_app); void load_image(QString p_filename, QString p_miscname); }; + +class StickerLayer : public AOLayer { + Q_OBJECT +public: + StickerLayer(QWidget *p_parent, AOApplication *p_ao_app); + void load_image(QString p_charname); +}; #endif // AOLAYER_H diff --git a/include/courtroom.h b/include/courtroom.h index 5ad6fa6..f12b47f 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -617,6 +617,8 @@ private: ScrollText *ui_music_name; InterfaceLayer *ui_music_display; + StickerLayer *ui_vp_sticker; + AOButton *ui_pair_button; QListWidget *ui_pair_list; QSpinBox *ui_pair_offset_spinbox; |
