Audacity 3.2.0
Classes | Macros | Enumerations | Functions | Variables
ToolBar.h File Reference
#include <functional>
#include <vector>
#include <wx/defs.h>
#include "Prefs.h"
#include "Theme.h"
#include "wxPanelWrapper.h"
#include <wx/windowptr.h>
Include dependency graph for ToolBar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ToolBar
 Works with ToolManager and ToolDock to provide a dockable window in which buttons can be placed. More...
 
struct  RegisteredToolbarFactory
 

Macros

#define toolbarGap   1
 

Enumerations

enum  { ToolBarFloatMargin = 1 }
 

Functions

 DECLARE_EXPORTED_EVENT_TYPE (AUDACITY_DLL_API, EVT_TOOLBAR_UPDATED, -1)
 class ToolBar More...
 

Variables

static constexpr auto toolbarSingle { 31 }
 Height of a single line toolbar. More...
 
static constexpr auto toolbarMargin { 5 }
 Preferred inner toolbar margin. More...
 
static constexpr auto toolbarSpacing { 2 }
 Preferred spacing between inner toolbar elements. More...
 

Macro Definition Documentation

◆ toolbarGap

#define toolbarGap   1

Definition at line 63 of file ToolBar.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ToolBarFloatMargin 

Definition at line 66 of file ToolBar.h.

66{ ToolBarFloatMargin = 1 };
@ ToolBarFloatMargin
Definition: ToolBar.h:66

Function Documentation

◆ DECLARE_EXPORTED_EVENT_TYPE()

DECLARE_EXPORTED_EVENT_TYPE ( AUDACITY_DLL_API  ,
EVT_TOOLBAR_UPDATED  ,
1 
)

class ToolBar

Variable Documentation

◆ toolbarMargin

constexpr auto toolbarMargin { 5 }
staticconstexpr

Preferred inner toolbar margin.

Definition at line 55 of file ToolBar.h.

Referenced by AudioSetupToolBar::MakeAudioSetupButton(), and audacity::cloud::ShareAudioToolbar::MakeShareAudioButton().

◆ toolbarSingle

constexpr auto toolbarSingle { 31 }
staticconstexpr

◆ toolbarSpacing

constexpr auto toolbarSpacing { 2 }
staticconstexpr