OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TTextCell Class Reference

#include <owl/picker.h>

Inheritance diagram for owl::TTextCell:
owl::TPickerCell owl::TBitFlags< uint >

Public Member Functions

 TTextCell (int id=0, const tstring &text=tstring(), TBorderStyle borderStyle=Flat)
 
virtual void PaintCell (TDC &dc, TRect &rect)
 
void SetText (const tstring &text)
 
const tstringGetText () const
 
void SetFormat (uint format)
 
uint GetFormat () const
 
- Public Member Functions inherited from owl::TPickerCell
 TPickerCell (int id=0, TBorderStyle borderStyle=Flat)
 
virtual ~TPickerCell ()
 
virtual void Paint (TDC &dc, TRect *r=0, bool drawbrd=true)
 
virtual void PaintBorder (TDC &dc, TRect &rect)
 
virtual void EnterMouse ()
 
virtual void LeaveMouse ()
 
virtual void Select (bool sel=true)
 
int GetId ()
 
void SetId (int id)
 
TRectGetBounds ()
 
void SetBorderStyle (TBorderStyle bs)
 
TBorderStyle GetBorderStyle () const
 Return the borderstyle the cell is using.
 
virtual void QueryBounds (TRect &rect)
 
virtual bool PtIn (const TPoint &pt)
 
- Public Member Functions inherited from owl::TBitFlags< uint >
 TBitFlags (uint t=0)
 Initialize the Flags to the specified parameter.
 
uint Clear (uint t)
 Clear the bits that are enabled in the specified parameter.
 
uint Set (uint t)
 Activate the bits that are enabled in the specified parameter.
 
bool IsSet (uint t) const
 Return true of the ON bits of the parameter are currently enabled.
 

Protected Attributes

tstring Text
 
uint Format
 
- Protected Attributes inherited from owl::TPickerCell
TRect Bounds
 
int Id
 
TGridPickerParent
 
TBorderStyle BorderStyle
 
- Protected Attributes inherited from owl::TBitFlags< uint >
uint Bits
 

Additional Inherited Members

- Public Types inherited from owl::TPickerCell
enum  TBorderStyle {
  None , Plain , Raised , Recessed , Embossed , Grooved , ButtonUp , ButtonDn , WndRaised , WndRecessed ,
  WellSet , Flat
}
 Cell border styles. These match TIUBorder's TStyles exactly. More...
 
- Public Attributes inherited from owl::TPickerCell
 DECLARE_CASTABLE
 
- Protected Types inherited from owl::TPickerCell
enum  TCellState { csMouseIn = 0x0001 , csSelected = 0x0002 }
 
- Protected Member Functions inherited from owl::TPickerCell
virtual void SetParent (TGridPicker *parent)
 

Detailed Description

Definition at line 163 of file picker.h.

Constructor & Destructor Documentation

◆ TTextCell()

owl::TTextCell::TTextCell ( int id = 0,
const tstring & text = tstring(),
TBorderStyle borderStyle = Flat )
inline

Definition at line 615 of file picker.h.

Member Function Documentation

◆ GetFormat()

uint owl::TTextCell::GetFormat ( ) const
inline

Definition at line 646 of file picker.h.

References Format.

◆ GetText()

const tstring & owl::TTextCell::GetText ( ) const
inline

Definition at line 632 of file picker.h.

References Text.

◆ PaintCell()

◆ SetFormat()

void owl::TTextCell::SetFormat ( uint format)
inline

Definition at line 639 of file picker.h.

References Format.

◆ SetText()

void owl::TTextCell::SetText ( const tstring & text)
inline

Definition at line 625 of file picker.h.

References Text.

Member Data Documentation

◆ Format

uint owl::TTextCell::Format
protected

Definition at line 175 of file picker.h.

◆ Text

tstring owl::TTextCell::Text
protected

Definition at line 174 of file picker.h.


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