1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

WindowServer: Make WindowFrame::shadow_bitmap() const

There is no reason for callers to mutate the shadow bitmaps returned by
this function.
This commit is contained in:
Andreas Kling 2021-11-14 11:31:33 +01:00
parent 530360ce77
commit 583fbf7111
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ private:
void paint_normal_frame(Gfx::Painter&);
void paint_tool_window_frame(Gfx::Painter&);
void paint_menubar(Gfx::Painter&);
MultiScaleBitmaps* shadow_bitmap() const;
MultiScaleBitmaps const* shadow_bitmap() const;
Gfx::IntRect inflated_for_shadow(const Gfx::IntRect&) const;
void handle_menubar_mouse_event(const MouseEvent&);