OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/picker.h>
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 tstring & | GetText () 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) |
TRect & | GetBounds () |
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 |
TGridPicker * | Parent |
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) |
|
inline |
|
inline |
|
inline |
Implements owl::TPickerCell.
Definition at line 280 of file picker.cpp.
References CHECK, owl::TDC::DrawTextEx(), Format, owl::TGridPicker::GetFont(), owl::TGridPicker::IsFlatStyle(), owl::TPickerCell::Parent, owl::TDC::RestoreFont(), owl::TDC::SelectObject(), owl::TDC::SetBkMode(), and Text.