mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed object initializer warnings
This commit is contained in:
parent
10421d99ca
commit
f795215b44
13 changed files with 48 additions and 48 deletions
|
@ -70,7 +70,7 @@ namespace Beefy
|
|||
public uint32 mLastFPSUpdateCnt;
|
||||
|
||||
public Matrix4? mColorMatrix;
|
||||
public ConstantDataDefinition mColorMatrixDataDef = new ConstantDataDefinition(16, new ConstantDataDefinition.DataType[] { ConstantDataDefinition.DataType.Matrix | ConstantDataDefinition.DataType.PixelShaderUsage }) ~ delete _;
|
||||
public ConstantDataDefinition mColorMatrixDataDef = new ConstantDataDefinition(16, new ConstantDataDefinition.DataType[] ( ConstantDataDefinition.DataType.Matrix | ConstantDataDefinition.DataType.PixelShaderUsage )) ~ delete _;
|
||||
|
||||
[CallingConvention(.Stdcall), CLink]
|
||||
static extern void Lib_Startup(int32 argc, char8** argv, void* startupCallback);
|
||||
|
|
|
@ -477,14 +477,14 @@ namespace Beefy.gfx
|
|||
|
||||
static MarkPosition[] sMarkPositionsLow = new MarkPosition[0x70]
|
||||
// 0 1 2 3 4 5 6 7 8 9 A B C D E F
|
||||
/*0*/{.AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC,
|
||||
/*0*/(.AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC,
|
||||
/*1*/ .AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveE, .AboveC, .AboveC, /**/ .BelowC, .BelowC, .AboveE, .TopR, /**/ .BelowC, .BelowC, .BelowC, .BelowC,
|
||||
/*2*/ .BelowC, .BelowC, .BelowC, .BelowC, /**/ .BelowC, .BelowC, .BelowC, .BelowC, /**/ .BelowC, .BelowC, .BelowC, .BelowC, /**/ .BelowC, .BelowC, .BelowC, .BelowC,
|
||||
/*3*/ .BelowC, .BelowC, .BelowC, .BelowC, /**/ .OverC , .OverC , .OverC , .OverC , /**/ .OverC , .BelowC, .BelowC, .BelowC, /**/ .AboveC, .AboveC, .AboveC, .AboveC,
|
||||
/*4*/ .AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .BelowC, .AboveC, .BelowC, /**/ .BelowC, .BelowC, .AboveC, .AboveC, /**/ .AboveC, .BelowC, .BelowC, .OverC,
|
||||
/*5*/ .AboveC, .AboveC, .AboveC, .BelowC, /**/ .BelowC, .BelowC, .BelowC, .AboveC, /**/ .AboveE, .BelowC, .AboveC, .AboveC, /**/ .BelowR, .AboveR, .AboveR, .BelowR,
|
||||
/*6*/ .AboveR, .AboveR, .BelowR, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC, /**/ .AboveC, .AboveC, .AboveC, .AboveC,
|
||||
} ~ delete _;
|
||||
) ~ delete _;
|
||||
|
||||
MarkPosition GetMarkPosition(char32 checkChar)
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace Beefy.theme.dark
|
|||
public uint32 mViewWhiteSpaceColor;
|
||||
public bool mScrollToStartOnLostFocus;
|
||||
|
||||
protected static uint32[] sDefaultColors = new uint32[] { Color.White } ~ delete _;
|
||||
protected static uint32[] sDefaultColors = new uint32[] ( Color.White ) ~ delete _;
|
||||
|
||||
public this(EditWidgetContent refContent = null) : base(refContent)
|
||||
{
|
||||
|
|
|
@ -226,7 +226,7 @@ namespace Beefy.theme.dark
|
|||
Get();
|
||||
|
||||
DesignToolboxEntry [] entries = new DesignToolboxEntry []
|
||||
{
|
||||
(
|
||||
new DesignToolboxEntry("ButtonWidget", typeof(DarkButton), sDarkTheme.mImages[(int32)ImageIdx.UIButton]),
|
||||
new DesignToolboxEntry("LabelWidget", null, sDarkTheme.mImages[(int32)DarkTheme.ImageIdx.UILabel]),
|
||||
new DesignToolboxEntry("EditWidget", typeof(DarkEditWidget), sDarkTheme.mImages[(int32)DarkTheme.ImageIdx.UIEdit]),
|
||||
|
@ -235,7 +235,7 @@ namespace Beefy.theme.dark
|
|||
new DesignToolboxEntry("RadioButton", null, sDarkTheme.mImages[(int32)DarkTheme.ImageIdx.UIRadioButton]),
|
||||
new DesignToolboxEntry("ListView", typeof(DarkListView), sDarkTheme.mImages[(int32)DarkTheme.ImageIdx.UIListView]),
|
||||
new DesignToolboxEntry("TabView", typeof(DarkTabbedView), sDarkTheme.mImages[(int32)DarkTheme.ImageIdx.UITabView])
|
||||
};
|
||||
);
|
||||
|
||||
for (DesignToolboxEntry entry in entries)
|
||||
entry.mGroupName = "DarkTheme";
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace Beefy.utils
|
|||
case Remove;
|
||||
}
|
||||
|
||||
static uint8[] sEmptyData = new uint8[] { 0 } ~ delete _;
|
||||
static uint8[] sEmptyData = new uint8[] ( 0 ) ~ delete _;
|
||||
|
||||
public uint8[] mData;
|
||||
public int32 mLength;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue