Exemplo n.º 1
0
 public ClutterSliderHandleButton(uint width, uint height, int state) : base(width, height, state)
 {
     label = new Text("Sans Bold 10", "", Clutter.Color.New(0.0f, 0.0f, 0.0f, 0.8f));
     AddActor(label);
     label.SetAnchorPoint(label.Width * 0.5f, label.Height * 0.5f);
     label.SetPosition(this.Width * 0.5f, this.Height * 0.5f);
     label.ShowAll();
 }
 public ClutterSliderHandleButton(uint width, uint height, int state)
     : base(width, height, state)
 {
     label = new Text("Sans Bold 10", "", new Clutter.Color(0.0f,0.0f,0.0f,0.8f));
     Add (label);
     label.SetAnchorPoint (label.Width*0.5f, label.Height*0.5f);
     label.SetPosition (this.Width*0.5f,this.Height*0.5f);
     label.ShowAll();
 }