Audacity 3.2.0
ShareAudioToolbar.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 ShareAudioToolbar.h
7
8 Dmitry Vedenko
9
10**********************************************************************/
11#pragma once
12
13#include "toolbars/ToolBar.h"
14
15class AudacityProject;
16
17namespace audacity::cloud
18{
19class ShareAudioToolbar final : public ToolBar
20{
21public:
22 static Identifier ID();
23
25 ~ShareAudioToolbar() override;
26
28 static const ShareAudioToolbar& Get(const AudacityProject& project);
29
30private:
31 void Create(wxWindow* parent) override;
32 void RegenerateTooltips() override;
33 void Populate() override;
34 void Repaint(wxDC* dc) override;
35 void EnableDisableButtons() override;
36 void ReCreateButtons() override;
37
39 void ArrangeButtons();
40
42
43 enum
44 {
47 };
48
49 DECLARE_CLASS(ShareAudioToolbar)
50}; // class ShareAudioToolbar
51} // namespace audacity::cloud
const auto project
A wxButton with mouse-over behaviour.
Definition: AButton.h:104
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
An explicitly nonlocalized string, not meant for the user to see.
Definition: Identifier.h:22
Works with ToolManager and ToolDock to provide a dockable window in which buttons can be placed.
Definition: ToolBar.h:73
ShareAudioToolbar(AudacityProject &project)
void Create(wxWindow *parent) override
static ShareAudioToolbar & Get(AudacityProject &project)