WIP
This commit is contained in:
parent
3fda15966c
commit
61482e8d4c
36 changed files with 325 additions and 122 deletions
|
|
@ -27,7 +27,9 @@ VenoFonts* VenoFonts::getInstance ()
|
|||
|
||||
void VenoFonts::destroyAll ()
|
||||
{
|
||||
delete instance;
|
||||
if (instance != nullptr) {
|
||||
delete instance;
|
||||
}
|
||||
instance = nullptr;
|
||||
}
|
||||
|
||||
|
|
@ -43,4 +45,6 @@ VenoFonts::~VenoFonts ()
|
|||
{
|
||||
delete arvo;
|
||||
delete lcdFont;
|
||||
arvo = nullptr;
|
||||
lcdFont = nullptr;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ protected:
|
|||
static VenoFonts* instance;
|
||||
Font* lcdFont;
|
||||
Font* arvo;
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (VenoFonts)
|
||||
public:
|
||||
VenoFonts ();
|
||||
~VenoFonts ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue