1
1
2
- export const VERSION = "1.4.1"
2
+ export const VERSION = "1.6.1"
3
+
4
+ //export const MAXIMUM_UPSTREAM = 4
3
5
4
6
export class SettingIds {
5
7
static KEYBOARD_TOGGLE = "Controller.Display.keyboard"
@@ -10,23 +12,27 @@ export class SettingIds {
10
12
static DEBUG_LEVEL = "Controller.Debug.level"
11
13
static FONT_SIZE = "Controller.Display.font_size"
12
14
static TOOLTIPS = "Controller.Display.tooltips"
15
+ static MINIMUM_TAB_WIDTH = "Controller.Display.minimum_tab_width"
13
16
static DEFAULT_APPLY_TO_SIMILAR = "Controller.Sliders.default_apply_to_similar"
14
17
static SHOW_SCROLLBARS = "Controller.Display.show_scrollbars"
15
18
static SHOW_IN_FOCUS_MODE = "Controller.Display.show_in_focus_mode"
19
+ static HIDE_EXTENSIONS = "Controller.Display.hide_extensions"
16
20
}
17
21
18
22
export class SettingNames {
19
23
static KEYBOARD_TOGGLE = "Toggle controller visibility:"
20
24
static FONT_SIZE = "Base font size:"
21
25
static CONTROL_AFTER_GENERATE = "Show 'control before/after generate'"
22
26
static TOOLTIPS = "Show tooltips"
27
+ static MINIMUM_TAB_WIDTH = "Minimum tab width"
23
28
static DEFAULT_APPLY_TO_SIMILAR = "Default apply to similar"
24
29
static SHOW_IN_FOCUS_MODE = "Show controllers in focus mode"
25
30
static SCROLL_MOVES_SLIDERS = "Scrollwheel changes sliders"
26
31
static SCROLL_REVERSED = "Scrollwheel reversed for sliders"
27
32
static SHOW_SCROLLBARS = "Controller scrollbars"
28
33
static EDIT_SLIDERS = "Edit slider limits"
29
34
static DEBUG_LEVEL = "Debug level"
35
+ static HIDE_EXTENSIONS = "Hide extensions"
30
36
}
31
37
32
38
export class Generic {
@@ -43,46 +49,56 @@ export class Generic {
43
49
static D3 = "Verbose"
44
50
static SHOW = "Show"
45
51
static HIDE = "Hide"
52
+ static SHOW_ALL = "[Show all widgets]"
53
+ static HIDE_ALL = "[Hide all widgets]"
46
54
}
47
55
48
56
export class Tooltips {
49
57
static FONT_SIZE = "All font sizes will be scaled relative to this value"
50
58
static CONTROL_AFTER_GENERATE = "Allow the control_after_generate widget to be shown"
51
59
static TOOLTIPS = "Refresh controller after changing"
60
+ static MINIMUM_TAB_WIDTH = "Minimum width of a tab before switching to stacked layout"
52
61
static DEFAULT_APPLY_TO_SIMILAR = "Default setting of 'apply to similar' checkbox"
53
62
static SCROLL_REVERSED = "Scroll up to reduce value"
54
63
static SHOW_SCROLLBARS = "If off, can still scroll with scrollwheel"
55
64
static DEBUG_LEVEL = "Press f12 for js console"
65
+ static HIDE_EXTENSIONS = "Hide filename extensions"
56
66
}
57
67
58
68
export class InclusionOptions {
59
69
static EXCLUDE = "Don't include this node"
60
70
static INCLUDE = "Include this node"
61
71
static ADVANCED = "Include this node as advanced control"
62
- static EXCLUDES = InclusionOptions . EXCLUDE . replace ( 'this node' , 'these nodes' )
72
+ static FAVORITE = "Include this node as favorite"
73
+ static EXCLUDES = InclusionOptions . EXCLUDE . replace ( 'this node' , 'these nodes' )
63
74
static INCLUDES = InclusionOptions . INCLUDE . replace ( 'this node' , 'these nodes' )
64
75
static ADVANCEDS = InclusionOptions . ADVANCED . replace ( 'this node' , 'these nodes' )
76
+ static FAVORITES = InclusionOptions . FAVORITE . replace ( 'this node' , 'these nodes' )
65
77
}
66
78
67
79
export class Timings { // ms
68
80
static GENERIC_SHORT_DELAY = 20
69
81
static GENERIC_LONGER_DELAY = 1000
70
82
static GENERIC_MUCH_LONGER_DELAY = 5000
71
- static PERIODIC_CHECK = 1000
83
+ static PERIODIC_CHECK = 1000 // on_change 'tick'
72
84
static DRAG_PAUSE_OVER_BACKGROUND = 500
73
85
static SLIDER_ACTIVE_DELAY = 300
74
86
static UPDATE_EXCEPTION_WAITTIME = 10000
75
87
static PAUSE_STACK_WAIT = 101
76
88
static ACTIVE_ELEMENT_DELAY = 234
77
- static ON_CHANGE_GAP = 200
78
- static ON_WINDOW_RESIZE_GAP = 27
79
- static GROUP_CHANGE_DELAY = 10
89
+ static ON_CHANGE_GAP = 200 // must be less than PERIODIC_CHECK. How long to wait for gap in on_change calls
80
90
static ALLOW_LAYOUT = 1000
81
91
}
82
92
83
93
export class Colors {
84
94
static DARK_BACKGROUND = '#222222'
85
95
static MENU_HIGHLIGHT = '#C08080'
96
+ static FAVORITES_FG = '#CC4444'
97
+ static FAVORITES_GROUP = '#223322'
98
+ static FOREGROUND = '#FFFFFF'
99
+ static OPTIONS = [ '#FFFFFF' , '#000000' ]
100
+ static UNSELECTED_DARKEN = 0.4
101
+ static HEADER_DARKEN = 0.666
86
102
}
87
103
88
104
export class Pixels {
@@ -93,6 +109,7 @@ export class Pixels {
93
109
export class Texts {
94
110
static ALL_GROUPS = "All"
95
111
static UNGROUPED = "Ungrouped"
112
+ static FAVORITES = "❤"
96
113
static CONTEXT_MENU = "Controller Panel"
97
114
static MODE_TOOLTIP = {
98
115
0 : "Click to bypass</br>ctrl‑click to mute" ,
@@ -103,6 +120,15 @@ export class Texts {
103
120
static REMOVE = "Remove from controllers"
104
121
static EDIT_WV = "Edit widget visibility"
105
122
static IMAGE_WIDGET_NAME = "image viewer"
123
+ static UNCONNECTED = "Unconnected Input"
124
+ static ACCEPT_UPSTREAM = "Show upstream images"
125
+ static REJECT_UPSTREAM = "Only show my images"
126
+ static STACK_ALWAYS = "Only show active tab"
127
+ static STACK_IF_NEEDED = "Show all tabs if space allows"
128
+ }
129
+
130
+ export const DisplayNames = {
131
+ "❤" : "❤ Favorites"
106
132
}
107
133
108
134
export const BASE_PATH = "extensions/cg-controller"
0 commit comments