Esempio n. 1
0
 public Board(ArrayList pos)
     : base()
 {
     figure = new Figure ();
     position = new Position (pos);
     info = new MoveInfo ();
     layout = new Pango.Layout (PangoContext);
 }
Esempio n. 2
0
        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;
        }