10#if !defined(OWL_DOCKING_H)
14#if defined(BI_HAS_PRAGMA_ONCE)
103 void GetRect(
TRect&)
override;
105 auto ShouldBeginDrag(
TPoint&) ->
bool override;
106 auto GetWindow() ->
TWindow*
override;
107 auto GetHarbor() ->
THarbor*
override;
108 virtual TGadget* GetGripGadget();
112 void LayoutSession()
override;
141 void AdjustMargins();
201 void DockableRemoved(
const TRect&)
override;
208 void GetRect(
TRect&)
override;
210 auto ShouldBeginDrag(
TPoint&) ->
bool override;
211 auto GetWindow() ->
TWindow*
override;
212 auto GetHarbor() ->
THarbor*
override;
246 void SetupWindow()
override;
267 void EvNCPaint(
HRGN);
269 bool EvEraseBkgnd(
HDC);
275 void CompressGridLines();
276 void CompressParallel(
int width);
277 TSize ComputeDockingArea();
Base class for an extensible interface for auto enabling/disabling of commands (menu items,...
TCursor, derived from TGdiBase, represents the GDI cursor object class.
TDecoratedFrame automatically positions its client window (you must supply a client window) so that i...
A control bar class that is dockable.
DECLARE_RESPONSE_TABLE(TDockableControlBar)
A version of TGadgetWindow which is dockable.
DECLARE_RESPONSE_TABLE(TDockableGadgetWindow)
TDockable is an abstract base class for fixed or floating docking windows that want to be dockable in...
virtual TWindow * GetWindow()=0
Gets dockable's window and hides it, in case we have to toss it around a bit.
virtual TSize ComputeSize(TAbsLocation loc, TSize *dim)=0
Returns the rectangle of the dockable window in the given location.
virtual void GetRect(TRect &rect)=0
Return the rectangle of the dockable window in the given location.
virtual void Layout(TAbsLocation loc, TSize *dim=0)=0
Changes the window to be equal to the size returned from ComputeNNNNN.
virtual bool ShouldBeginDrag(TPoint &pt)=0
This is overriden for any window that wants to be docked.
virtual THarbor * GetHarbor()=0
Returns the harbor containing the dockable object.
TDockingSlip is an abstract base class for windows which accepts and holds dockable windows.
virtual void DockableMove(TDockable &dockable, const TPoint *topLeft=0, TRelPosition position=rpNone, TDockable *relDockable=0)=0
void SetHarbor(THarbor *harbor)
Set the back pointer to the harbor.
THarbor * GetHarbor() const
Retrieve the associated harbor.
virtual TAbsLocation GetLocation() const =0
virtual void DockableRemoved(const TRect &orgRect)=0
virtual void DockableInsert(TDockable &dockable, const TPoint *topLeft=0, TRelPosition position=rpNone, TDockable *relDockable=0)=0
Inserts the dockable into the slip, based on arguments given.
TEdgeSlip is the class of windows used by THarbor as the actual docking slips along the decorated fra...
Derived from TFrameWindow and TTinyCaption, TFloatingFrame implements a floating frame that can be po...
TFloatingSlip is a floating frame which can hold a dockable window.
DECLARE_RESPONSE_TABLE(TFloatingSlip)
TFont derived from TGdiObject provides constructors for creating font objects from explicit informati...
TGadget is the base class for the following derived gadget classes:
Derived from TWindow, TGadgetWindow maintains a list of tiled gadgets for a window and lets you dynam...
TTileDirection
Enumeration describing how gadgets should be laid out within the gadget window.
THarbor is the object that holds all the docking slips.
TSize DragNSize
Size of dockable when a natural shape.
TDecoratedFrame & DecFrame
DECLARE_RESPONSE_TABLE(THarbor)
TSize DragVSize
Size of dockable when vertical.
TSize DragHSize
Size of dockable when horizontal.
TDockingSlip * DragNotificatee
Slip notified on drag operations.
TAbsLocation DragOrgSlipLoc
Original slip location on mouseDown.
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.
The tagSIZE struct is defined as.
Derived from TDC, TWindowDC is a device context (DC) class that provides access to the entire area ow...
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
HWND THandle
TWindow encapsulates an HWND.
Definition of class TControlBar.
Definition of class TDecoratedFrame, a TFrameWindow that can manage decorations around the client win...
#define DECLARE_RESPONSE_TABLE(cls)
Definition of class TFloatingFrame.
Definition of TGadgetList, TGadgetWindow & TGadgetWindowFont A list holding gadgets,...
TRelPosition
General use 2-D rectangular relative position enum.
@ rpNone
No location specified.
@ rpAbove
Refers to top edge of frame.
@ rpBelow
Refers to bottom edge of frame.
@ rpRightOf
Refers to left edge of frame.
@ rpLeftOf
Refers to right edge of frame.
@ XCoord
Left & right edge have X coords parallel vertically.
@ YCoord
Grid type corresponds with Location:
TAbsLocation
General use absolute 2-D rectangular location enum.
Object Windows Library (OWLNext Core)
UINT TMsgId
Message ID type.
TDispatch< WM_PARENTNOTIFY >::TArgs TParentNotify
Alias for convenience.