2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
% automatically generated by HelpGen $Revision$ from
|
2002-01-21 17:34:42 -05:00
|
|
|
% bardragpl.h at 21/Jan/02 21:14:17
|
2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
|
|
|
|
|
|
|
|
\section{\class{cbBarDragPlugin}}\label{cbbardragplugin}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
|
|
|
|
Plugin class implementing bar dragging.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{cbPluginBase}{cbpluginbase}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
2002-01-31 15:57:31 -05:00
|
|
|
<wx/fl/bardragpl.h>
|
2002-01-21 17:34:42 -05:00
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Data structures}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::cbBarDragPlugin}\label{cbbardragplugincbbardragplugin}
|
|
|
|
|
|
|
|
\func{}{cbBarDragPlugin}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Default constructor.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\func{}{cbBarDragPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Constructor taking a parent frame, and flag. See cbPluginBase.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::\destruct{cbBarDragPlugin}}\label{cbbardragplugindtor}
|
|
|
|
|
|
|
|
\func{}{\destruct{cbBarDragPlugin}}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Destructor.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::AdjustHintRect}\label{cbbardragpluginadjusthintrect}
|
|
|
|
|
|
|
|
\func{void}{AdjustHintRect}{\param{wxPoint\& }{mousePos}}
|
|
|
|
|
|
|
|
the thicker rectangle is drawn using hatched brush,
|
|
|
|
the default border width for this rectangle is 8 pix.
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::CalcOnScreenDims}\label{cbbardragplugincalconscreendims}
|
|
|
|
|
|
|
|
\func{void}{CalcOnScreenDims}{\param{wxRect\& }{rect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::ClipPosInFrame}\label{cbbardragpluginclipposinframe}
|
|
|
|
|
|
|
|
\func{void}{ClipPosInFrame}{\param{wxPoint\& }{pos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::ClipRectInFrame}\label{cbbardragplugincliprectinframe}
|
|
|
|
|
|
|
|
\func{void}{ClipRectInFrame}{\param{wxRect\& }{rect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::DoDrawHintRect}\label{cbbardragplugindodrawhintrect}
|
|
|
|
|
|
|
|
\func{void}{DoDrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
Draw the hint rectangle.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::DrawHintRect}\label{cbbardragplugindrawhintrect}
|
|
|
|
|
|
|
|
\func{void}{DrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
Draw the visual hint while dragging.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::EraseHintRect}\label{cbbardragpluginerasehintrect}
|
|
|
|
|
|
|
|
\func{void}{EraseHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
Erase the visual hint while dragging.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::FinishTracking}\label{cbbardragpluginfinishtracking}
|
|
|
|
|
|
|
|
\func{void}{FinishTracking}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
Stop showing the visual hint while dragging.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::GetBarHeightInPane}\label{cbbardragplugingetbarheightinpane}
|
|
|
|
|
|
|
|
\func{int}{GetBarHeightInPane}{\param{cbDockPane* }{pPane}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::GetBarWidthInPane}\label{cbbardragplugingetbarwidthinpane}
|
|
|
|
|
|
|
|
\func{int}{GetBarWidthInPane}{\param{cbDockPane* }{pPane}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::GetDistanceToPane}\label{cbbardragplugingetdistancetopane}
|
|
|
|
|
|
|
|
\func{int}{GetDistanceToPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::HitTestPanes}\label{cbbardragpluginhittestpanes}
|
|
|
|
|
|
|
|
\func{cbDockPane*}{HitTestPanes}{\param{wxRect\& }{rect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function. Finds the pane
|
|
|
|
under the specified rectangle.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\func{cbDockPane*}{HitTestPanes}{\param{wxPoint\& }{pos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function. Finds the pane
|
|
|
|
under the specified point.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::HitsPane}\label{cbbardragpluginhitspane}
|
|
|
|
|
|
|
|
\func{bool}{HitsPane}{\param{cbDockPane* }{pPane}, \param{wxRect\& }{rect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::IsInClientArea}\label{cbbardragpluginisinclientarea}
|
|
|
|
|
|
|
|
\func{bool}{IsInClientArea}{\param{wxPoint\& }{mousePos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\func{bool}{IsInClientArea}{\param{wxRect\& }{rect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::IsInOtherPane}\label{cbbardragpluginisinotherpane}
|
|
|
|
|
|
|
|
\func{bool}{IsInOtherPane}{\param{wxPoint\& }{mousePos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::OnDrawHintRect}\label{cbbardragpluginondrawhintrect}
|
|
|
|
|
|
|
|
\func{void}{OnDrawHintRect}{\param{cbDrawHintRectEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handles event, which originates from itself.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::OnLButtonDown}\label{cbbardragpluginonlbuttondown}
|
|
|
|
|
|
|
|
\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for plugin event.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::OnLButtonUp}\label{cbbardragpluginonlbuttonup}
|
|
|
|
|
|
|
|
\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for plugin event.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::OnLDblClick}\label{cbbardragpluginonldblclick}
|
|
|
|
|
|
|
|
\func{void}{OnLDblClick}{\param{cbLeftDClickEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for plugin event.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::OnMouseMove}\label{cbbardragpluginonmousemove}
|
|
|
|
|
|
|
|
\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for plugin event.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::OnStartBarDragging}\label{cbbardragpluginonstartbardragging}
|
|
|
|
|
|
|
|
\func{void}{OnStartBarDragging}{\param{cbStartBarDraggingEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for plugin event.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::RectToScr}\label{cbbardragpluginrecttoscr}
|
|
|
|
|
|
|
|
\func{void}{RectToScr}{\param{wxRect\& }{frameRect}, \param{wxRect\& }{scrRect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
Converts the given rectangle from window to screen coordinates.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::ShowHint}\label{cbbardragpluginshowhint}
|
|
|
|
|
|
|
|
\func{void}{ShowHint}{\param{bool }{prevWasInClient}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
Show the hint; called within OnMouseMove.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::StartTracking}\label{cbbardragpluginstarttracking}
|
|
|
|
|
|
|
|
\func{void}{StartTracking}{\void}
|
|
|
|
|
|
|
|
on-screen hint-tracking related methods
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
Start showing a visual hint while dragging.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::StickToPane}\label{cbbardragpluginsticktopane}
|
|
|
|
|
|
|
|
\func{void}{StickToPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDragPlugin::UnstickFromPane}\label{cbbardragpluginunstickfrompane}
|
|
|
|
|
|
|
|
\func{void}{UnstickFromPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal implementation function.
|
|
|
|
|