2015-12-20 14:05:07 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2015-12-20 14:05:07 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2015-12-20 14:05:07 +00:00
|
|
|
*/
|
2021-07-26 05:45:07 +00:00
|
|
|
#include "layout/layout_item_base.h"
|
2015-12-20 14:05:07 +00:00
|
|
|
|
2018-01-11 19:33:26 +00:00
|
|
|
#include "history/view/history_view_cursor_state.h"
|
2016-06-29 15:21:21 +00:00
|
|
|
|
2018-01-27 13:59:24 +00:00
|
|
|
[[nodiscard]] HistoryView::TextState LayoutItemBase::getState(
|
2018-01-11 19:33:26 +00:00
|
|
|
QPoint point,
|
2018-01-27 13:59:24 +00:00
|
|
|
StateRequest request) const {
|
2018-01-11 19:33:26 +00:00
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
|
|
|
[[nodiscard]] TextSelection LayoutItemBase::adjustSelection(
|
|
|
|
TextSelection selection,
|
|
|
|
TextSelectType type) const {
|
|
|
|
return selection;
|
|
|
|
}
|