We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca76924 commit dd78fc8Copy full SHA for dd78fc8
Engine/UI/TERRA_Widgets.pas
@@ -218,6 +218,7 @@
218
219
UIIcon = Class(Widget)
220
Protected
221
+ _Icon:TERRAString;
222
_Width:Integer;
223
_Height:Integer;
224
_Dual:Boolean;
@@ -234,6 +235,8 @@
234
235
236
Property Width:Integer Read _Width;
237
Property Height:Integer Read _Height;
238
+
239
+ Property Icon:TERRAString Read _Icon;
240
End;
241
242
UISprite = Class(Widget)
@@ -959,6 +962,7 @@
959
962
Begin
960
963
Inherited Create(Name, UI, Parent);
961
964
965
+ Self._Icon := Icon;
966
Self._TabIndex := TabIndex;
967
968
Self.SetPosition(VectorCreate2D(X,Y));
0 commit comments