Debian Codegraph @

protolib/examples/juce/juceProtoExample/Source/ControlWindow.h

raw
1 /*
2 ==============================================================================
3
4 This is an automatically generated GUI class created by the Projucer!
5
6 Be careful when adding custom code to these files, as only the code within
7 the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
8 and re-saved.
9
10 Created with Projucer version: 5.3.2
11
12 ------------------------------------------------------------------------------
13
14 The Projucer is part of the JUCE library.
15 Copyright (c) 2017 - ROLI Ltd.
16
17 ==============================================================================
18 */
19
20 #pragma once
21
22 //[Headers] -- You can add your own extra header files here --
23 #include "../JuceLibraryCode/JuceHeader.h"
24 #include "ivoxActivityComponent.h"
25 //[/Headers]
26
27
28
29 //==============================================================================
30 /**
31 //[Comments]
32 An auto-generated component, created by the Projucer.
33
34 Describe your class and how it works here!
35 //[/Comments]
36 */
37 class ControlWindow : public Component,
38 public Button::Listener
39 {
40 public:
41 //==============================================================================
42 ControlWindow ();
43 ~ControlWindow();
44
45 //==============================================================================
46 //[UserMethods] -- You can add your own custom methods in this section.
47 //[/UserMethods]
48
49 void paint (Graphics& g) override;
50 void resized() override;
51 void buttonClicked (Button* buttonThatWasClicked) override;
52
53
54
55 private:
56 //[UserVariables] -- You can add your own custom variables in this section.
57 IvoxActivityComponent* activity_icon;
58 //[/UserVariables]
59
60 //==============================================================================
61 std::unique_ptr<ToggleButton> startButton;
62 std::unique_ptr<Label> helloLabel;
63 std::unique_ptr<Viewport> viewport;
64 std::unique_ptr<Drawable> drawable1;
65
66
67 //==============================================================================
68 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ControlWindow)
69 };
70
71 //[EndFile] You can add extra defines here...
72 //[/EndFile]