mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 20:04:31 +01:00
Add shiny gold icon animation
This commit is contained in:
1 parent
6df008c80b
commit
a1453c6436
7 files changed
+62
-8
No files matched your search
@@ -1013,10 +1013,13 @@ void RadioButton::Draw(UIContext &dc) {
|
||||
|
||||
void ImageView::GetContentDimensions(const UIContext &dc, float &w, float &h) const {
|
||||
dc.Draw()->GetAtlas()->measureImage(atlasImage_, &w, &h);
|
||||
w *= scale_;
|
||||
h *= scale_;
|
||||
// TODO: involve sizemode
|
||||
}
|
||||
|
||||
void ImageView::Draw(UIContext &dc) {
|
||||
dc.Begin();
|
||||
const AtlasImage *img = dc.Draw()->GetAtlas()->getImage(atlasImage_);
|
||||
if (img) {
|
||||
// TODO: involve sizemode
|
||||
|
||||
Reference in new issue
Block a user