/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/ThirdParty/RmlUi/Source/Core/Elements/ElementTextSelection.h
33 строки
844 B
C-Core
Updated RmlUi to 6.2 and added some improvements (#1813)
10 фев 2026, 01:19
Не верифицирован
10 фев 2026, 01:19
58e2d41
Код
Авторство
О чём код?
#pragma once #include "../../../Include/RmlUi/Core/Element.h" namespace Rml { class WidgetTextInput; /** A stub element used by the WidgetTextInput to query the RCSS-specified text colour and background colour for selected text. */ class ElementTextSelection : public Element { public: RMLUI_RTTI_DefineWithParent(ElementTextSelection, Element) ElementTextSelection(const String& tag); virtual ~ElementTextSelection(); /// Set the widget that this selection element was created for. This is the widget that will be /// notified when this element's properties are altered. void SetWidget(WidgetTextInput* widget); protected: /// Processes 'color' and 'background-color' property changes. void OnPropertyChange(const PropertyIdSet& changed_properties) override; private: WidgetTextInput* widget; }; } // namespace Rml