11#ifndef __AUDACITY_EXPANDING_TOOL_BAR__
12#define __AUDACITY_EXPANDING_TOOL_BAR__
16#include <wx/dragimag.h>
18#include <wx/minifram.h>
22#include <unordered_map>
51 const wxPoint& pos = wxDefaultPosition,
52 const wxSize&
size = wxDefaultSize);
67 void OnSize(wxSizeEvent &evt);
69 void OnTimer(wxTimerEvent &evt);
118 DECLARE_EVENT_TABLE()
132 const wxPoint& pos = wxDefaultPosition,
133 const wxSize&
size = wxDefaultSize);
135 void OnPaint(wxPaintEvent &evt);
136 void OnSize(wxSizeEvent &evt);
137 void OnMouse(wxMouseEvent &evt);
144 DECLARE_EVENT_TABLE()
155 const wxPoint& pos = wxDefaultPosition);
166 DECLARE_EVENT_TABLE()
176 const wxString&
name = {},
177 const wxPoint& pos = wxDefaultPosition);
188 DECLARE_EVENT_TABLE()
203 const wxPoint& pos = wxDefaultPosition,
204 const wxSize&
size = wxDefaultSize);
210 void OnSize(wxSizeEvent &evt);
211 void OnMouse(wxMouseEvent &evt);
213 void CollapseAll(
bool now =
false);
219 std::unique_ptr<ToolBarArrangement> SaveArrangement();
220 void RestoreArrangement(std::unique_ptr<ToolBarArrangement>&& arrangement);
222 std::vector<wxRect> GetDropTargets();
228 void ContractRow(
int rowIndex);
229 bool ExpandRow(
int rowIndex);
230 void LayoutOne(
int childIndex);
232 void Fit(
bool horizontal,
bool vertical);
249 DECLARE_EVENT_TABLE()
A wxPanel which displays an ImageRoll.
Holds a msgid for the translation catalog; may also bind format arguments.