mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Removed layout.cpp/h.
This commit is contained in:
parent
c6071d1148
commit
a14f2144e1
15 changed files with 16 additions and 23 deletions
|
@ -704,6 +704,8 @@ PRIVATE
|
||||||
lang/lang_translator.h
|
lang/lang_translator.h
|
||||||
layout/layout_document_generic_preview.cpp
|
layout/layout_document_generic_preview.cpp
|
||||||
layout/layout_document_generic_preview.h
|
layout/layout_document_generic_preview.h
|
||||||
|
layout/layout_item_base.cpp
|
||||||
|
layout/layout_item_base.h
|
||||||
main/main_account.cpp
|
main/main_account.cpp
|
||||||
main/main_account.h
|
main/main_account.h
|
||||||
main/main_app_config.cpp
|
main/main_app_config.cpp
|
||||||
|
@ -1123,8 +1125,6 @@ PRIVATE
|
||||||
config.h
|
config.h
|
||||||
facades.cpp
|
facades.cpp
|
||||||
facades.h
|
facades.h
|
||||||
layout.cpp
|
|
||||||
layout.h
|
|
||||||
logs.cpp
|
logs.cpp
|
||||||
logs.h
|
logs.h
|
||||||
main.cpp
|
main.cpp
|
||||||
|
|
|
@ -27,7 +27,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "core/application.h"
|
#include "core/application.h"
|
||||||
#include "apiwrap.h"
|
#include "apiwrap.h"
|
||||||
#include "api/api_attached_stickers.h"
|
#include "api/api_attached_stickers.h"
|
||||||
#include "layout.h"
|
|
||||||
#include "window/window_session_controller.h"
|
#include "window/window_session_controller.h"
|
||||||
#include "main/main_session.h"
|
#include "main/main_session.h"
|
||||||
#include "main/main_session_settings.h"
|
#include "main/main_session_settings.h"
|
||||||
|
|
|
@ -46,7 +46,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "base/unixtime.h"
|
#include "base/unixtime.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "mainwidget.h"
|
#include "mainwidget.h"
|
||||||
#include "layout.h"
|
|
||||||
#include "layout/layout_selection.h"
|
#include "layout/layout_selection.h"
|
||||||
#include "main/main_session.h"
|
#include "main/main_session.h"
|
||||||
#include "main/main_session_settings.h"
|
#include "main/main_session_settings.h"
|
||||||
|
|
|
@ -9,7 +9,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
|
|
||||||
#include "lang/lang_keys.h"
|
#include "lang/lang_keys.h"
|
||||||
#include "mainwidget.h"
|
#include "mainwidget.h"
|
||||||
#include "layout.h"
|
|
||||||
#include "history/view/history_view_element.h"
|
#include "history/view/history_view_element.h"
|
||||||
#include "history/view/history_view_service_message.h"
|
#include "history/view/history_view_service_message.h"
|
||||||
#include "history/history_item_components.h"
|
#include "history/history_item_components.h"
|
||||||
|
|
|
@ -12,7 +12,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "main/main_session.h"
|
#include "main/main_session.h"
|
||||||
#include "main/main_domain.h" // Core::App().domain().activate().
|
#include "main/main_domain.h" // Core::App().domain().activate().
|
||||||
#include "apiwrap.h"
|
#include "apiwrap.h"
|
||||||
#include "layout.h"
|
|
||||||
#include "history/history.h"
|
#include "history/history.h"
|
||||||
#include "history/view/media/history_view_invoice.h"
|
#include "history/view/media/history_view_invoice.h"
|
||||||
#include "history/history_message.h"
|
#include "history/history_message.h"
|
||||||
|
|
|
@ -18,7 +18,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "ui/text/text_options.h"
|
#include "ui/text/text_options.h"
|
||||||
#include "ui/ui_utility.h"
|
#include "ui/ui_utility.h"
|
||||||
#include "mainwidget.h"
|
#include "mainwidget.h"
|
||||||
#include "layout.h"
|
|
||||||
#include "lang/lang_keys.h"
|
#include "lang/lang_keys.h"
|
||||||
#include "styles/style_chat.h"
|
#include "styles/style_chat.h"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "history/history.h"
|
#include "history/history.h"
|
||||||
#include "ui/image/image.h"
|
#include "ui/image/image.h"
|
||||||
#include "data/data_file_origin.h"
|
#include "data/data_file_origin.h"
|
||||||
#include "layout.h"
|
|
||||||
#include "styles/style_chat.h"
|
#include "styles/style_chat.h"
|
||||||
|
|
||||||
namespace HistoryView {
|
namespace HistoryView {
|
||||||
|
|
|
@ -7,7 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
*/
|
*/
|
||||||
#include "history/view/media/history_view_sticker.h"
|
#include "history/view/media/history_view_sticker.h"
|
||||||
|
|
||||||
#include "layout.h"
|
|
||||||
#include "boxes/sticker_set_box.h"
|
#include "boxes/sticker_set_box.h"
|
||||||
#include "history/history.h"
|
#include "history/history.h"
|
||||||
#include "history/history_item_components.h"
|
#include "history/history_item_components.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "layout.h"
|
#include "layout/layout_item_base.h"
|
||||||
#include "ui/text/text.h"
|
#include "ui/text/text.h"
|
||||||
|
|
||||||
class Image;
|
class Image;
|
||||||
|
|
|
@ -10,6 +10,17 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "base/runtime_composer.h"
|
#include "base/runtime_composer.h"
|
||||||
#include "ui/click_handler.h"
|
#include "ui/click_handler.h"
|
||||||
|
|
||||||
|
class PaintContextBase {
|
||||||
|
public:
|
||||||
|
PaintContextBase(crl::time ms, bool selecting)
|
||||||
|
: ms(ms)
|
||||||
|
, selecting(selecting) {
|
||||||
|
}
|
||||||
|
crl::time ms;
|
||||||
|
bool selecting;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
class AbstractLayoutItem
|
class AbstractLayoutItem
|
||||||
: public RuntimeComposer<AbstractLayoutItem>
|
: public RuntimeComposer<AbstractLayoutItem>
|
||||||
, public ClickHandlerHost {
|
, public ClickHandlerHost {
|
||||||
|
|
|
@ -5,7 +5,7 @@ the official desktop application for the Telegram messaging service.
|
||||||
For license and copyright information please follow this link:
|
For license and copyright information please follow this link:
|
||||||
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
*/
|
*/
|
||||||
#include "layout.h"
|
#include "layout/layout_item_base.h"
|
||||||
|
|
||||||
#include "history/view/history_view_cursor_state.h"
|
#include "history/view/history_view_cursor_state.h"
|
||||||
|
|
|
@ -14,15 +14,6 @@ struct TextState;
|
||||||
struct StateRequest;
|
struct StateRequest;
|
||||||
} // namespace HistoryView
|
} // namespace HistoryView
|
||||||
|
|
||||||
class PaintContextBase {
|
|
||||||
public:
|
|
||||||
PaintContextBase(crl::time ms, bool selecting) : ms(ms), selecting(selecting) {
|
|
||||||
}
|
|
||||||
crl::time ms;
|
|
||||||
bool selecting;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
class LayoutItemBase : public AbstractLayoutItem {
|
class LayoutItemBase : public AbstractLayoutItem {
|
||||||
public:
|
public:
|
||||||
using TextState = HistoryView::TextState;
|
using TextState = HistoryView::TextState;
|
|
@ -64,7 +64,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "main/main_domain.h" // Domain::activeSessionValue.
|
#include "main/main_domain.h" // Domain::activeSessionValue.
|
||||||
#include "main/main_session.h"
|
#include "main/main_session.h"
|
||||||
#include "main/main_session_settings.h"
|
#include "main/main_session_settings.h"
|
||||||
#include "layout.h"
|
|
||||||
#include "layout/layout_document_generic_preview.h"
|
#include "layout/layout_document_generic_preview.h"
|
||||||
#include "storage/file_download.h"
|
#include "storage/file_download.h"
|
||||||
#include "storage/storage_account.h"
|
#include "storage/storage_account.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "layout.h"
|
#include "layout/layout_item_base.h"
|
||||||
#include "layout/layout_document_generic_preview.h"
|
#include "layout/layout_document_generic_preview.h"
|
||||||
#include "media/clip/media_clip_reader.h"
|
#include "media/clip/media_clip_reader.h"
|
||||||
#include "core/click_handler_types.h"
|
#include "core/click_handler_types.h"
|
||||||
|
|
|
@ -19,7 +19,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "platform/platform_specific.h"
|
#include "platform/platform_specific.h"
|
||||||
#include "main/main_session.h"
|
#include "main/main_session.h"
|
||||||
#include "lang/lang_keys.h"
|
#include "lang/lang_keys.h"
|
||||||
#include "layout.h"
|
|
||||||
#include "styles/style_settings.h"
|
#include "styles/style_settings.h"
|
||||||
#include "ui/widgets/continuous_sliders.h"
|
#include "ui/widgets/continuous_sliders.h"
|
||||||
#include "window/window_session_controller.h"
|
#include "window/window_session_controller.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue