Ejemplo n.º 1
0
 public void Save(PinWidget view)
 {
     DigitCount           = (int)view.DigitCount;
     DigitBorderColor     = view.DigitBorderColor;
     DigitBackgroundColor = view.DigitBackgroundColor;
     DigitHeight          = view.DigitHeight;
     DigitWidth           = view.DigitWidth;
     DigitSpacing         = view.DigitSpacing;
     AccentColor          = view.AccentColor;
     AccentHeight         = view.AccentHeight;
     TextSize             = view.TextSize;
     TextColor            = view.TextColor;
 }
Ejemplo n.º 2
0
 public void Restore(PinWidget view)
 {
     view.DigitCount           = (uint)DigitCount;
     view.DigitBorderColor     = DigitBorderColor;
     view.DigitBackgroundColor = DigitBackgroundColor;
     view.DigitHeight          = DigitHeight;
     view.DigitWidth           = DigitWidth;
     view.DigitSpacing         = DigitSpacing;
     view.AccentColor          = AccentColor;
     view.AccentHeight         = AccentHeight;
     view.TextSize             = TextSize;
     view.TextColor            = TextColor;
 }
Ejemplo n.º 3
0
 public PrivatePinListener(string pinFinishedMethod, PinWidget view)
 {
     this._pinFinishedMethod = pinFinishedMethod;
     this._view = view;
 }