tdesktop/Telegram/SourceFiles/layout.cpp

23 lines
580 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
*/
#include "layout.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;
}