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

PixelPaint: Move the conversion to pixels into the EditGuideDialog

This seems like the most appropriate location to put this.
This commit is contained in:
Tobias Christiansen 2021-08-31 18:10:27 +02:00 committed by Andreas Kling
parent abcb982485
commit 7e2028a3cd
3 changed files with 31 additions and 22 deletions

View file

@ -19,6 +19,8 @@ public:
String const offset() const { return m_offset; }
Guide::Orientation orientation() const { return m_orientation; }
Optional<float> offset_as_pixel(ImageEditor const&);
private:
EditGuideDialog(GUI::Window* parent_window);