rsx: Reverse declaration order for animated icon

This commit is contained in:
kd-11 2023-02-03 03:27:08 +03:00 committed by kd-11
parent 97b36eb53c
commit faaa72d398

View file

@ -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;
}; };
} }
} }