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

#include <owl/flatctrl.h>

Inheritance diagram for owl::TFlatPainter:
owl::TBitFlags< uint > owl::TFlatComboBox owl::TFlatEdit owl::TFlatListBox owl::TGadgetComboBox owl::TGadgetEdit owl::TGadgetListBox

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
 

Detailed Description

Definition at line 33 of file flatctrl.h.

Member Enumeration Documentation

◆ TState

Enumerator
fpFlatLook 
fpMouseIn 

Definition at line 44 of file flatctrl.h.

Member Function Documentation

◆ GetFlatStyle()

bool owl::TFlatPainter::GetFlatStyle ( )
inline

Definition at line 178 of file flatctrl.h.

References IsFlat().

◆ IdleAction()

bool owl::TFlatPainter::IdleAction ( long idleCount)
protected

◆ IsFlat()

bool owl::TFlatPainter::IsFlat ( )
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().

◆ Paint()

◆ SetFlatStyle()

void owl::TFlatPainter::SetFlatStyle ( bool flat = true)

Member Data Documentation

◆ DECLARE_CASTABLE

owl::TFlatPainter::DECLARE_CASTABLE

Definition at line 35 of file flatctrl.h.


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