Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

crs::text_ctrl Class Reference

#include <edit_ctrl.h>

Inheritance diagram for crs::text_ctrl:

crs::focused_ctrl crs::base_control crs::edit_ctrl< T > List of all members.

Public Methods

 text_ctrl (base_control *Parent, window_events *Events, unsigned int Left, unsigned int Top, unsigned int Width, unsigned int Height)

Public Attributes

property< text_ctrl, read_write,
std::string > 
text

Protected Methods

virtual void doSetText (const std::string &Text)
virtual void doGetText ()

Protected Attributes

std::string mText

Private Methods

const std::string & getText ()
void setText_ (const std::string &Text)

Constructor & Destructor Documentation

crs::text_ctrl::text_ctrl base_control   Parent,
window_events   Events,
unsigned int    Left,
unsigned int    Top,
unsigned int    Width,
unsigned int    Height
 

Definition at line 5 of file edit_ctrl.cpp.


Member Function Documentation

void crs::text_ctrl::doGetText   [protected, virtual]
 

Definition at line 22 of file edit_ctrl.cpp.

Referenced by getText().

void crs::text_ctrl::doSetText const std::string &    Text [protected, virtual]
 

Definition at line 25 of file edit_ctrl.cpp.

Referenced by setText_().

const std::string & crs::text_ctrl::getText   [private]
 

Definition at line 11 of file edit_ctrl.cpp.

References doGetText(), and mText.

void crs::text_ctrl::setText_ const std::string &    Text [private]
 

Definition at line 16 of file edit_ctrl.cpp.

References doSetText(), crs::base_control::mCursorpos, and mText.


Member Data Documentation

std::string crs::text_ctrl::mText [protected]
 

Definition at line 27 of file edit_ctrl.h.

Referenced by crs::edit_ctrl< T >::doChange(), crs::edit_ctrl< T >::draw(), getText(), crs::edit_ctrl< T >::keyPress(), and setText_().

property< text_ctrl, read_write, std::string > crs::text_ctrl::text
 

Definition at line 33 of file edit_ctrl.h.


The documentation for this class was generated from the following files:
Generated on Mon May 19 20:36:05 2003 for cursive by doxygen1.2.18