1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

LibGUI: Make Dialog::ScreenPosition an enum class

This commit is contained in:
Sam Atkins 2022-05-13 14:19:18 +01:00 committed by Linus Groh
parent cdffe556c8
commit cd5210a87a
3 changed files with 14 additions and 14 deletions

View file

@ -20,7 +20,7 @@ public:
GUI::Action const* selected_action() const { return m_selected_action; }
private:
explicit CommandPalette(GUI::Window& parent_window, ScreenPosition screen_position = CenterWithinParent);
explicit CommandPalette(GUI::Window& parent_window, ScreenPosition = ScreenPosition::CenterWithinParent);
virtual ~CommandPalette() override = default;
void collect_actions(GUI::Window& parent_window);