private void Load() { _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); PopulateDotPaint(); PopulateFillPaint(); MiscHelpers.DefaultFont = "Tahoma"; }
public void Init() { _dDrewPaint = MainGraphics !.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); _separatePaint = MiscHelpers.GetStrokePaint(SKColors.Black, 4); // try 4 well see how it goes. _dicePaint = MiscHelpers.GetStrokePaint(SKColors.Black, 1); }
public void Init() { MainGraphics = new BaseDeckGraphicsCP(); //hopefully this simple (not sure) MainGraphics.ThisGraphics = this; MainGraphics.OriginalSize = new SKSize(55, 72); //change to what the original size is. MainGraphics.NeedsToClear = false; //because something else will draw this. }
public void Init() { MainGraphics !.OriginalSize = new SKSize(107, 135); //change to what the original size is. _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); _blackBorder = MiscHelpers.GetStrokePaint(SKColors.Black, 1); _greenPaint = MiscHelpers.GetSolidPaint(SKColors.Green); }
public void Init() { MainGraphics !.OriginalSize = new SKSize(80, 100); //change to what the original size is. _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); _blackBorder = MiscHelpers.GetStrokePaint(SKColors.Black, 1); _redPaint = MiscHelpers.GetSolidPaint(SKColors.Red); _yellowPaint = MiscHelpers.GetSolidPaint(SKColors.Yellow); }
public void Init() { MainGraphics !.OriginalSize = new SKSize(107, 135); //change to what the original size is. _blackBorders = MiscHelpers.GetStrokePaint(SKColors.Black, 1); _blackPaint = MiscHelpers.GetSolidPaint(SKColors.Black); _lightBluePaint = MiscHelpers.GetSolidPaint(SKColors.LightBlue); _redPaint = MiscHelpers.GetSolidPaint(SKColors.Red); _thickBorders = MiscHelpers.GetStrokePaint(SKColors.Black, 2); _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); }
public void Init() { MainGraphics !.OriginalSize = new SKSize(60, 40); //change to what the original size is. _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); SKColor thisColor = SKColors.Purple; //we can change as needed. SKColor otherColor = new SKColor(thisColor.Red, thisColor.Green, thisColor.Blue, 40); _altDrewPaint = MiscHelpers.GetSolidPaint(otherColor); _blackPaint = MiscHelpers.GetSolidPaint(SKColors.Black); _blackBorder = MiscHelpers.GetStrokePaint(SKColors.Black, 2); }
public void Init() { MainGraphics !.OriginalSize = new SKSize(55, 72); _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); _safefyPaint = MiscHelpers.GetSolidPaint(SKColors.Blue); // this is blue for safeties _basicPen = MiscHelpers.GetStrokePaint(SKColors.Black, 1); // try this way. _whitePaint = MiscHelpers.GetSolidPaint(SKColors.White); _redFill = MiscHelpers.GetSolidPaint(SKColors.Red); _blackPaint = MiscHelpers.GetSolidPaint(SKColors.Black); _grayPaint = MiscHelpers.GetSolidPaint(SKColors.Gray); _greenPaint = MiscHelpers.GetSolidPaint(SKColors.Green); }
public void Init() { MainGraphics !.OriginalSize = new SKSize(55, 72); //change to what the original size is. _thisAssembly = Assembly.GetAssembly(this.GetType()); GetImages(); _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); _redPaint = MiscHelpers.GetSolidPaint(SKColors.Red); _limePaint = MiscHelpers.GetSolidPaint(SKColors.Lime); _textBorder = MiscHelpers.GetStrokePaint(SKColors.Black, 2); _chocolatePaint = MiscHelpers.GetSolidPaint(SKColors.Chocolate); _backPaint = MiscHelpers.GetSolidPaint(SKColors.Aqua); _blackPaint = MiscHelpers.GetSolidPaint(SKColors.Black); }
public void Init() { _thisA = Assembly.GetAssembly(GetType()); MainGraphics !.OriginalSize = new SKSize(80, 100); //change to what the original size is. _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); _whiteBorder = MiscHelpers.GetStrokePaint(SKColors.White, 1); _steelBluePaint = MiscHelpers.GetSolidPaint(SKColors.SteelBlue); _whitePaint = MiscHelpers.GetSolidPaint(SKColors.White); _bluePaint = MiscHelpers.GetSolidPaint(SKColors.Blue); _darkOrangePaint = MiscHelpers.GetSolidPaint(SKColors.DarkOrange); _blackBorder = MiscHelpers.GetStrokePaint(SKColors.Black, 1); _purplePaint = MiscHelpers.GetSolidPaint(SKColors.Purple); _greenPaint = MiscHelpers.GetSolidPaint(SKColors.Green); //no option to show you can select unknown cards. }
private void Load() { _selectPaint = BaseDeckGraphicsCP.GetDarkerSelectPaint(); //this time, need the darker ones. BasicData data = Resolve <BasicData>(); if (data.IsXamarinForms == true) { _borderPaint = MiscHelpers.GetStrokePaint(SKColors.White, 3); } else { _borderPaint = MiscHelpers.GetStrokePaint(SKColors.White, 4); } _textBorder = MiscHelpers.GetStrokePaint(SKColors.Black, 2); MiscHelpers.DefaultFont = "Tahoma"; }
public void Init() { MainGraphics !.OriginalSize = new SKSize(55, 72); //change to what the original size is. _thisAssembly = Assembly.GetAssembly(this.GetType()); _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); _purplePaint = MiscHelpers.GetSolidPaint(SKColors.Purple); _aquaPaint = MiscHelpers.GetSolidPaint(SKColors.Aqua); _fuchsiaPaint = MiscHelpers.GetSolidPaint(SKColors.Fuchsia); _darkOrangePaint = MiscHelpers.GetSolidPaint(SKColors.DarkOrange); _redPaint = MiscHelpers.GetSolidPaint(SKColors.Red); _yellowPaint = MiscHelpers.GetSolidPaint(SKColors.Yellow); _greenPaint = MiscHelpers.GetSolidPaint(SKColors.Green); _darkBluePaint = MiscHelpers.GetSolidPaint(SKColors.DarkBlue); _whitePaint = MiscHelpers.GetSolidPaint(SKColors.White); _blackBorder1 = MiscHelpers.GetStrokePaint(SKColors.Black, 1); }
public void Init() { MainGraphics !.OriginalSize = new SKSize(55, 72); //change to what the original size is. _borderPaint = MiscHelpers.GetStrokePaint(SKColors.Black, 1); _thickBorder = MiscHelpers.GetStrokePaint(SKColors.Black, 2); _blackPaint = MiscHelpers.GetSolidPaint(SKColors.Black); _yellowPaint = MiscHelpers.GetSolidPaint(SKColors.Yellow); _bluePaint = MiscHelpers.GetSolidPaint(SKColors.Blue); _greenPaint = MiscHelpers.GetSolidPaint(SKColors.Green); _redPaint = MiscHelpers.GetSolidPaint(SKColors.Red); _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); SKColor thisColor = SKColors.Black; SKColor otherColor = new SKColor(thisColor.Red, thisColor.Green, thisColor.Blue, 70); //can experiment as needed. _tempPaint = MiscHelpers.GetSolidPaint(otherColor); _thisAssembly = Assembly.GetAssembly(this.GetType()); }
public void SendSize(string tag, CA thisData) { if (cons == null) { throw new BasicBlankException("The resolver was never set"); } IGamePackageResolver thisR = (IGamePackageResolver)cons; IProportionImage thisP = thisR.Resolve <IProportionImage>(tag); if (thisData.DefaultSize.Height <= 0 || thisData.DefaultSize.Width <= 0) { throw new BasicBlankException("The height and width must be greater than 0"); //if this happens, has to really rethink } Mains = new BaseDeckGraphicsCP(); Mains.OriginalSize = thisData.DefaultSize; MainObject = new G(); MainObject.MainGraphics = Mains; Mains.ThisGraphics = MainObject; //i think Mains.PaintUI = this; //i do need it after all here. BindingContext = thisData; PopulateInitObject(); Init(); //maybe i forgot this part. ObjectSize = thisData.DefaultSize.GetSizeUsed(thisP.Proportion); }
public void Init() { MainGraphics !.OriginalSize = new SKSize(55, 72); //change to what the original size is. _pDrewPaint = MainGraphics.GetStandardDrewPaint(); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); }
public ButtonDiceGraphicsCP() { _blackBorder = MiscHelpers.GetStrokePaint(SKColors.Black, 1); _fillPaint = MiscHelpers.GetSolidPaint(SKColors.White); _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); }
public void Init() { _selectPaint = BaseDeckGraphicsCP.GetStandardSelectPaint(); }