mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
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.
This commit is contained in:
parent
b3e3e4d45d
commit
abcb982485
5 changed files with 13 additions and 12 deletions
32
Userland/Applications/PixelPaint/EditGuideDialog.h
Normal file
32
Userland/Applications/PixelPaint/EditGuideDialog.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Tobias Christiansen <tobyase@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Guide.h"
|
||||
#include "ImageEditor.h"
|
||||
#include <LibGUI/Dialog.h>
|
||||
|
||||
namespace PixelPaint {
|
||||
|
||||
class EditGuideDialog final : public GUI::Dialog {
|
||||
C_OBJECT(EditGuideDialog);
|
||||
|
||||
public:
|
||||
String const offset() const { return m_offset; }
|
||||
Guide::Orientation orientation() const { return m_orientation; }
|
||||
|
||||
private:
|
||||
EditGuideDialog(GUI::Window* parent_window);
|
||||
|
||||
String m_offset;
|
||||
Guide::Orientation m_orientation;
|
||||
|
||||
bool m_is_horizontal_checked { false };
|
||||
bool m_is_vertical_checked { false };
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue