tdesktop/Telegram/SourceFiles/layout/layout_item_base.cpp

23 lines
597 B
C++

/*
This file is part of Telegram Desktop,
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/layout_item_base.h"
#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;
}