mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
size_t duration { 0 };
|
||||
};
|
||||
|
||||
const Gfx::Bitmap* bitmap(size_t frame_index = 0) const;
|
||||
Gfx::Bitmap const* bitmap(size_t frame_index = 0) const;
|
||||
int frame_duration(size_t frame_index) const;
|
||||
size_t frame_count() const
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ public:
|
|||
void update_volatility();
|
||||
|
||||
private:
|
||||
explicit ImageResource(const LoadRequest&);
|
||||
explicit ImageResource(LoadRequest const&);
|
||||
explicit ImageResource(Resource&);
|
||||
|
||||
void decode_if_needed() const;
|
||||
|
@ -63,7 +63,7 @@ public:
|
|||
|
||||
protected:
|
||||
ImageResource* resource() { return static_cast<ImageResource*>(ResourceClient::resource()); }
|
||||
const ImageResource* resource() const { return static_cast<const ImageResource*>(ResourceClient::resource()); }
|
||||
ImageResource const* resource() const { return static_cast<ImageResource const*>(ResourceClient::resource()); }
|
||||
|
||||
private:
|
||||
virtual Resource::Type client_type() const override { return Resource::Type::Image; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue