コード例 #1
0
ファイル: NuiDrawListCurve.cs プロジェクト: nwn-dotnet/Anvil
 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;
 }
コード例 #2
0
 public NuiTextEdit(NuiProperty <string> label, NuiProperty <string> value, ushort maxLength, bool multiLine)
 {
     Label     = label;
     Value     = value;
     MaxLength = maxLength;
     MultiLine = multiLine;
 }
コード例 #3
0
 public NuiChartSlot(NuiChartType chartType, NuiProperty <string> legend, NuiProperty <Color> color, NuiProperty <List <float> > data)
 {
     ChartType = chartType;
     Legend    = legend;
     Color     = color;
     Data      = data;
 }
コード例 #4
0
ファイル: NuiDrawListArc.cs プロジェクト: nwn-dotnet/Anvil
 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;
 }
コード例 #5
0
ファイル: NuiDrawListImage.cs プロジェクト: nwn-dotnet/Anvil
 public NuiDrawListImage(NuiProperty <string> resRef, NuiProperty <NuiRect> rect) : base(null, null, null)
 {
     ResRef = resRef;
     Rect   = rect;
 }
コード例 #6
0
ファイル: NuiDrawListItem.cs プロジェクト: nwn-dotnet/Anvil
 protected NuiDrawListItem(NuiProperty <Color>?color, NuiProperty <bool>?fill, NuiProperty <float>?lineThickness)
 {
     Color         = color;
     Fill          = fill;
     LineThickness = lineThickness;
 }
コード例 #7
0
 public NuiColorPicker(NuiProperty <Color> color)
 {
     Color = color;
 }
コード例 #8
0
 public NuiDrawListPolyLine(NuiProperty <Color> color, NuiProperty <bool> fill, NuiProperty <float> lineThickness, List <float> points) : base(color, fill, lineThickness)
 {
     Points = points;
 }
コード例 #9
0
 public NuiText(NuiProperty <string> text)
 {
     Text = text;
 }
コード例 #10
0
ファイル: NuiDrawListCircle.cs プロジェクト: nwn-dotnet/Anvil
 public NuiDrawListCircle(NuiProperty <Color> color, NuiProperty <bool> fill, NuiProperty <float> lineThickness, NuiProperty <NuiRect> rect) : base(color, fill, lineThickness)
 {
     Rect = rect;
 }
コード例 #11
0
ファイル: NuiProgress.cs プロジェクト: nwn-dotnet/Anvil
 public NuiProgress(NuiProperty <float> value)
 {
     Value = value;
 }
コード例 #12
0
ファイル: NuiWindow.cs プロジェクト: nwn-dotnet/Anvil
 public NuiWindow(NuiLayout root, NuiProperty<string> title)
 {
   Title = title;
   Root = root;
 }
コード例 #13
0
ファイル: NuiButton.cs プロジェクト: nwn-dotnet/Anvil
 public NuiButton(NuiProperty <string> label)
 {
     Label = label;
 }
コード例 #14
0
 public NuiLabel(NuiProperty <string> label)
 {
     Label = label;
 }
コード例 #15
0
ファイル: NuiSlider.cs プロジェクト: nwn-dotnet/Anvil
 public NuiSlider(NuiProperty <int> value, NuiProperty <int> min, NuiProperty <int> max)
 {
     Value = value;
     Min   = min;
     Max   = max;
 }
コード例 #16
0
ファイル: NuiList.cs プロジェクト: nwn-dotnet/Anvil
 public NuiList(IReadOnlyCollection <NuiListTemplateCell> rowTemplate, NuiProperty <int> rowCount)
 {
     RowTemplate = new List <NuiListTemplateCell>(rowTemplate);
     RowCount    = rowCount;
 }
コード例 #17
0
ファイル: NuiCheck.cs プロジェクト: nwn-dotnet/Anvil
 public NuiCheck(NuiProperty <string> label, NuiProperty <bool> selected)
 {
     Label    = label;
     Selected = selected;
 }
コード例 #18
0
ファイル: NuiSliderFloat.cs プロジェクト: nwn-dotnet/Anvil
 public NuiSliderFloat(NuiProperty <float> value, NuiProperty <float> min, NuiProperty <float> max)
 {
     Value = value;
     Min   = min;
     Max   = max;
 }
コード例 #19
0
ファイル: NuiButtonImage.cs プロジェクト: nwn-dotnet/Anvil
 public NuiButtonImage(NuiProperty <string> resRef)
 {
     ResRef = resRef;
 }
コード例 #20
0
ファイル: NuiButtonSelect.cs プロジェクト: nwn-dotnet/Anvil
 public NuiButtonSelect(NuiProperty <string> label, NuiProperty <bool> selected)
 {
     Label    = label;
     Selected = selected;
 }
コード例 #21
0
ファイル: NuiDrawListText.cs プロジェクト: nwn-dotnet/Anvil
 public NuiDrawListText(NuiProperty <Color> color, NuiProperty <NuiRect> rect, NuiProperty <string> text) : base(color, null, null)
 {
     Rect = rect;
     Text = text;
 }