Rocket::Controls::ElementTextSelection Class Reference

#include <ElementTextSelection.h>

Inheritance diagram for Rocket::Controls::ElementTextSelection:
Collaboration diagram for Rocket::Controls::ElementTextSelection:

Public Member Functions

 ElementTextSelection (const Rocket::Core::String &tag)
void SetWidget (WidgetTextInput *widget)

Protected Member Functions

virtual void OnPropertyChange (const Rocket::Core::PropertyNameList &changed_properties)
 Processes 'color' and 'background-color' property changes.

Detailed Description

A stub element used by the WidgetTextInput to query the RCSS-specified text colour and background colour for selected text.

Author:
Peter Curry

Member Function Documentation

void Rocket::Controls::ElementTextSelection::SetWidget ( WidgetTextInput widget  ) 

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.


The documentation for this class was generated from the following files: