layout_item_base.cpp 597 B

12345678910111213141516171819202122
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #include "layout/layout_item_base.h"
  8. #include "history/view/history_view_cursor_state.h"
  9. [[nodiscard]] HistoryView::TextState LayoutItemBase::getState(
  10. QPoint point,
  11. StateRequest request) const {
  12. return {};
  13. }
  14. [[nodiscard]] TextSelection LayoutItemBase::adjustSelection(
  15. TextSelection selection,
  16. TextSelectType type) const {
  17. return selection;
  18. }