tdesktop/Telegram/SourceFiles/layout/layout_item_base.cpp

23 lines
597 B
C++
Raw Normal View History

2015-12-20 14:05:07 +00:00
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
2015-12-20 14:05:07 +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
#include "history/view/history_view_cursor_state.h"
[[nodiscard]] HistoryView::TextState LayoutItemBase::getState(
QPoint point,
StateRequest request) const {
return {};
}
[[nodiscard]] TextSelection LayoutItemBase::adjustSelection(
TextSelection selection,
TextSelectType type) const {
return selection;
}