Crazy Eddies GUI System: CEGUI::EditboxWindowRenderer Class Reference

Crazy Eddies GUI System 0.7.6

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
CEGUI::EditboxWindowRenderer Class Reference

Base class for the EditboxWindowRenderer class. More...

Inheritance diagram for CEGUI::EditboxWindowRenderer:
[legend]
Collaboration diagram for CEGUI::EditboxWindowRenderer:
[legend]

List of all members.

## Public Member Functions
| EditboxWindowRenderer (const String &name)
| Constructor.
virtual size_t | getTextIndexFromPosition (const Point &pt) const =0
| Return the text code point index that is rendered closest to screen position pt.

## Detailed Description

Base class for the EditboxWindowRenderer class.

## Member Function Documentation

virtual size_t CEGUI::EditboxWindowRenderer::getTextIndexFromPosition | ( | const Point & | pt | ) | const`[pure virtual]`

Return the text code point index that is rendered closest to screen position pt.

Parameters:

  pt | Point object describing a position on the screen in pixels.

Returns:
  Code point index into the text that is rendered closest to screen position pt.

Implemented in CEGUI::FalagardEditbox.