Widget Studio
WSEnums.h
1/*
2* Copyright (c) 2021 THEIA INTERACTIVE. All rights reserved.
3*
4* Website: https://widgetstudio.design
5* Documentation: https://docs.widgetstudio.design
6* Support: marketplace@theia.io
7* Marketplace FAQ: https://marketplacehelp.epicgames.com
8*/
9
10#pragma once
11
12#include "CoreMinimal.h"
13#include "WSEnums.generated.h"
14
15UENUM(Blueprintable, BlueprintType, META=(Tooltip = "Choose between different enumeration types."))
16enum class EEnumeration : uint8
17{
18 Float UMETA(DisplayName="Decimal (Float)"),
19 Int UMETA(DisplayName="Whole Number (Int)"),
20
21 Enumeration_Max UMETA(Hidden),
22};
23
24UENUM(Blueprintable, BlueprintType, META=(Tooltip = "The modifier for widget resizing."))
25enum class ESizeModifier : uint8
26{
27 Mini UMETA(DisplayName="Mini"),
28 Tiny UMETA(DisplayName="Tiny"),
29 Small UMETA(DisplayName="Small"),
30 Regular UMETA(DisplayName="Regular"),
31 Large UMETA(DisplayName="Large"),
32 Big UMETA(DisplayName="Big"),
33 Huge UMETA(DisplayName="Huge"),
34 Massive UMETA(DisplayName="Massive"),
35
36 SizeModifier_Max UMETA(Hidden)
37};
38
39UENUM(Blueprintable, BlueprintType, META=(Tooltip = "Access colors from both a basic color pool and from the Theme.."))
40enum class EPalette : uint8
41{
42 // Accent Colors
43 PrimaryAccent UMETA(DisplayName="Primary Accent"),
44 SecondaryAccent UMETA(DisplayName="Secondary Accent"),
45
46 // Content / Foreground Colors
47 PrimaryContent UMETA(DisplayName="Primary Content"),
48 SecondaryContent UMETA(DisplayName="Secondary Content"),
49 TertiaryContent UMETA(DisplayName="Tertiary Content"),
50
51 // Background Colors
52 PrimaryBackground UMETA(DisplayName="Primary Background"),
53 SecondaryBackground UMETA(DisplayName="Secondary Background"),
54 TertiaryBackground UMETA(DisplayName="Tertiary Background"),
55
56 //Basic Colors
57 Red UMETA(DisplayName="Red"),
58 Orange UMETA(DisplayName="Orange"),
59 Yellow UMETA(DisplayName="Yellow"),
60 Olive UMETA(DisplayName="Olive"),
61 Green UMETA(DisplayName="Green"),
62 Teal UMETA(DisplayName="Teal"),
63 Blue UMETA(DisplayName="Blue"),
64 Violet UMETA(DisplayName="Violet"),
65 Purple UMETA(DisplayName="Purple"),
66 Pink UMETA(DisplayName="Pink"),
67 Brown UMETA(DisplayName="Brown"),
68 Grey UMETA(DisplayName="Grey"),
69 Black UMETA(DisplayName="Black"),
70 White UMETA(DisplayName="White"),
71 Transparent UMETA(DisplayName="Transparent"),
72
73 Palette_Max UMETA(Hidden)
74};
75
76UENUM(Blueprintable, BlueprintType, META=(Tooltip = "The weight of the font stroke."))
77enum class EFontWeight : uint8
78{
79 Light UMETA(DisplayName = "Light"),
80 SemiLight UMETA(DisplayName = "Semi-Light"),
81 Regular UMETA(DisplayName = "Regular"),
82 SemiBold UMETA(DisplayName = "Semi-Bold"),
83 Bold UMETA(DisplayName = "Bold"),
84 Black UMETA(DisplayName = "Black"),
85
86 FontWeight_Max UMETA(Hidden)
87};
88
89UENUM(Blueprintable, BlueprintType, META=(Tooltip = "The style type of the font."))
90enum class EWSFontType : uint8
91{
92 H1 UMETA(DisplayName = "H1"),
93 H2 UMETA(DisplayName = "H2"),
94 H3 UMETA(DisplayName = "H3"),
95 H4 UMETA(DisplayName = "H4"),
96 H5 UMETA(DisplayName = "H5"),
97 H6 UMETA(DisplayName = "H6"),
98 Subtitle1 UMETA(DisplayName = "Subtitle 1"),
99 Subtitle2 UMETA(DisplayName = "Subtitle 2"),
100 Body1 UMETA(DisplayName = "Body 1"),
101 Body2 UMETA(DisplayName = "Body 2"),
102 Button UMETA(DisplayName = "Button"),
103 Caption UMETA(DisplayName = "Caption"),
104 Overline UMETA(DisplayName = "Overline"),
105 Custom UMETA(DisplayName = "Custom"),
106
107 FontType_Max UMETA(Hidden)
108};
109
110UENUM(Blueprintable, BlueprintType, META=(Tooltip = "The case of the font."))
111enum class EFontCase : uint8
112{
113 Sentence UMETA(DisplayName = "Sentence"),
114 Uppercase UMETA(DisplayName = "UPPERCASE"),
115 Lowercase UMETA(DisplayName = "lowercase"),
116
117 FontCase_Max UMETA(Hidden)
118};
119
120UENUM(Blueprintable, BlueprintType, META=(Tooltip = "The icons available in the icon set."))
121enum class EIconItem : uint8
122{
123
124 ChevronLeft UMETA(DisplayName = "Chevron Left"),
125 ChevronRight UMETA(DisplayName = "Chevron Right"),
126 ChevronUp UMETA(DisplayName = "Chevron Up"),
127 ChevronDown UMETA(DisplayName = "Chevron Down"),
128 Check UMETA(DisplayName = "Check Mark"),
129 ArrowLeft UMETA(DisplayName = "Arrow Left"),
130 ArrowRight UMETA(DisplayName = "Arrow Right"),
131 ArrowUp UMETA(DisplayName = "Arrow Up"),
132 ArrowDown UMETA(DisplayName = "Arrow Down"),
133 Close UMETA(DisplayName = "Close"),
134 Plus UMETA(DisplayName = "Plus"),
135 Minus UMETA(DisplayName = "Minus"),
136 Hamburger UMETA(DisplayName = "Hamburger"),
137 GridView UMETA(DisplayName = "GridView"),
138 Heart UMETA(DisplayName = "Heart"),
139 Envelope UMETA(DisplayName = "Envelope"),
140 Trash UMETA(DisplayName = "Trash"),
141 Photo UMETA(DisplayName = "Photo"),
142 Document UMETA(DisplayName = "Document"),
143 DocumentCopy UMETA(DisplayName = "Document Copy"),
144 LockClose UMETA(DisplayName = "Lock Close"),
145 LockOpen UMETA(DisplayName = "Lock Open"),
146 ArrowInUp UMETA(DisplayName = "Arrow In Up"),
147 ArrowInDown UMETA(DisplayName = "Arrow In Down"),
148 Download UMETA(DisplayName = "Download"),
149 Upload UMETA(DisplayName = "Upload"),
150 CloudDownload UMETA(DisplayName = "Cloud Download"),
151 CloudUpload UMETA(DisplayName = "Cloud Upload"),
152 Cloud UMETA(DisplayName = "Cloud"),
153 Home UMETA(DisplayName = "Home"),
154 Pen UMETA(DisplayName = "Pen"),
155 Power UMETA(DisplayName = "Power"),
156 Phone UMETA(DisplayName = "Phone"),
157 User UMETA(DisplayName = "User"),
158 Print UMETA(DisplayName = "Print"),
159 Video UMETA(DisplayName = "Video"),
160 Clipboard UMETA(DisplayName = "Clipboard"),
161 Magnifier UMETA(DisplayName = "Magnifier"),
162 MagnifierPlus UMETA(DisplayName = "Magnifier Plus"),
163 MagnifierMinus UMETA(DisplayName = "Magnifier Minus"),
164 Mobile UMETA(DisplayName = "Mobile"),
165 Desktop UMETA(DisplayName = "Desktop"),
166 Attachment UMETA(DisplayName = "Attachment"),
167 Tag UMETA(DisplayName = "Tag"),
168 Globe UMETA(DisplayName = "Globe"),
169 Link UMETA(DisplayName = "Link"),
170 Question UMETA(DisplayName = "Question"),
171 Exclamation UMETA(DisplayName = "Exclamation"),
172 Info UMETA(DisplayName = "Info"),
173 Share UMETA(DisplayName = "Share"),
174 Settings UMETA(DisplayName = "Settings"),
175 CogWheel UMETA(DisplayName = "Cog Wheel"),
176 Volume UMETA(DisplayName = "Volume"),
177 VolumePlus UMETA(DisplayName = "Volume Plus"),
178 VolumeMinus UMETA(DisplayName = "Volume Minus"),
179 VolumeMute UMETA(DisplayName = "Volume Mute"),
180 ControlPlay UMETA(DisplayName = "Control Play"),
181 ControlStop UMETA(DisplayName = "Control Stop"),
182 ControlPause UMETA(DisplayName = "Control Pause"),
183 ControlRewind UMETA(DisplayName = "Control Rewind"),
184 ControlFastForward UMETA(DisplayName = "Control Fast Forward"),
185 ControlStart UMETA(DisplayName = "Control Start"),
186 ControlEnd UMETA(DisplayName = "Control End"),
187 ControlFullscreen UMETA(DisplayName = "Control Full Screen"),
188 SpeechBubble UMETA(DisplayName = "Speech Bubble"),
189 Bookmark UMETA(DisplayName = "Bookmark"),
190 Wifi UMETA(DisplayName = "Wifi"),
191 Microphone UMETA(DisplayName = "Microphone"),
192 Calendar UMETA(DisplayName = "Calender"),
193 Users UMETA(DisplayName = "Users"),
194 Clock UMETA(DisplayName = "Clock"),
195 Refresh UMETA(DisplayName = "Refresh"),
196 Pin UMETA(DisplayName = "Pin"),
197 Map UMETA(DisplayName = "Map"),
198 Navigate UMETA(DisplayName = "Navigate"),
199 Compass UMETA(DisplayName = "Compass"),
200 Expand UMETA(DisplayName = "Expand"),
201 ArrowLeftRight UMETA(DisplayName = "Arrow Left Right"),
202 ShoppingCart UMETA(DisplayName = "Shopping Cart"),
203 Folder UMETA(DisplayName = "Folder"),
204 File UMETA(DisplayName = "File"),
205 FilePlus UMETA(DisplayName = "File Plus"),
206 FileMinus UMETA(DisplayName = "File Minus"),
207 StatisticPie UMETA(DisplayName = "Statistic Pie"),
208 StatisticGraph UMETA(DisplayName = "Statistic Graph"),
209 ListView UMETA(DisplayName = "List View"),
210 Sun UMETA(DisplayName = "Sun"),
211 Moon UMETA(DisplayName = "Moon"),
212};
213
214UENUM(BlueprintType)
215enum class EValueClamp : uint8
216{
217 NotClamped UMETA(DisplayName="Not Clamped"),
218 Clamped UMETA(DisplayName="Clamped"),
219
220 ValueClamp_Max UMETA(Hidden),
221};
222
223UENUM(Blueprintable, BlueprintType, META=(Tooltip = "The location to place the widget in relevance of the parent widget."))
224enum class EWSPlacement : uint8
225{
226 Left UMETA(DisplayName="Left"),
227 Right UMETA(DisplayName="Right"),
228 Top UMETA(DisplayName="Top"),
229 Bottom UMETA(DisplayName="Bottom"),
230
231 Placement_Max UMETA(Hidden),
232};