public static DemoTextSet Read(BinaryReader br) { return(new DemoTextSet { Main = ColorRgb888.Read(br), TextMain = ColorRgb888.Read(br), }); }
public static ArrowSet Read(BinaryReader br) { return(new ArrowSet { Border = ColorRgb888.Read(br), Unpressed = ColorRgb888.Read(br), Pressed = ColorRgb888.Read(br) }); }
public static BottomBackgroundOuterSet Read(BinaryReader br) { return(new BottomBackgroundOuterSet { Dark = ColorRgb888.Read(br), Main = ColorRgb888.Read(br), Light = ColorRgb888.Read(br) }); }
public static FolderSet Read(BinaryReader br) { return(new FolderSet { Dark = ColorRgb888.Read(br), Main = ColorRgb888.Read(br), Light = ColorRgb888.Read(br), Shadow = ColorRgb888.Read(br), }); }
public static ArrowButtonSet Read(BinaryReader br) { return(new ArrowButtonSet { Dark = ColorRgb888.Read(br), Main = ColorRgb888.Read(br), Light = ColorRgb888.Read(br), Shadow = ColorArgb8888.Read(br), }); }
public static TopCornerSet Read(BinaryReader br) { return(new TopCornerSet { Main = ColorRgb888.Read(br), Light = ColorRgb888.Read(br), Shadow = ColorRgb888.Read(br), TextMain = ColorRgb888.Read(br), }); }
public static GameTextSet Read(BinaryReader br) { return(new GameTextSet { Main = ColorRgb888.Read(br), Light = ColorRgb888.Read(br), Shadow = ColorArgb8888.Read(br), TextMain = ColorRgb888.Read(br), }); }
public static CursorSet Read(BinaryReader br) { return(new CursorSet { Dark = ColorRgb888.Read(br), Main = ColorRgb888.Read(br), Light = ColorRgb888.Read(br), Glow = ColorRgb888.Read(br), }); }
public static BottomCorner Read(BinaryReader br) { return(new BottomCorner { BaseDark = ColorRgb888.Read(br), BaseMain = ColorRgb888.Read(br), BaseLight = ColorRgb888.Read(br), BaseShadow = ColorRgb888.Read(br), IconMain = ColorRgb888.Read(br), IconLight = ColorRgb888.Read(br), IconTextMain = ColorRgb888.Read(br), }); }
public static FolderArrowSet Read(BinaryReader br) { return(new FolderArrowSet { ArrowShadowPos = br.ReadSingle(), Dark = ColorRgb888.Read(br), Main = ColorRgb888.Read(br), Light = ColorRgb888.Read(br), Shadow = ColorArgb8888.Read(br), Glow = ColorRgb888.Read(br), ArrowShadow = ColorRgb888.Read(br), ArrowMain = ColorRgb888.Read(br), ArrowSelected = ColorRgb888.Read(br), ___ = ColorRgb888.Read(br) // Padding }); }
public static OpenCloseSet Read(BinaryReader br) { return(new OpenCloseSet { TextShadowPos = br.ReadSingle(), Dark = ColorRgb888.Read(br), Main = ColorRgb888.Read(br), Light = ColorRgb888.Read(br), Shadow = ColorArgb8888.Read(br), Glow = ColorRgb888.Read(br), TextShadow = ColorRgb888.Read(br), TextMain = ColorRgb888.Read(br), TextSelected = ColorRgb888.Read(br), ____ = ColorRgb888.Read(br), // Padding to 16 }); }
public static TopBackgroundSet Read(BinaryReader br, bool typeTwo) { var tbs = new TopBackgroundSet { Main = ColorRgb888.Read(br), Gradient = br.ReadByte(), TextureOpacity = br.ReadByte(), AlternateOpacity = typeTwo ? br.ReadByte() : (byte)0, GradientColor = typeTwo ? br.ReadByte() : (byte)0, }; tbs.Main.B = Inflate(tbs.Main.B); tbs.Main.G = Inflate(tbs.Main.G); tbs.Main.R = Inflate(tbs.Main.R); tbs.Gradient = Inflate(tbs.Gradient); tbs.TextureOpacity = Inflate(tbs.TextureOpacity); tbs.AlternateOpacity = Inflate(tbs.AlternateOpacity); tbs.GradientColor = Inflate(tbs.GradientColor); return(tbs); }