Vuo
2.3.2
editor
VuoCodeEditorStages.hh
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoShaderFile.hh
"
13
14
class
VuoCodeEditor
;
15
19
class
VuoCodeEditorStages
:
public
QTabWidget
20
{
21
Q_OBJECT
22
23
public
:
24
explicit
VuoCodeEditorStages
(QWidget *parent,
VuoShaderFile
*shaderFile);
25
26
VuoCodeEditor
*
someEditor
();
27
void
updatePosition
();
28
29
VuoCodeEditor
*
currentEditor
();
30
VuoShaderFile::Stage
currentStage
();
31
void
switchToStage
(
VuoShaderFile::Stage
stage);
32
33
bool
modified
();
34
void
setUnmodified
();
35
36
void
zoom11
();
37
void
zoomIn
();
38
void
zoomOut
();
39
40
VuoCodeEditor
*
vertex
;
41
VuoCodeEditor
*
geometry
;
42
VuoCodeEditor
*
fragment
;
43
44
signals:
45
void
modificationMayHaveChanged
(
void
);
46
47
private
:
48
void
keyPressEvent(QKeyEvent *event);
49
void
updateColor(
bool
isDark);
50
};
Generated on Sat Jun 19 2021 10:17:42 for Vuo by
1.9.1