mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
36 lines
726 B
C++
36 lines
726 B
C++
/*
|
|
* Copyright (c) 2024, circl <circl.lastname@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibGUI/Button.h>
|
|
#include <LibGUI/CheckBox.h>
|
|
#include <LibGUI/RadioButton.h>
|
|
#include <LibGUI/TextBox.h>
|
|
#include <LibGUI/Window.h>
|
|
|
|
namespace Screenshot {
|
|
|
|
class MainWindow final : public GUI::Window {
|
|
C_OBJECT(MainWindow)
|
|
public:
|
|
virtual ~MainWindow() override = default;
|
|
|
|
private:
|
|
MainWindow();
|
|
|
|
void take_screenshot();
|
|
|
|
RefPtr<GUI::Button> m_ok_button;
|
|
RefPtr<GUI::Button> m_cancel_button;
|
|
RefPtr<GUI::Button> m_browse;
|
|
RefPtr<GUI::RadioButton> m_selected_area;
|
|
RefPtr<GUI::CheckBox> m_edit_in_pixel_paint;
|
|
RefPtr<GUI::TextBox> m_destination;
|
|
};
|
|
|
|
}
|