-
Notifications
You must be signed in to change notification settings - Fork 676
/
EventBroadcasterEditor.h
45 lines (28 loc) · 1.03 KB
/
EventBroadcasterEditor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
==============================================================================
EventBroadcasterEditor.h
Created: 22 May 2015 3:34:30pm
Author: Christopher Stawarz
==============================================================================
*/
#ifndef EVENTBROADCASTEREDITOR_H_INCLUDED
#define EVENTBROADCASTEREDITOR_H_INCLUDED
#include <EditorHeaders.h>
/**
User interface for the "EventBroadcaster" source node.
@see EventBroadcaster
*/
class EventBroadcasterEditor : public GenericEditor, public Label::Listener
{
public:
EventBroadcasterEditor(GenericProcessor* parentNode, bool useDefaultParameterEditors);
void buttonEvent(Button* button) override;
void labelTextChanged(juce::Label* label) override;
void setDisplayedPort(int port);
private:
ScopedPointer<UtilityButton> restartConnection;
ScopedPointer<Label> urlLabel;
ScopedPointer<Label> portLabel;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(EventBroadcasterEditor);
};
#endif // EVENTBROADCASTEREDITOR_H_INCLUDED