Exemplo n.º 1
0
 public NuiDrawListCurve(NuiProperty <Color> color, NuiProperty <float> lineThickness, NuiProperty <NuiVector> pointA, NuiProperty <NuiVector> pointB, NuiProperty <NuiVector> control0, NuiProperty <NuiVector> control1) : base(color, false, lineThickness)
 {
     PointA   = pointA;
     PointB   = pointB;
     Control0 = control0;
     Control1 = control1;
 }
Exemplo n.º 2
0
 public NuiTextEdit(NuiProperty <string> label, NuiProperty <string> value, ushort maxLength, bool multiLine)
 {
     Label     = label;
     Value     = value;
     MaxLength = maxLength;
     MultiLine = multiLine;
 }
Exemplo n.º 3
0
 public NuiChartSlot(NuiChartType chartType, NuiProperty <string> legend, NuiProperty <Color> color, NuiProperty <List <float> > data)
 {
     ChartType = chartType;
     Legend    = legend;
     Color     = color;
     Data      = data;
 }
Exemplo n.º 4
0
 public NuiDrawListArc(NuiProperty <Color> color, NuiProperty <bool> fill, NuiProperty <float> lineThickness, NuiProperty <NuiVector> center, NuiProperty <float> radius,
                       NuiProperty <float> angleMin, NuiProperty <float> angleMax) : base(color, fill, lineThickness)
 {
     Center   = center;
     Radius   = radius;
     AngleMin = angleMin;
     AngleMax = angleMax;
 }
Exemplo n.º 5
0
 public NuiDrawListImage(NuiProperty <string> resRef, NuiProperty <NuiRect> rect) : base(null, null, null)
 {
     ResRef = resRef;
     Rect   = rect;
 }
Exemplo n.º 6
0
 protected NuiDrawListItem(NuiProperty <Color>?color, NuiProperty <bool>?fill, NuiProperty <float>?lineThickness)
 {
     Color         = color;
     Fill          = fill;
     LineThickness = lineThickness;
 }
Exemplo n.º 7
0
 public NuiColorPicker(NuiProperty <Color> color)
 {
     Color = color;
 }
Exemplo n.º 8
0
 public NuiDrawListPolyLine(NuiProperty <Color> color, NuiProperty <bool> fill, NuiProperty <float> lineThickness, List <float> points) : base(color, fill, lineThickness)
 {
     Points = points;
 }
Exemplo n.º 9
0
 public NuiText(NuiProperty <string> text)
 {
     Text = text;
 }
Exemplo n.º 10
0
 public NuiDrawListCircle(NuiProperty <Color> color, NuiProperty <bool> fill, NuiProperty <float> lineThickness, NuiProperty <NuiRect> rect) : base(color, fill, lineThickness)
 {
     Rect = rect;
 }
Exemplo n.º 11
0
 public NuiProgress(NuiProperty <float> value)
 {
     Value = value;
 }
Exemplo n.º 12
0
 public NuiWindow(NuiLayout root, NuiProperty<string> title)
 {
   Title = title;
   Root = root;
 }
Exemplo n.º 13
0
 public NuiButton(NuiProperty <string> label)
 {
     Label = label;
 }
Exemplo n.º 14
0
 public NuiLabel(NuiProperty <string> label)
 {
     Label = label;
 }
Exemplo n.º 15
0
 public NuiSlider(NuiProperty <int> value, NuiProperty <int> min, NuiProperty <int> max)
 {
     Value = value;
     Min   = min;
     Max   = max;
 }
Exemplo n.º 16
0
 public NuiList(IReadOnlyCollection <NuiListTemplateCell> rowTemplate, NuiProperty <int> rowCount)
 {
     RowTemplate = new List <NuiListTemplateCell>(rowTemplate);
     RowCount    = rowCount;
 }
Exemplo n.º 17
0
 public NuiCheck(NuiProperty <string> label, NuiProperty <bool> selected)
 {
     Label    = label;
     Selected = selected;
 }
Exemplo n.º 18
0
 public NuiSliderFloat(NuiProperty <float> value, NuiProperty <float> min, NuiProperty <float> max)
 {
     Value = value;
     Min   = min;
     Max   = max;
 }
Exemplo n.º 19
0
 public NuiButtonImage(NuiProperty <string> resRef)
 {
     ResRef = resRef;
 }
Exemplo n.º 20
0
 public NuiButtonSelect(NuiProperty <string> label, NuiProperty <bool> selected)
 {
     Label    = label;
     Selected = selected;
 }
Exemplo n.º 21
0
 public NuiDrawListText(NuiProperty <Color> color, NuiProperty <NuiRect> rect, NuiProperty <string> text) : base(color, null, null)
 {
     Rect = rect;
     Text = text;
 }