Compare commits

..

No commits in common. "d512c6b4ff6af0606378bdeefc523cc2edcd7377" and "cdca13f412ec840013aedd798d85591d9a4a57eb" have entirely different histories.

8 changed files with 1 additions and 35516 deletions

View File

@ -28,7 +28,6 @@
#define DISTRHO_PLUGIN_IS_RT_SAFE 1
#define DISTRHO_PLUGIN_WANT_PROGRAMS 1
#define DISTRHO_PLUGIN_HAS_UI 1
enum Parameters {
paramProg,

View File

@ -15,17 +15,9 @@ FILES_DSP = \
chassis.cpp \
voice.cpp
FILES_UI = \
peacock.cpp \
ui.cpp
UI_TYPE = generic
USE_FILE_BROWSER = false
SKIP_NATIVE_AUDIO_FALLBACK = true
include ../dpf/Makefile.plugins.mk
TARGETS += jack lv2_sep
TARGETS += jack lv2
all: $(TARGETS)

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +0,0 @@
#ifndef _BACK_HPP
#define _BACK_HPP
namespace Artwork {
extern const char *backgroundData;
const unsigned int backgroundDataSize = 677980;
const unsigned int backgroundWidth = 545;
const unsigned int backgroundHeight = 311;
} // namespace Artwork
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +0,0 @@
#pragma once
namespace Artwork {
/*
extern const char *orangeData;
const uint32_t orangeDataSize = 38*17*3;
const uint32_t orangeWidth = 38;
const uint32_t orangeHeight = 17;
*/
extern const char *backgroundData;
const unsigned int backgroundDataSize = 700*400*3;
const unsigned int backgroundWidth = 700;
const unsigned int backgroundHeight = 400;
} // namespace Artwork

View File

@ -1,32 +0,0 @@
#include "ui.hpp"
#include "chassis.hpp"
START_NAMESPACE_DISTRHO
namespace Art = Artwork;
DistrhoUIchassis::DistrhoUIchassis() : UI(Art::backgroundWidth, Art::backgroundHeight, true),
// UI
fImgBackground(Art::backgroundData, Art::backgroundWidth, Art::backgroundHeight, kImageFormatRGB)
{
}
void DistrhoUIchassis::programLoaded(uint32_t index) {
//printf("in programLoaded %d\n", index);
}
void DistrhoUIchassis::parameterChanged(uint32_t index, float value) {
//printf("in parameterchanged %d %f\n", index, value);
}
void DistrhoUIchassis::onDisplay() {
const GraphicsContext& context(getGraphicsContext());
fImgBackground.draw(context);
};
UI* createUI() {
return new DistrhoUIchassis();
}
END_NAMESPACE_DISTRHO

View File

@ -1,28 +0,0 @@
#ifndef _UI_HPP
#define _UI_HPP
#include "DistrhoUI.hpp"
#include "ImageWidgets.hpp"
#include "peacock.hpp"
START_NAMESPACE_DISTRHO
class DistrhoUIchassis : public UI {
public:
DistrhoUIchassis();
protected:
void parameterChanged(uint32_t index, float value) override;
void programLoaded(uint32_t index) override;
void onDisplay() override;
private:
Image fImgBackground;
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(DistrhoUIchassis)
// ImageAboutWindow fAboutWindow;
};
END_NAMESPACE_DISTRHO
#endif