2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
% automatically generated by HelpGen $Revision$ from
|
2002-01-21 17:34:42 -05:00
|
|
|
% controlbar.h at 21/Jan/02 21:14:13
|
2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
|
|
|
|
|
|
|
|
\section{\class{cbBarDimHandlerBase}}\label{cbbardimhandlerbase}
|
|
|
|
|
|
|
|
|
|
|
|
Abstract interface for bar-size handler classes.
|
2002-01-21 17:34:42 -05:00
|
|
|
These objects receive notifications whenever the docking
|
|
|
|
state of the bar is changed, thus they provide the possibility
|
|
|
|
to adjust the values in cbDimInfo::mSizes accordingly.
|
|
|
|
Specific handlers can be hooked up to specific types of bar.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
2002-01-31 15:57:31 -05:00
|
|
|
<wx/fl/controlbar.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{cbBarDimHandlerBase::cbBarDimHandlerBase}\label{cbbardimhandlerbasecbbardimhandlerbase}
|
|
|
|
|
|
|
|
\func{}{cbBarDimHandlerBase}{\void}
|
|
|
|
|
|
|
|
to multiple bars, it's instance is
|
|
|
|
reference-counted
|
2002-01-21 17:34:42 -05:00
|
|
|
Default constructor. The initial reference count is 0, since
|
|
|
|
the handler is not used until the first invocation of AddRef().
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbBarDimHandlerBase::AddRef}\label{cbbardimhandlerbaseaddref}
|
|
|
|
|
|
|
|
\func{void}{AddRef}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Increments the reference count.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDimHandlerBase::OnChangeBarState}\label{cbbardimhandlerbaseonchangebarstate}
|
|
|
|
|
|
|
|
\func{void}{OnChangeBarState}{\param{cbBarInfo* }{pBar}, \param{int }{newState}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Responds to "bar-state-changes" notifications.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbBarDimHandlerBase::OnResizeBar}\label{cbbardimhandlerbaseonresizebar}
|
|
|
|
|
|
|
|
\func{void}{OnResizeBar}{\param{cbBarInfo* }{pBar}, \param{const wxSize\& }{given}, \param{wxSize\& }{preferred}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Responds to bar resize notifications.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbBarDimHandlerBase::RemoveRef}\label{cbbardimhandlerbaseremoveref}
|
|
|
|
|
|
|
|
\func{void}{RemoveRef}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Decrements the reference count, and if the count is at zero,
|
|
|
|
delete 'this'.
|
|
|
|
|