9#if !defined(OWL_BUTTONGA_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
86#if defined(OWL5_COMPAT)
100 ~TButtonGadget()
override;
104 void SetButtonState(TState
newState);
105 TState GetButtonState()
const;
107 TType GetButtonType()
const;
112 bool GetNotchCorners()
const;
115#if defined(OWL5_COMPAT)
120 bool GetAntialiasEdges()
const;
121 void SetAntialiasEdges(
bool anti=
true);
125 void GetDesiredSize(TSize& size)
override;
126 void SetBounds(
const TRect&
r)
override;
127 void CommandEnable()
override;
128 void SysColorChange()
override;
134 void Paint(TDC& dc)
override;
135 void PaintBorder(TDC& dc)
override;
136 void MouseEnter(uint
modKeys,
const TPoint& p)
override;
137 void MouseMove(uint
modKeys,
const TPoint& p)
override;
138 void MouseLeave(uint
modKeys,
const TPoint& p)
override;
139 void LButtonDown(uint
modKeys,
const TPoint& p)
override;
140 void LButtonUp(uint
modKeys,
const TPoint& p)
override;
164 virtual TDib* GetGlyphDib();
165 virtual void ReleaseGlyphDib(
TDib*
glyph);
166 virtual void BuildCelArray();
174 virtual void BeginPressed(
const TPoint& p);
180 virtual void CancelPressed(
const TPoint& p,
bool mstate=
false);
184 virtual void Activate(
const TPoint& p);
194#if defined(OWL5_COMPAT)
198 bool NotchCorners :1;
200 bool AntialiasEdges:1;
208 void SetButtonType(TType
newType);
209 void SetGlyphIndex(
int index);
210 bool IsPressed()
const;
211 void CheckExclusively();
217 TPoint& GetBitmapOrigin();
218 const TPoint& GetBitmapOrigin()
const;
267#if defined(OWL5_COMPAT)
268inline TButtonGadget::TShadowStyle TButtonGadget::GetShadowStyle()
const {
276inline void TButtonGadget::SetShadowStyle(
TShadowStyle s) {
285 return AntialiasEdges;
Descriptor of Bar Implementation.
TCelArray is a horizontal array of cels (a unit of animation) created by slicing a portion of or an e...
TDC is the root class for GDI DC wrappers.
Pseudo-GDI object Device Independent Bitmap (DIB) class.
TGadget is the base class for the following derived gadget classes:
TPoint is a support class, derived from tagPOINT.
TRect is a mathematical class derived from tagRect.
Base class TGadget and simple derived TSeparatorGadget.
Object Windows Library (OWLNext Core)