versustunez
d735c1d076
- added LICENSE.txt - added LabelComponent.cpp - renamed some variables - moved instance id to processor
25 lines
444 B
C++
25 lines
444 B
C++
//
|
|
// Created by versustune on 17.03.20.
|
|
//
|
|
|
|
#include "LookHandler.h"
|
|
#include "../../Core/Config.h"
|
|
|
|
LookHandler::LookHandler() {
|
|
selectLook(Config::getInstance()->getCurrentLook());
|
|
}
|
|
|
|
LookHandler::~LookHandler() {
|
|
//delete this shit!
|
|
delete m_feels[0];
|
|
delete m_feels[1];
|
|
}
|
|
|
|
void LookHandler::selectLook(int index) {
|
|
m_currentLook = index;
|
|
}
|
|
|
|
LookAndFeel_V4* LookHandler::getLook() {
|
|
return m_feels[m_currentLook];
|
|
}
|