2 % automatically generated by HelpGen $Revision$ from
3 % barhintspl.h at 21/Jan/02 21:14:18
7 \section{\class{cbBarHintsPlugin
}}\label{cbbarhintsplugin
}
10 This class intercepts bar-decoration and sizing events, and draws
3D hints
11 around fixed and flexible bars, similar to those in Microsoft DevStudio
6.x
13 \wxheading{Derived from
}
15 \helpref{cbPluginBase
}{cbpluginbase
}
17 \wxheading{Include files
}
21 \wxheading{Data structures
}
23 \latexignore{\rtfignore{\wxheading{Members
}}}
26 \membersection{cbBarHintsPlugin::cbBarHintsPlugin
}\label{cbbarhintsplugincbbarhintsplugin
}
28 \func{}{cbBarHintsPlugin
}{\void}
33 \func{}{cbBarHintsPlugin
}{\param{wxFrameLayout*
}{pLayout
},
\param{int
}{paneMask = wxALL
\_PANES}}
35 Constructor, taking parent frame and pane mask flag.
38 \membersection{cbBarHintsPlugin::
\destruct{cbBarHintsPlugin
}}\label{cbbarhintsplugindtor
}
40 \func{}{\destruct{cbBarHintsPlugin
}}{\void}
45 \membersection{cbBarHintsPlugin::CreateBoxes
}\label{cbbarhintsplugincreateboxes
}
47 \func{void
}{CreateBoxes
}{\void}
49 Helper function: creates close and collapse boxes.
52 \membersection{cbBarHintsPlugin::DoDrawHint
}\label{cbbarhintsplugindodrawhint
}
54 \func{void
}{DoDrawHint
}{\param{wxDC\&
}{dc
},
\param{wxRect\&
}{rect
},
\param{int
}{pos
},
\param{int
}{boxOfs
},
\param{int
}{grooveOfs
},
\param{bool
}{isFixed
}}
56 Helper function: draws a hint.
59 \membersection{cbBarHintsPlugin::Draw3DBox
}\label{cbbarhintsplugindraw3dbox
}
61 \func{void
}{Draw3DBox
}{\param{wxDC\&
}{dc
},
\param{const wxPoint\&
}{pos
},
\param{bool
}{pressed
}}
63 Helper function: draws a
3D box.
66 \membersection{cbBarHintsPlugin::DrawCloseBox
}\label{cbbarhintsplugindrawclosebox
}
68 \func{void
}{DrawCloseBox
}{\param{wxDC\&
}{dc
},
\param{const wxPoint\&
}{pos
},
\param{bool
}{pressed
}}
70 Helper function: draws a close box.
73 \membersection{cbBarHintsPlugin::DrawCollapseBox
}\label{cbbarhintsplugindrawcollapsebox
}
75 \func{void
}{DrawCollapseBox
}{\param{wxDC\&
}{dc
},
\param{const wxPoint\&
}{pos
},
\param{bool
}{atLeft
},
\param{bool
}{disabled
},
\param{bool
}{pressed
}}
77 Helper function: draws a collapse box.
80 \membersection{cbBarHintsPlugin::DrawGrooves
}\label{cbbarhintsplugindrawgrooves
}
82 \func{void
}{DrawGrooves
}{\param{wxDC\&
}{dc
},
\param{const wxPoint\&
}{pos
},
\param{int
}{length
}}
84 Helper function: draws grooves.
87 \membersection{cbBarHintsPlugin::ExcludeHints
}\label{cbbarhintspluginexcludehints
}
89 \func{void
}{ExcludeHints
}{\param{wxRect\&
}{rect
},
\param{cbBarInfo\&
}{info
}}
94 \membersection{cbBarHintsPlugin::GetHintsLayout
}\label{cbbarhintsplugingethintslayout
}
96 \func{void
}{GetHintsLayout
}{\param{wxRect\&
}{rect
},
\param{cbBarInfo\&
}{info
},
\param{int\&
}{boxOfs
},
\param{int\&
}{grooveOfs
},
\param{int\&
}{pos
}}
98 Helper function: gets the layout of a hint.
101 \membersection{cbBarHintsPlugin::HitTestHints
}\label{cbbarhintspluginhittesthints
}
103 \func{int
}{HitTestHints
}{\param{cbBarInfo\&
}{info
},
\param{const wxPoint\&
}{pos
}}
105 Helper function: returns information about the hint under the given position.
108 \membersection{cbBarHintsPlugin::OnDrawBarDecorations
}\label{cbbarhintspluginondrawbardecorations
}
110 \func{void
}{OnDrawBarDecorations
}{\param{cbDrawBarDecorEvent\&
}{event
}}
112 Handles a plugin event.
115 \membersection{cbBarHintsPlugin::OnInitPlugin
}\label{cbbarhintspluginoninitplugin
}
117 \func{void
}{OnInitPlugin
}{\void}
119 Called to initialize this plugin.
122 \membersection{cbBarHintsPlugin::OnLeftDown
}\label{cbbarhintspluginonleftdown
}
124 \func{void
}{OnLeftDown
}{\param{cbLeftDownEvent\&
}{event
}}
126 Handles a plugin event.
129 \membersection{cbBarHintsPlugin::OnLeftUp
}\label{cbbarhintspluginonleftup
}
131 \func{void
}{OnLeftUp
}{\param{cbLeftUpEvent\&
}{event
}}
133 Handles a plugin event.
136 \membersection{cbBarHintsPlugin::OnMotion
}\label{cbbarhintspluginonmotion
}
138 \func{void
}{OnMotion
}{\param{cbMotionEvent\&
}{event
}}
140 Handles a plugin event.
143 \membersection{cbBarHintsPlugin::OnSizeBarWindow
}\label{cbbarhintspluginonsizebarwindow
}
145 \func{void
}{OnSizeBarWindow
}{\param{cbSizeBarWndEvent\&
}{event
}}
147 Handles a plugin event.
150 \membersection{cbBarHintsPlugin::SetGrooveCount
}\label{cbbarhintspluginsetgroovecount
}
152 \func{void
}{SetGrooveCount
}{\param{int
}{nGrooves
}}
154 Set the number of grooves to be shown in the pane.