diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index 995c39d0fb..0c8dbd271d 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -508,6 +508,12 @@ PRIVATE dialogs/dialogs_search_from_controllers.h dialogs/dialogs_widget.cpp dialogs/dialogs_widget.h + editor/photo_editor.cpp + editor/photo_editor.h + editor/photo_editor_content.cpp + editor/photo_editor_content.h + editor/photo_editor_controls.cpp + editor/photo_editor_controls.h export/export_manager.cpp export/export_manager.h export/view/export_view_content.cpp diff --git a/Telegram/SourceFiles/editor/photo_editor.cpp b/Telegram/SourceFiles/editor/photo_editor.cpp new file mode 100644 index 0000000000..0030351ab2 --- /dev/null +++ b/Telegram/SourceFiles/editor/photo_editor.cpp @@ -0,0 +1,21 @@ +/* +This file is part of Telegram Desktop, +the official desktop application for the Telegram messaging service. + +For license and copyright information please follow this link: +https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +*/ +#include "editor/photo_editor.h" + +#include "editor/photo_editor_content.h" +#include "editor/photo_editor_controls.h" + +namespace Editor { + +PhotoEditor::PhotoEditor( + not_null parent, + std::shared_ptr photo) +: RpWidget(parent) { +} + +} // namespace Editor diff --git a/Telegram/SourceFiles/editor/photo_editor.h b/Telegram/SourceFiles/editor/photo_editor.h new file mode 100644 index 0000000000..82b1868938 --- /dev/null +++ b/Telegram/SourceFiles/editor/photo_editor.h @@ -0,0 +1,27 @@ +/* +This file is part of Telegram Desktop, +the official desktop application for the Telegram messaging service. + +For license and copyright information please follow this link: +https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +*/ +#pragma once + +#include "ui/rp_widget.h" + +namespace Editor { + +class PhotoEditorContent; +class PhotoEditorControls; + +class PhotoEditor final : public Ui::RpWidget { +public: + PhotoEditor( + not_null parent, + std::shared_ptr photo); + +private: + +}; + +} // namespace Editor diff --git a/Telegram/SourceFiles/editor/photo_editor_content.cpp b/Telegram/SourceFiles/editor/photo_editor_content.cpp new file mode 100644 index 0000000000..dd57403b0c --- /dev/null +++ b/Telegram/SourceFiles/editor/photo_editor_content.cpp @@ -0,0 +1,18 @@ +/* +This file is part of Telegram Desktop, +the official desktop application for the Telegram messaging service. + +For license and copyright information please follow this link: +https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +*/ +#include "editor/photo_editor_content.h" + +namespace Editor { + +PhotoEditorContent::PhotoEditorContent( + not_null parent, + std::shared_ptr photo) +: RpWidget(parent) { +} + +} // namespace Editor diff --git a/Telegram/SourceFiles/editor/photo_editor_content.h b/Telegram/SourceFiles/editor/photo_editor_content.h new file mode 100644 index 0000000000..80ce4678d7 --- /dev/null +++ b/Telegram/SourceFiles/editor/photo_editor_content.h @@ -0,0 +1,24 @@ +/* +This file is part of Telegram Desktop, +the official desktop application for the Telegram messaging service. + +For license and copyright information please follow this link: +https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +*/ +#pragma once + +#include "ui/rp_widget.h" + +namespace Editor { + +class PhotoEditorContent final : public Ui::RpWidget { +public: + PhotoEditorContent( + not_null parent, + std::shared_ptr photo); + +private: + +}; + +} // namespace Editor diff --git a/Telegram/SourceFiles/editor/photo_editor_controls.cpp b/Telegram/SourceFiles/editor/photo_editor_controls.cpp new file mode 100644 index 0000000000..b820520742 --- /dev/null +++ b/Telegram/SourceFiles/editor/photo_editor_controls.cpp @@ -0,0 +1,17 @@ +/* +This file is part of Telegram Desktop, +the official desktop application for the Telegram messaging service. + +For license and copyright information please follow this link: +https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +*/ +#include "editor/photo_editor_controls.h" + +namespace Editor { + +PhotoEditorControls::PhotoEditorControls( + not_null parent) +: RpWidget(parent) { +} + +} // namespace Editor diff --git a/Telegram/SourceFiles/editor/photo_editor_controls.h b/Telegram/SourceFiles/editor/photo_editor_controls.h new file mode 100644 index 0000000000..2543b3466a --- /dev/null +++ b/Telegram/SourceFiles/editor/photo_editor_controls.h @@ -0,0 +1,22 @@ +/* +This file is part of Telegram Desktop, +the official desktop application for the Telegram messaging service. + +For license and copyright information please follow this link: +https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL +*/ +#pragma once + +#include "ui/rp_widget.h" + +namespace Editor { + +class PhotoEditorControls final : public Ui::RpWidget { +public: + PhotoEditorControls(not_null parent); + +private: + +}; + +} // namespace Editor