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

#include <owl/picker.h>

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

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)
 
TCelArrayGetCelArray ()
 
- 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 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

TCelArrayCelArray
 
int Index
 
bool ShouldDelete
 
- 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 140 of file picker.h.

Constructor & Destructor Documentation

◆ TBitmapCell()

owl::TBitmapCell::TBitmapCell ( int id = 0,
TCelArray * array = 0,
int index = 0,
TBorderStyle borderStyle = Flat )

Definition at line 215 of file picker.cpp.

◆ ~TBitmapCell()

owl::TBitmapCell::~TBitmapCell ( )
virtual

Definition at line 225 of file picker.cpp.

References CelArray, and ShouldDelete.

Member Function Documentation

◆ GetCelArray()

TCelArray * owl::TBitmapCell::GetCelArray ( )
inline

Definition at line 605 of file picker.h.

References CelArray.

◆ GetIndex()

int owl::TBitmapCell::GetIndex ( )
inline

Definition at line 598 of file picker.h.

References Index.

◆ PaintCell()

void owl::TBitmapCell::PaintCell ( TDC & dc,
TRect & rect )
virtual

◆ QueryBounds()

void owl::TBitmapCell::QueryBounds ( TRect & rect)
virtual

◆ SetCelArray()

void owl::TBitmapCell::SetCelArray ( TCelArray * array,
TAutoDelete del = NoAutoDelete )

Definition at line 233 of file picker.cpp.

References owl::AutoDelete, CelArray, and ShouldDelete.

◆ SetIndex()

void owl::TBitmapCell::SetIndex ( int index)
inline

Definition at line 591 of file picker.h.

References Index.

Member Data Documentation

◆ CelArray

TCelArray* owl::TBitmapCell::CelArray
protected

Definition at line 153 of file picker.h.

◆ Index

int owl::TBitmapCell::Index
protected

Definition at line 154 of file picker.h.

◆ ShouldDelete

bool owl::TBitmapCell::ShouldDelete
protected

Definition at line 155 of file picker.h.


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