9#if !defined(OWL_GLYPHBTN_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
19#if !defined(OWL_GLYPHBTN)
21# define OWL_GLYPHBTN L"OWL_GlyphBtn"
23# define OWL_GLYPHBTN "OWL_GlyphBtn"
27#if !defined(RC_INVOKED)
57 void UpdateFaceColor();
98 int X,
int Y,
int W,
int H,
99 TBtnType
type = btCustom,
107 int X,
int Y,
int W,
int H,
108 TBtnType
type = btCustom,
121 gtUp = TUIFace::Normal,
122 gtDisabled = TUIFace::Disabled,
131 void SetGlyph(
const TIcon&, TGlyphType = gtUp);
159 void SetLayoutStyle(TLayoutStyle style);
160 void SetTextOrigin(
int x,
int y);
161 void SetGlyphOrigin(
int x,
int y);
166 void SetupWindow()
override;
168 void GetWindowClass(
WNDCLASS&)
override;
181 void InitGlyp(TBtnType
type);
191 biShowGlyph = 0x0020,
192 biFlatStyle = 0x0040,
195 biGtDisabled= 0x0200,
203 bool IsSet(
int t)
const;
208 bool EvEraseBkgnd(
HDC);
222 void EvSysColorChange();
231 void PaintButton(
TDC& dc);
251 TLayoutStyle LayStyle;
271 return Flags.
Clear(t);
289 return Flags.
IsSet(t);
Definition of a bit set and a character set.
T Clear(T t)
Clear the bits that are enabled in the specified parameter.
bool IsSet(T t) const
Return true of the ON bits of the parameter are currently enabled.
T Set(T t)
Activate the bits that are enabled in the specified parameter.
TBitmap is the GDI bitmap class derived from TGdiObject.
TBtnBitmap is an enhanced version of TBitmap with the ability to update the face color of a bitmap to...
TColor FaceColor
Current face color of bitmap.
TCelArray is a horizontal array of cels (a unit of animation) created by slicing a portion of or an e...
Class wrapper for management of color values.
TDC is the root class for GDI DC wrappers.
TFont derived from TGdiObject provides constructors for creating font objects from explicit informati...
TIcon, derived from TGdiObject, represents the GDI object icon class.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TPoint is a support class, derived from tagPOINT.
TRect is a mathematical class derived from tagRect.
Type-safe encapsulation of a Windows class name, a union between ATOM and LPCTSTR.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
Definition of windowing system color classes.
#define DECLARE_RESPONSE_TABLE(cls)
TAutoDelete
Flag for Handle ctors to control Handle deletion in dtor.
Object Windows Library (OWLNext Core)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
LRESULT TResult
Result type.
Definition of the UI Helper Classes: TUIHandle, TUIBorder, TUIFace, TUIPart.