/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/ThirdParty/RmlUi/Source/Core/Elements/ElementLabel.h
32 строки
676 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" #include "../../../Include/RmlUi/Core/EventListener.h" #include "../../../Include/RmlUi/Core/Header.h" namespace Rml { /** A specialisation of the generic Core::Element representing a label element. */ class ElementLabel : public Element, public EventListener { public: RMLUI_RTTI_DefineWithParent(ElementLabel, Element) ElementLabel(const String& tag); virtual ~ElementLabel(); protected: void OnPseudoClassChange(const String& pseudo_class, bool activate) override; void ProcessEvent(Event& event) override; private: Element* GetTarget(); bool disable_click = false; }; } // namespace Rml