OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/picker.h>
Public Member Functions | |
TBitmapCell (int id=0, TCelArray *array=0, int index=0, TBorderStyle borderStyle=Flat) | |
virtual | ~TBitmapCell () |
virtual void | PaintCell (TDC &dc, TRect &rect) |
virtual void | QueryBounds (TRect &rect) |
void | SetIndex (int index) |
int | GetIndex () |
void | SetCelArray (TCelArray *array, TAutoDelete=NoAutoDelete) |
TCelArray * | GetCelArray () |
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 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 | |
TCelArray * | CelArray |
int | Index |
bool | ShouldDelete |
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) |
owl::TBitmapCell::TBitmapCell | ( | int | id = 0, |
TCelArray * | array = 0, | ||
int | index = 0, | ||
TBorderStyle | borderStyle = Flat ) |
Definition at line 215 of file picker.cpp.
|
virtual |
Definition at line 225 of file picker.cpp.
References CelArray, and ShouldDelete.
|
inline |
|
inline |
Implements owl::TPickerCell.
Definition at line 243 of file picker.cpp.
References owl::TCelArray::BitBlt(), CelArray, owl::TCelArray::CelSize(), Index, and owl::TCelArray::StretchBlt().
Reimplemented from owl::TPickerCell.
Definition at line 255 of file picker.cpp.
References CelArray, owl::TCelArray::CelSize(), owl::TGridPicker::IsFlatStyle(), and owl::TPickerCell::Parent.
void owl::TBitmapCell::SetCelArray | ( | TCelArray * | array, |
TAutoDelete | del = NoAutoDelete ) |
Definition at line 233 of file picker.cpp.
References owl::AutoDelete, CelArray, and ShouldDelete.