Exemple #1
0
 public BorderDrawer(ButtonBaseDrawer drawerToDecorate)
     : base(drawerToDecorate)
 {
     normalWidth   = 3;
     selectedWidth = normalWidth;
     normalPen     = new Pen(Color.Blue, normalWidth);
     selectedPen   = new Pen(Color.Red, selectedWidth);
 }
Exemple #2
0
 public ButtonBaseDrawer(ButtonBaseDrawer drawer)
 {
     this.drawer = drawer;
 }
 public SimpleIconDrawer(ButtonBaseDrawer drawerToDecorate)
     : base(drawerToDecorate)
 {
     // NOP
 }
 public SimpleTextDrawer(ButtonBaseDrawer drawerToDecorate)
     : base(drawerToDecorate)
 {
     Init();
 }
Exemple #5
0
 public AlignedDrawer(ButtonBaseDrawer drawerToDecorate)
     : base(drawerToDecorate)
 {
     Init();
 }