mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-14 19:17:11 +00:00
Removed layout.cpp/h.
This commit is contained in:
parent
c6071d1148
commit
a14f2144e1
@ -704,6 +704,8 @@ PRIVATE
|
||||
lang/lang_translator.h
|
||||
layout/layout_document_generic_preview.cpp
|
||||
layout/layout_document_generic_preview.h
|
||||
layout/layout_item_base.cpp
|
||||
layout/layout_item_base.h
|
||||
main/main_account.cpp
|
||||
main/main_account.h
|
||||
main/main_app_config.cpp
|
||||
@ -1123,8 +1125,6 @@ PRIVATE
|
||||
config.h
|
||||
facades.cpp
|
||||
facades.h
|
||||
layout.cpp
|
||||
layout.h
|
||||
logs.cpp
|
||||
logs.h
|
||||
main.cpp
|
||||
|
@ -27,7 +27,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "core/application.h"
|
||||
#include "apiwrap.h"
|
||||
#include "api/api_attached_stickers.h"
|
||||
#include "layout.h"
|
||||
#include "window/window_session_controller.h"
|
||||
#include "main/main_session.h"
|
||||
#include "main/main_session_settings.h"
|
||||
|
@ -46,7 +46,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "base/unixtime.h"
|
||||
#include "mainwindow.h"
|
||||
#include "mainwidget.h"
|
||||
#include "layout.h"
|
||||
#include "layout/layout_selection.h"
|
||||
#include "main/main_session.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 "mainwidget.h"
|
||||
#include "layout.h"
|
||||
#include "history/view/history_view_element.h"
|
||||
#include "history/view/history_view_service_message.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_domain.h" // Core::App().domain().activate().
|
||||
#include "apiwrap.h"
|
||||
#include "layout.h"
|
||||
#include "history/history.h"
|
||||
#include "history/view/media/history_view_invoice.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/ui_utility.h"
|
||||
#include "mainwidget.h"
|
||||
#include "layout.h"
|
||||
#include "lang/lang_keys.h"
|
||||
#include "styles/style_chat.h"
|
||||
|
||||
|
@ -14,7 +14,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "history/history.h"
|
||||
#include "ui/image/image.h"
|
||||
#include "data/data_file_origin.h"
|
||||
#include "layout.h"
|
||||
#include "styles/style_chat.h"
|
||||
|
||||
namespace HistoryView {
|
||||
|
@ -7,7 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
*/
|
||||
#include "history/view/media/history_view_sticker.h"
|
||||
|
||||
#include "layout.h"
|
||||
#include "boxes/sticker_set_box.h"
|
||||
#include "history/history.h"
|
||||
#include "history/history_item_components.h"
|
||||
|
@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "layout.h"
|
||||
#include "layout/layout_item_base.h"
|
||||
#include "ui/text/text.h"
|
||||
|
||||
class Image;
|
||||
|
@ -10,6 +10,17 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "base/runtime_composer.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
|
||||
: public RuntimeComposer<AbstractLayoutItem>
|
||||
, public ClickHandlerHost {
|
||||
|
@ -5,7 +5,7 @@ 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 "layout.h"
|
||||
#include "layout/layout_item_base.h"
|
||||
|
||||
#include "history/view/history_view_cursor_state.h"
|
||||
|
@ -14,15 +14,6 @@ struct TextState;
|
||||
struct StateRequest;
|
||||
} // namespace HistoryView
|
||||
|
||||
class PaintContextBase {
|
||||
public:
|
||||
PaintContextBase(crl::time ms, bool selecting) : ms(ms), selecting(selecting) {
|
||||
}
|
||||
crl::time ms;
|
||||
bool selecting;
|
||||
|
||||
};
|
||||
|
||||
class LayoutItemBase : public AbstractLayoutItem {
|
||||
public:
|
||||
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_session.h"
|
||||
#include "main/main_session_settings.h"
|
||||
#include "layout.h"
|
||||
#include "layout/layout_document_generic_preview.h"
|
||||
#include "storage/file_download.h"
|
||||
#include "storage/storage_account.h"
|
||||
|
@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "layout.h"
|
||||
#include "layout/layout_item_base.h"
|
||||
#include "layout/layout_document_generic_preview.h"
|
||||
#include "media/clip/media_clip_reader.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 "main/main_session.h"
|
||||
#include "lang/lang_keys.h"
|
||||
#include "layout.h"
|
||||
#include "styles/style_settings.h"
|
||||
#include "ui/widgets/continuous_sliders.h"
|
||||
#include "window/window_session_controller.h"
|
||||
|
Loading…
Reference in New Issue
Block a user