cbFloatedBarWindow is a kind of wxToolWindow, implementing floating toolbars.
Derived from
Include files
<wx/fl/toolwnd.h>
Data structures
Members
cbFloatedBarWindow::cbFloatedBarWindow
cbFloatedBarWindow::GetBar
cbFloatedBarWindow::GetPreferredSize
cbFloatedBarWindow::HandleTitleClick
cbFloatedBarWindow::OnDblClick
cbFloatedBarWindow::OnMiniButtonClicked
cbFloatedBarWindow::PositionFloatedWnd
cbFloatedBarWindow::SetBar
cbFloatedBarWindow::SetLayout
cbFloatedBarWindow()
Default constructor.
cbBarInfo* GetBar()
Returns the bar information for this window.
wxSize GetPreferredSize(const wxSize& given)
Overridden function returning the preferred size.
bool HandleTitleClick(wxMouseEvent& event)
Overridden function responding to mouse button clicks on the titlebar.
void OnDblClick(wxMouseEvent& event)
Responds to double-click mouse events.
void OnMiniButtonClicked(int btnIdx)
Overridden function responding to mouse clicks on mini-buttons.
void PositionFloatedWnd(int scrX, int scrY, int width, int height)
Position the floating window. The given coordinates are those of the bar itself; the floated container window's position and size are ajusted accordingly.
void SetBar(cbBarInfo* pBar)
Sets the bar information for this window.
void SetLayout(wxFrameLayout* pLayout)
Sets the layout for this window.