2 % automatically generated by HelpGen $Revision$ from
3 % bardragpl.h at 21/Jan/02 21:14:17
7 \section{\class{cbBarDragPlugin
}}\label{cbbardragplugin
}
10 Plugin class implementing bar dragging.
12 \wxheading{Derived from
}
14 \helpref{cbPluginBase
}{cbpluginbase
}
16 \wxheading{Include files
}
20 \wxheading{Data structures
}
22 \latexignore{\rtfignore{\wxheading{Members
}}}
25 \membersection{cbBarDragPlugin::cbBarDragPlugin
}\label{cbbardragplugincbbardragplugin
}
27 \func{}{cbBarDragPlugin
}{\void}
32 \func{}{cbBarDragPlugin
}{\param{wxFrameLayout*
}{pPanel
},
\param{int
}{paneMask = wxALL
\_PANES}}
34 Constructor taking a parent frame, and flag. See cbPluginBase.
37 \membersection{cbBarDragPlugin::
\destruct{cbBarDragPlugin
}}\label{cbbardragplugindtor
}
39 \func{}{\destruct{cbBarDragPlugin
}}{\void}
44 \membersection{cbBarDragPlugin::AdjustHintRect
}\label{cbbardragpluginadjusthintrect
}
46 \func{void
}{AdjustHintRect
}{\param{wxPoint\&
}{mousePos
}}
48 the thicker rectangle is drawn using hatched brush,
49 the default border width for this rectangle is
8 pix.
50 Internal implementation function.
53 \membersection{cbBarDragPlugin::CalcOnScreenDims
}\label{cbbardragplugincalconscreendims
}
55 \func{void
}{CalcOnScreenDims
}{\param{wxRect\&
}{rect
}}
57 Internal implementation function.
60 \membersection{cbBarDragPlugin::ClipPosInFrame
}\label{cbbardragpluginclipposinframe
}
62 \func{void
}{ClipPosInFrame
}{\param{wxPoint\&
}{pos
}}
64 Internal implementation function.
67 \membersection{cbBarDragPlugin::ClipRectInFrame
}\label{cbbardragplugincliprectinframe
}
69 \func{void
}{ClipRectInFrame
}{\param{wxRect\&
}{rect
}}
71 Internal implementation function.
74 \membersection{cbBarDragPlugin::DoDrawHintRect
}\label{cbbardragplugindodrawhintrect
}
76 \func{void
}{DoDrawHintRect
}{\param{wxRect\&
}{rect
},
\param{bool
}{isInClientRect
}}
78 Internal implementation function.
79 Draw the hint rectangle.
82 \membersection{cbBarDragPlugin::DrawHintRect
}\label{cbbardragplugindrawhintrect
}
84 \func{void
}{DrawHintRect
}{\param{wxRect\&
}{rect
},
\param{bool
}{isInClientRect
}}
86 Internal implementation function.
87 Draw the visual hint while dragging.
90 \membersection{cbBarDragPlugin::EraseHintRect
}\label{cbbardragpluginerasehintrect
}
92 \func{void
}{EraseHintRect
}{\param{wxRect\&
}{rect
},
\param{bool
}{isInClientRect
}}
94 Internal implementation function.
95 Erase the visual hint while dragging.
98 \membersection{cbBarDragPlugin::FinishTracking
}\label{cbbardragpluginfinishtracking
}
100 \func{void
}{FinishTracking
}{\void}
102 Internal implementation function.
103 Stop showing the visual hint while dragging.
106 \membersection{cbBarDragPlugin::GetBarHeightInPane
}\label{cbbardragplugingetbarheightinpane
}
108 \func{int
}{GetBarHeightInPane
}{\param{cbDockPane*
}{pPane
}}
110 Internal implementation function.
113 \membersection{cbBarDragPlugin::GetBarWidthInPane
}\label{cbbardragplugingetbarwidthinpane
}
115 \func{int
}{GetBarWidthInPane
}{\param{cbDockPane*
}{pPane
}}
117 Internal implementation function.
120 \membersection{cbBarDragPlugin::GetDistanceToPane
}\label{cbbardragplugingetdistancetopane
}
122 \func{int
}{GetDistanceToPane
}{\param{cbDockPane*
}{pPane
},
\param{wxPoint\&
}{mousePos
}}
124 Internal implementation function.
127 \membersection{cbBarDragPlugin::HitTestPanes
}\label{cbbardragpluginhittestpanes
}
129 \func{cbDockPane*
}{HitTestPanes
}{\param{wxRect\&
}{rect
}}
131 Internal implementation function. Finds the pane
132 under the specified rectangle.
135 \func{cbDockPane*
}{HitTestPanes
}{\param{wxPoint\&
}{pos
}}
137 Internal implementation function. Finds the pane
138 under the specified point.
141 \membersection{cbBarDragPlugin::HitsPane
}\label{cbbardragpluginhitspane
}
143 \func{bool
}{HitsPane
}{\param{cbDockPane*
}{pPane
},
\param{wxRect\&
}{rect
}}
145 Internal implementation function.
148 \membersection{cbBarDragPlugin::IsInClientArea
}\label{cbbardragpluginisinclientarea
}
150 \func{bool
}{IsInClientArea
}{\param{wxPoint\&
}{mousePos
}}
152 Internal implementation function.
155 \func{bool
}{IsInClientArea
}{\param{wxRect\&
}{rect
}}
157 Internal implementation function.
160 \membersection{cbBarDragPlugin::IsInOtherPane
}\label{cbbardragpluginisinotherpane
}
162 \func{bool
}{IsInOtherPane
}{\param{wxPoint\&
}{mousePos
}}
164 Internal implementation function.
167 \membersection{cbBarDragPlugin::OnDrawHintRect
}\label{cbbardragpluginondrawhintrect
}
169 \func{void
}{OnDrawHintRect
}{\param{cbDrawHintRectEvent\&
}{event
}}
171 Handles event, which originates from itself.
174 \membersection{cbBarDragPlugin::OnLButtonDown
}\label{cbbardragpluginonlbuttondown
}
176 \func{void
}{OnLButtonDown
}{\param{cbLeftDownEvent\&
}{event
}}
178 Handler for plugin event.
181 \membersection{cbBarDragPlugin::OnLButtonUp
}\label{cbbardragpluginonlbuttonup
}
183 \func{void
}{OnLButtonUp
}{\param{cbLeftUpEvent\&
}{event
}}
185 Handler for plugin event.
188 \membersection{cbBarDragPlugin::OnLDblClick
}\label{cbbardragpluginonldblclick
}
190 \func{void
}{OnLDblClick
}{\param{cbLeftDClickEvent\&
}{event
}}
192 Handler for plugin event.
195 \membersection{cbBarDragPlugin::OnMouseMove
}\label{cbbardragpluginonmousemove
}
197 \func{void
}{OnMouseMove
}{\param{cbMotionEvent\&
}{event
}}
199 Handler for plugin event.
202 \membersection{cbBarDragPlugin::OnStartBarDragging
}\label{cbbardragpluginonstartbardragging
}
204 \func{void
}{OnStartBarDragging
}{\param{cbStartBarDraggingEvent\&
}{event
}}
206 Handler for plugin event.
209 \membersection{cbBarDragPlugin::RectToScr
}\label{cbbardragpluginrecttoscr
}
211 \func{void
}{RectToScr
}{\param{wxRect\&
}{frameRect
},
\param{wxRect\&
}{scrRect
}}
213 Internal implementation function.
214 Converts the given rectangle from window to screen coordinates.
217 \membersection{cbBarDragPlugin::ShowHint
}\label{cbbardragpluginshowhint
}
219 \func{void
}{ShowHint
}{\param{bool
}{prevWasInClient
}}
221 Internal implementation function.
222 Show the hint; called within OnMouseMove.
225 \membersection{cbBarDragPlugin::StartTracking
}\label{cbbardragpluginstarttracking
}
227 \func{void
}{StartTracking
}{\void}
229 on-screen hint-tracking related methods
230 Internal implementation function.
231 Start showing a visual hint while dragging.
234 \membersection{cbBarDragPlugin::StickToPane
}\label{cbbardragpluginsticktopane
}
236 \func{void
}{StickToPane
}{\param{cbDockPane*
}{pPane
},
\param{wxPoint\&
}{mousePos
}}
238 Internal implementation function.
241 \membersection{cbBarDragPlugin::UnstickFromPane
}\label{cbbardragpluginunstickfrompane
}
243 \func{void
}{UnstickFromPane
}{\param{cbDockPane*
}{pPane
},
\param{wxPoint\&
}{mousePos
}}
245 Internal implementation function.