Vuo
2.0.0
type
inputEditor
VuoInputEditorColor
VuoInputEditorColor.hh
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoInputEditor.hh
"
13
14
extern
"C"
15
{
16
#include "
VuoColor.h
"
17
}
18
22
class
VuoInputEditorColorFactory
:
public
VuoInputEditorFactory
23
{
24
Q_OBJECT
25
Q_PLUGIN_METADATA(IID
"org.vuo.inputEditor"
FILE
"VuoInputEditorColor.json"
)
26
Q_INTERFACES(
VuoInputEditorFactory
)
27
28
public
:
29
virtual
VuoInputEditor
*
newInputEditor
(
void
);
30
};
31
35
class
VuoInputEditorColor
:
public
VuoInputEditor
36
{
37
Q_OBJECT
38
39
public
:
40
json_object
*
show
(QPoint portLeftCenter,
json_object
*originalValue,
json_object
*details, map<QString, json_object *> portNamesAndValues);
41
42
private
:
43
VuoColor
vuoColorFromQColor(
const
QColor &qtColor);
44
45
private
slots:
46
void
currentColorChanged(
const
QColor &color);
47
};
48
Generated on Wed Feb 26 2020 23:19:44 for Vuo by
1.8.17