OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/flatctrl.h>
Public Member Functions | |
void | SetFlatStyle (bool flat=true) |
bool | GetFlatStyle () |
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. | |
Public Attributes | |
DECLARE_CASTABLE | |
Protected Types | |
enum | TState { fpFlatLook = 0x0001 , fpMouseIn = 0x0002 } |
Protected Member Functions | |
virtual bool | IsFlat () |
void | Paint (TDC &dc, TRect &rect) |
bool | IdleAction (long idleCount) |
Additional Inherited Members | |
Protected Attributes inherited from owl::TBitFlags< uint > | |
uint | Bits |
Definition at line 33 of file flatctrl.h.
|
protected |
Enumerator | |
---|---|
fpFlatLook | |
fpMouseIn |
Definition at line 44 of file flatctrl.h.
|
inline |
Definition at line 178 of file flatctrl.h.
References IsFlat().
!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 48 of file flatctrl.cpp.
References owl::TBitFlags< uint >::Clear(), fpMouseIn, IsFlat(), owl::TBitFlags< uint >::IsSet(), owl::TBitFlags< uint >::Set(), and TYPESAFE_DOWNCAST.
|
inlineprotectedvirtual |
Reimplemented in owl::TGadgetComboBox, owl::TGadgetEdit, and owl::TGadgetListBox.
Definition at line 185 of file flatctrl.h.
References fpFlatLook, and owl::TBitFlags< uint >::IsSet().
Definition at line 77 of file flatctrl.cpp.
References owl::TUIBorder::DrawEdge(), fpMouseIn, owl::TDC::FrameRect(), owl::TBitFlags< uint >::IsSet(), owl::TColor::LtBlue, owl::TColor::LtGreen, owl::TColor::LtRed, owl::TUIBorder::Rect, owl::TUIBorder::SunkenOuter, owl::TColor::Sys3dFace, owl::TColor::SysWindow, and TYPESAFE_DOWNCAST.
Definition at line 28 of file flatctrl.cpp.
References CHECK, owl::TBitFlags< uint >::Clear(), fpFlatLook, owl::TBitFlags< uint >::IsSet(), owl::TBitFlags< uint >::Set(), and TYPESAFE_DOWNCAST.
owl::TFlatPainter::DECLARE_CASTABLE |
Definition at line 35 of file flatctrl.h.