WIP
This commit is contained in:
parent
3fda15966c
commit
61482e8d4c
36 changed files with 325 additions and 122 deletions
|
|
@ -11,6 +11,8 @@ class FlatLook : public LookAndFeel_V4
|
|||
{
|
||||
private:
|
||||
public:
|
||||
FlatLook() = default;
|
||||
~FlatLook() override = default;
|
||||
void drawButtonBackground (Graphics& graphics, Button& button, const Colour& backgroundColour,
|
||||
bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override;
|
||||
|
||||
|
|
@ -29,5 +31,6 @@ public:
|
|||
int buttonH, ComboBox &box) override;
|
||||
|
||||
protected:
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FlatLook);
|
||||
};
|
||||
#endif //VENO_FLATLOOK_H
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ LookHandler::~LookHandler ()
|
|||
//delete this shit!
|
||||
delete m_feels[0];
|
||||
delete m_feels[1];
|
||||
m_look.reset();
|
||||
}
|
||||
|
||||
void LookHandler::selectLook (int index)
|
||||
|
|
|
|||
|
|
@ -26,5 +26,6 @@ public:
|
|||
protected:
|
||||
//currently both available themes are CrazyLook <-- (this is a fun one xD) and FlatLook
|
||||
LookAndFeel_V4* m_feels[2] = {new FlatLook(), new CrazyLook()};
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LookHandler);
|
||||
};
|
||||
#endif //VENO_LOOKHANDLER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue