Contents Up Previous Next

cbFloatedBarWindow

cbFloatedBarWindow is a kind of wxToolWindow, implementing floating toolbars.

Derived from

wxToolWindow

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::cbFloatedBarWindow

cbFloatedBarWindow()

Default constructor.


cbFloatedBarWindow::GetBar

cbBarInfo* GetBar()

Returns the bar information for this window.


cbFloatedBarWindow::GetPreferredSize

wxSize GetPreferredSize(const wxSize& given)

Overridden function returning the preferred size.


cbFloatedBarWindow::HandleTitleClick

bool HandleTitleClick(wxMouseEvent& event)

Overridden function responding to mouse button clicks on the titlebar.


cbFloatedBarWindow::OnDblClick

void OnDblClick(wxMouseEvent& event)

Responds to double-click mouse events.


cbFloatedBarWindow::OnMiniButtonClicked

void OnMiniButtonClicked(int btnIdx)

Overridden function responding to mouse clicks on mini-buttons.


cbFloatedBarWindow::PositionFloatedWnd

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.


cbFloatedBarWindow::SetBar

void SetBar(cbBarInfo* pBar)

Sets the bar information for this window.


cbFloatedBarWindow::SetLayout

void SetLayout(wxFrameLayout* pLayout)

Sets the layout for this window.