FrHun
f59c167bb0
Applications+Games+LibGUI: Fix layout problems
2022-06-30 11:51:25 +02:00
Karol Kosek
72be27e16c
PixelPaint: Use default buttons in EditGuideDialog
2022-06-02 22:33:00 +02:00
Sam Atkins
cdffe556c8
LibGUI+Userland: Make Dialog::ExecResult an enum class
2022-05-13 16:27:43 +02:00
Idan Horowitz
086969277e
Everywhere: Run clang-format
2022-04-01 21:24:45 +01:00
Marcus Nilsson
67f349be46
PixelPaint: Keep a RefPtr to offset_text_box in EditGuideDialog
...
Keep a RefPtr to offset_text_box in EditGuideDialog instead of using
a local pointer. Previously the lambda in ok_button.on_click() would
outlive the local variable causing a crash.
2021-11-27 11:04:48 +01:00
Tobias Christiansen
c9e6afe6a8
PixelPaint: Allow initial values for the EditGuideDialog
...
This way we can feed it the values if we wanted to change an existing
Guide and handle the default as before.
That we have to pass a String here is a bit ugly.
2021-09-01 13:46:44 +02:00
Tobias Christiansen
7e2028a3cd
PixelPaint: Move the conversion to pixels into the EditGuideDialog
...
This seems like the most appropriate location to put this.
2021-09-01 13:46:44 +02:00
Tobias Christiansen
abcb982485
PixelPaint: Rename CreateNewGuideDialog to EditGuideDialog
...
This doesn't change the behavior at all but sets the naming up be more
descriptive on what it does in the next patches.
2021-09-01 13:46:44 +02:00