Exemplo n.º 1
0
 //public void Dispose()
 //{
 //}
 public MouseController(PointingDeviceCollection pd, Dock d, ScrollBar sB, SystemState st, PhotoDisplay photoDisplay, StrokeBoxCollection s, KeyboardDevice key)
 {
     dock = d;
     sBar = sB;
     //pdCollection = pdc;
     strokeGroup = s;
     systemState = st;
     photoDisplayManager = photoDisplay;
     //rawInputForm_ = new RawInputForm();
     pdCollection = pd;
     keyboard = key;
 }
Exemplo n.º 2
0
 public PhotoDisplay(SystemState st, Dock d, ScrollBar s, StrokeBoxCollection str)
 {
     systemState = st;
     dock = d;
     sBar = s;
     strokes = str;
     //photos = p;
     weight = new AttractorWeight(
         NonOverlapWeight,
         ScaleWeight,
         AttractToMouseWeight,
         ScaleUpMouseWeight,
         TagWeight,
         NoiseWeight);
 }