mirror of
https://github.com/fltk/fltk.git
synced 2026-05-29 04:26:27 +08:00
Fix MSVC compiler warning
This commit is contained in:
+1
-1
@@ -628,7 +628,7 @@ void copy(Fl_Widget *, void *data) {
|
|||||||
fl_pie(0, 0, target->w(), target->h(), 0, 360);
|
fl_pie(0, 0, target->w(), target->h(), 0, 360);
|
||||||
if (target->top_window() == target) {
|
if (target->top_window() == target) {
|
||||||
fl_color(FL_BLACK);
|
fl_color(FL_BLACK);
|
||||||
int mini = (target->w() < target->h() ? target->w() : target->h()) * 0.66;
|
int mini = int((target->w() < target->h() ? target->w() : target->h()) * 0.66);
|
||||||
fl_pie(target->w()/2 - mini/2, target->h()/2 - mini/2, mini, mini, 0, 360);
|
fl_pie(target->w()/2 - mini/2, target->h()/2 - mini/2, mini, mini, 0, 360);
|
||||||
fl_color(FL_WHITE);
|
fl_color(FL_WHITE);
|
||||||
fl_font(FL_TIMES_BOLD, 120);
|
fl_font(FL_TIMES_BOLD, 120);
|
||||||
|
|||||||
Reference in New Issue
Block a user