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
commit 7e2028a3cd
Notes: sideshowbarker 2024-07-18 04:58:20 +09:00
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);