mirror of
https://gitlab.com/samplehive/sample-hive.git
synced 2026-10-09 22:51:28 +02:00
Replaced wxSVG with wxStaticBitmap and removed the libwxsvg-dev and libwxsvg3 from dependencies.
This commit is contained in:
+1
-3
@@ -255,9 +255,7 @@ MainFrame::MainFrame()
|
||||
|
||||
// Temporary widget to show a waveform sample image
|
||||
// TODO: Replace with actual waveform display
|
||||
m_WaveformViewer = new wxSVGCtrl(m_TopPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize);
|
||||
m_WaveformViewer->Load(WAVEFORM_SVG);
|
||||
m_WaveformViewer->Show();
|
||||
m_WaveformViewer = new wxStaticBitmap(m_TopPanel, wxID_ANY, wxBitmap(WAVEFORM_SVG));
|
||||
|
||||
// Initialize browser control buttons
|
||||
m_PlayButton = new wxButton(m_TopPanel, BC_Play, _("Play"), wxDefaultPosition, wxDefaultSize, 0);
|
||||
|
||||
+1
-4
@@ -51,9 +51,6 @@
|
||||
#include <wx/treectrl.h>
|
||||
#include <wx/window.h>
|
||||
|
||||
#include <wxSVG/svgctrl.h>
|
||||
#include <wxSVG/SVGDocument.h>
|
||||
|
||||
#include <taglib/taglib.h>
|
||||
#include <taglib/fileref.h>
|
||||
#include <taglib/tstring.h>
|
||||
@@ -112,7 +109,7 @@ class MainFrame : public wxFrame
|
||||
wxBoxSizer* m_TopSizer;
|
||||
wxBoxSizer* m_TopPanelMainSizer;
|
||||
wxBoxSizer* m_WaveformDisplaySizer;
|
||||
wxSVGCtrl* m_WaveformViewer;
|
||||
wxStaticBitmap* m_WaveformViewer;
|
||||
wxBoxSizer* m_BrowserControlSizer;
|
||||
wxButton* m_PlayButton;
|
||||
wxToggleButton* m_LoopButton;
|
||||
|
||||
Reference in New Issue
Block a user