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