Commit Graph

11 Commits

Author SHA1 Message Date
Tom Gilbert ed923261d4 Thu Apr 27 03:16:59 GMT 2000
(gilbertt)

Okay, an ImlibProgressFunction now return int, not void. The idea of this is
so that a progressive load may be aborted midway, simply by returning 0 from
the progress callback. There are a number of reasons for wanting this.

This is a slight breakage to people currently using progressive loading -
you'll have to change your definition to int, and return 1 to get normal
behaviour again. As far as I know, only feh and imlib2_view uses progressive
loading, and I'll sort those two out. To anyone else, sorry, but it's not
released yet, what did you expect? ;-)

Notice. I haven't changed the loaders yet, so returning 0 won't do squat
until tomorrow, when I change them all. What they will do is clean up and
return what they've got so far. If anyone who wrote a loader wants to do
their own, cool, it'll save me learning the api of every damn image lib ;-)
It's just a case of swapping
progress(params, ...);
with
if(!progress(params, ...)
  cleanup_some_stuff_and_return_what_there_is();
Otherwise, I'll do it myself tomorrow.

Can anyone tell I've got time off work? ;-)


SVN revision: 2544
2000-04-27 02:14:59 +00:00
Michael Jennings 876c57bbf7 Hush.
SVN revision: 1623
1999-12-14 18:12:20 +00:00
Carsten Haitzler dcd91db207 imlib2_view works again...
SVN revision: 1539
1999-12-07 18:28:51 +00:00
Carsten Haitzler edf5558a66 fixe view to compile & work
SVN revision: 1537
1999-12-07 18:20:56 +00:00
Carsten Haitzler d7dee5c099 added AUTHORS file.. fixed copyting....
SVN revision: 1205
1999-11-07 08:51:47 +00:00
Carsten Haitzler 59a23911fd add soem stuff and new blend.c from ryan :)
SVN revision: 1167
1999-11-03 16:21:02 +00:00
Carsten Haitzler c0d3e08f71 now that works better
SVN revision: 1148
1999-11-02 14:42:00 +00:00
Carsten Haitzler dbb01a2a05 primitive timeout.. its not even that good.. :)
SVN revision: 1147
1999-11-02 14:34:46 +00:00
Carsten Haitzler 4b69037861 fix a little of the rend code - never testyed that bit...
andf the imlib2_view works nicely iwth zooming too :)


SVN revision: 1145
1999-11-02 13:32:39 +00:00
Carsten Haitzler 107bda1907 add ignores.......
SVN revision: 1140
1999-11-02 11:13:57 +00:00
Carsten Haitzler 2c99df3cd7 oops - fix that filled rect drawing code
SVN revision: 1139
1999-11-02 11:12:56 +00:00