Vuo 2.4.4
Loading...
Searching...
No Matches
VuoUiThemeBase.hh
Go to the documentation of this file.
1
10#pragma once
11
12#include "VuoSerializable.hh"
13#include "VuoUiTheme.h"
14#include "VuoImageText.h"
15
20{
21};
22
24
29{
30public:
34 virtual VuoLayer render( VuoRenderedLayers renderedLayers,
35 VuoText label,
36 VuoPoint2d position,
37 VuoAnchor anchor,
38 bool isHovered,
39 bool isPressed) = 0;
40};
41
46{
47public:
51 virtual VuoLayer render(VuoRenderedLayers renderedLayers,
52 VuoText label,
53 VuoPoint2d position,
54 VuoAnchor anchor,
55 bool isHovered,
56 bool isPressed,
57 bool isToggled) = 0;
58};
59
64{
65public:
69 virtual VuoLayer render( VuoPoint2d screenSize,
70 VuoReal screenBackingScaleFactor,
71 VuoText label,
72 VuoText placeholderText,
73 int numLines,
74 int cursorIndex,
75 int selectionStart,
76 int selectionEnd,
77 VuoPoint2d position,
78 VuoReal width,
79 VuoAnchor anchor,
80 bool isHovered,
81 bool isFocused,
82 VuoImageTextData* textImageData) = 0;
83};
84
89{
90public:
95
99 virtual VuoLayer render(VuoRenderedLayers renderedLayers,
100 VuoText label,
101 VuoReal trackLength,
102 VuoReal normalizedProgress,
103 VuoPoint2d position,
104 VuoAnchor anchor,
105 VuoOrientation orientation,
106 bool isHovered,
107 bool isPressed) = 0;
108
113 virtual VuoReal handleMovementLength(VuoReal trackLength) = 0;
114
118 virtual bool isPointInsideSliderHandle(VuoRenderedLayers renderedLayers,
119 VuoReal trackLength,
120 VuoReal normalizedProgress,
121 VuoPoint2d position,
122 VuoAnchor anchor,
123 VuoOrientation orientation,
124 VuoPoint2d pointToTest) = 0;
125};