public Board(ArrayList pos) : base() { figure = new Figure (); position = new Position (pos); info = new MoveInfo (); layout = new Pango.Layout (PangoContext); }
public CairoBoard(ArrayList pos) : base() { //figure = new Figure (); fm = new FigureManager (); position = new Position (pos); info = new MoveInfo (); layout = new Pango.Layout (PangoContext); if (Config.WindowsBuild) colors = new CustomColorProvider (); else colors = new GtkBasedColorProvider (this); }
public Board(ArrayList pos) : base(GType) { figure = new Figure (); position = new Position (pos); info = new MoveInfo (); layout = new Pango.Layout (PangoContext); Events = EventMask.ButtonPressMask | EventMask.ButtonReleaseMask | EventMask.PointerMotionHintMask | EventMask.ButtonMotionMask | Gdk.EventMask.KeyPressMask; CanFocus = true; }