Hi,
maybe this question has been there already but I'm lazy to search :-¨
How would I do a traditional progressbar which would represent saving a picture ?
I mean user clicks "save", picture is being saved, it takes a few seconds, so application is blocked, is that possible ?
pecaN
Progressbar for saving a picture
-
SamuraiCrow
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: Progressbar for saving a picture
Considering that there are several means of saving pictures, such as Datatypes and system-specific libraries, it may not be possible to make the file savers pause and give a status report.
I'm on registered MorphOS using FlowStudio.
- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Progressbar for saving a picture
Yes, it's not possible. Functions like SaveBrush() save the picture in a single step without returning control to the script while saving.
Re: Progressbar for saving a picture
ok, thanks, no problem
pecaN
- Juan Carlos
- Posts: 932
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Progressbar for saving a picture
Maybe making a visual routine with a progress bar with the bytes copyed where the routine calculate the bytes copyed and substrat if original size file and with this date convert It to% and a visual bar.
Difficult explain but more difficult of program.
Difficult explain but more difficult of program.