reVeno/Source/Veno/GUI/GUIParts/Sidebar/VenoLogo.cpp
Maurice Grönwoldt 3fda15966c - fixed font loading
- changed to RMS
- added decibel Scales
- fixed logo loading
- changed blood theme
- added some look and feel
2020-06-29 22:47:45 +02:00

35 lines
574 B
C++

//
// Created by versustune on 14.06.20.
//
#include "VenoLogo.h"
VenoLogo* VenoLogo::instance = nullptr;
VenoLogo* VenoLogo::getInstance ()
{
if (instance == nullptr)
{
instance = new VenoLogo();
}
return instance;
}
VenoLogo::VenoLogo ()
{
MemoryOutputStream mo;
auto result = ImageCache::getFromMemory(BinaryData::LogoVeNo_png, BinaryData::LogoVeNo_pngSize);
realLogo = result;
}
Image VenoLogo::getLogo ()
{
return getInstance()->realLogo;
}
void VenoLogo::deleteInstance ()
{
delete instance;
instance = nullptr;
}