mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
rsx: Reverse declaration order for animated icon
This commit is contained in:
parent
97b36eb53c
commit
faaa72d398
1 changed files with 7 additions and 6 deletions
|
@ -8,7 +8,11 @@ namespace rsx
|
||||||
{
|
{
|
||||||
class animated_icon : public image_view
|
class animated_icon : public image_view
|
||||||
{
|
{
|
||||||
std::unique_ptr<image_info> m_icon;
|
public:
|
||||||
|
animated_icon(const char* icon_name);
|
||||||
|
|
||||||
|
void update_animation_frame(compiled_resource& result);
|
||||||
|
compiled_resource& get_compiled() override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Some layout and frame data
|
// Some layout and frame data
|
||||||
|
@ -27,11 +31,8 @@ namespace rsx
|
||||||
u64 m_current_frame_duration = 0;
|
u64 m_current_frame_duration = 0;
|
||||||
u64 m_last_update_timestamp = 0;
|
u64 m_last_update_timestamp = 0;
|
||||||
|
|
||||||
public:
|
private:
|
||||||
animated_icon(const char* icon_name);
|
std::unique_ptr<image_info> m_icon;
|
||||||
|
|
||||||
void update_animation_frame(compiled_resource& result);
|
|
||||||
compiled_resource& get_compiled() override;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue