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

QuickShow: Toolbar for who love to use mouse

This commit is contained in:
Hüseyin ASLITÜRK 2020-04-12 17:40:34 +03:00 committed by Andreas Kling
parent 6c1af174a1
commit 70873fdf02
3 changed files with 40 additions and 7 deletions

View file

@ -48,6 +48,7 @@ public:
const String& path() const { return m_path; }
void set_scale(int);
int scale() { return m_scale; }
void set_toolbar_height(int height) { m_toolbar_height = height; }
void clear();
void flip(Gfx::Orientation);
@ -73,6 +74,7 @@ private:
String m_path;
RefPtr<Gfx::Bitmap> m_bitmap;
int m_toolbar_height { 28 };
Gfx::Rect m_bitmap_rect;
int m_scale { 100 };