|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Encapsulates the DrawFrameControl 32-bit API. More...
#include <owl/uihelper.h>
Public Types | |
| enum | TType { uiButton = DFC_BUTTON , uiCaption = DFC_CAPTION , uiMenu = DFC_MENU , uiScroll = DFC_SCROLL } |
| Enumeration describing the part to be drawn. More... | |
| enum | TState { Button3State = DFCS_BUTTON3STATE , ButtonCheck = DFCS_BUTTONCHECK , ButtonPush = DFCS_BUTTONPUSH , ButtonRadio = DFCS_BUTTONRADIO , ButtonRadioImage = DFCS_BUTTONRADIOIMAGE , ButtonRadioMask = DFCS_BUTTONRADIOMASK , Checked = DFCS_CHECKED , Flat = DFCS_FLAT , Inactive = DFCS_INACTIVE , Mono = DFCS_MONO , Pushed = DFCS_PUSHED , CaptionClose = DFCS_CAPTIONCLOSE , CaptionHelp = DFCS_CAPTIONHELP , CaptionMax = DFCS_CAPTIONMAX , CaptionMin = DFCS_CAPTIONMIN , CaptionRestore = DFCS_CAPTIONRESTORE , MenuArrow = DFCS_MENUARROW , MenuBullet = DFCS_MENUBULLET , MenuCheck = DFCS_MENUCHECK , ScrollCombo = DFCS_SCROLLCOMBOBOX , ScrollDown = DFCS_SCROLLDOWN , ScrollLeft = DFCS_SCROLLLEFT , ScrollRight = DFCS_SCROLLRIGHT , ScrollSizeGrip = DFCS_SCROLLSIZEGRIP , ScrollUp = DFCS_SCROLLUP } |
| Enumeration describing the various glyphs available for buttons, captions, menus and scrollbar parts. More... | |
Public Member Functions | |
| TUIPart () | |
| Empty constructor. | |
| bool | Paint (TDC &dc, TRect &rect, TType type, TState state) |
| Draw the part onto a DC. | |
| bool | DrawFrameControl (TDC &dc, TRect &rect, TType type, TState state) |
| Wrapper for the DrawFrameControl API. | |
Encapsulates the DrawFrameControl 32-bit API.
Definition at line 448 of file uihelper.h.
| enum owl::TUIPart::TState |
Enumeration describing the various glyphs available for buttons, captions, menus and scrollbar parts.
Definition at line 465 of file uihelper.h.
| enum owl::TUIPart::TType |
Enumeration describing the part to be drawn.
| Enumerator | |
|---|---|
| uiButton | Draw a button glyph. |
| uiCaption | Draw a caption glyph. |
| uiMenu | Draw a menu glyph. |
| uiScroll | Draw a scroll bar glyph. |
Definition at line 455 of file uihelper.h.
| owl::TUIPart::TUIPart | ( | ) |
Empty constructor.
Definition at line 18 of file uipart.cpp.
Wrapper for the DrawFrameControl API.
Definition at line 39 of file uipart.cpp.
References DrawFrameControl().
Draw the part onto a DC.
The type and state control how the part should be painted.
Definition at line 27 of file uipart.cpp.
References DrawFrameControl().