windows: fix compile errors. #974
This commit is contained in:
parent
8b24b88d60
commit
cf5bdf8ac8
|
@ -34,7 +34,7 @@ namespace SparkleShare {
|
||||||
Height = size;
|
Height = size;
|
||||||
|
|
||||||
int current_frame = 0;
|
int current_frame = 0;
|
||||||
BitmapSource spinner_gallery = SparkleUIHelpers.Getframesource ("process-working-22");
|
BitmapSource spinner_gallery = SparkleUIHelpers.GetImageSource ("process-working-22");
|
||||||
int frames_in_width = spinner_gallery.PixelWidth / size;
|
int frames_in_width = spinner_gallery.PixelWidth / size;
|
||||||
int frames_in_height = spinner_gallery.PixelHeight / size;
|
int frames_in_height = spinner_gallery.PixelHeight / size;
|
||||||
int frame_count = (frames_in_width * frames_in_height) - 1;
|
int frame_count = (frames_in_width * frames_in_height) - 1;
|
||||||
|
@ -65,7 +65,7 @@ namespace SparkleShare {
|
||||||
else
|
else
|
||||||
current_frame = 0;
|
current_frame = 0;
|
||||||
|
|
||||||
Source = this.frames [current_frame].Source;
|
Source = frames [current_frame].Source;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue