mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +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:
parent
abcb982485
commit
7e2028a3cd
Notes:
sideshowbarker
2024-07-18 04:58:20 +09:00
Author: https://github.com/TobyAsE
Commit: 7e2028a3cd
Pull-request: https://github.com/SerenityOS/serenity/pull/9706
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/mustafaquraish
3 changed files with 31 additions and 22 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue