public BoxStyle GetBoxStyle() { BoxStyle style = new BoxStyle() { Border = mBorder, Colour = mColour, SpriteTexture = mSpriteTexture, }; return(style); }
internal BoxStyle GetBoxStyle() { BoxStyle style = new BoxStyle() { Colour = mColour, Border = mBorder, SpriteTexture = mSpriteTexture }; return(style); }
/// <summary> /// Intialises a new InputField /// </summary> public InputField() { mReceivingInput = false; mShape = new RectangleShape(10, 10, 160, 35); mCaretStyle = new BoxStyle() { Colour = new Colour4b(0, 0, 0, 255) }; mcaretDisplayStopwatch = new Stopwatch(); mcaretDisplaySpeed = 750; mdisplayCaret = false; mcaretPosition = 0; mstringMeasurer = Graphics.FromImage(new Bitmap(1, 1)); TackGUI.inputFields.Add(this); }