Audacity
3.2.0
modules
sharing
mod-cloud-audiocom
ui
UserImage.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
UserImage.h
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
#pragma once
12
13
#include "
wxPanelWrapper.h
"
14
15
#include <wx/bitmap.h>
16
17
namespace
audacity::cloud::audiocom
18
{
19
class
UserImage
final :
public
wxPanelWrapper
20
{
21
public
:
22
UserImage
(wxWindow* parent,
const
wxSize&
size
);
23
24
void
SetBitmap
(
const
wxBitmap& bitmap);
25
void
SetBitmap
(
const
wxString& path);
26
27
private
:
28
void
OnPaint
();
29
30
wxBitmap
mBitmap
;
31
};
// class UserImage
32
}
// namespace audacity::cloud::audiocom
audacity::cloud::audiocom::UserImage
Definition:
UserImage.h:20
audacity::cloud::audiocom::UserImage::mBitmap
wxBitmap mBitmap
Definition:
UserImage.h:30
audacity::cloud::audiocom::UserImage::UserImage
UserImage(wxWindow *parent, const wxSize &size)
Definition:
UserImage.cpp:21
audacity::cloud::audiocom::UserImage::SetBitmap
void SetBitmap(const wxBitmap &bitmap)
Definition:
UserImage.cpp:32
audacity::cloud::audiocom::UserImage::OnPaint
void OnPaint()
Definition:
UserImage.cpp:49
wxPanelWrapper
Definition:
wxPanelWrapper.h:40
size
size_t size
Definition:
ffmpeg-2.3.6-single-header.h:412
audacity::cloud::audiocom
Definition:
CloudLibrarySettings.cpp:17
wxPanelWrapper.h
Generated by
1.9.3