author | alwin <alwin> | 2004-04-14 12:39:03 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-14 12:39:03 (UTC) |
commit | 4f78995cbb47f78e68eb40d9a86a6a0dcdc576eb (patch) (side-by-side diff) | |
tree | 24f22c258d4fac1924c0be938dca7a5b52a5a3d4 /noncore/graphics/opie-eye/gui/imagescrollview.h | |
parent | 3ed50198400e432b308ca58178f562e2e256de0e (diff) | |
download | opie-4f78995cbb47f78e68eb40d9a86a6a0dcdc576eb.zip opie-4f78995cbb47f78e68eb40d9a86a6a0dcdc576eb.tar.gz opie-4f78995cbb47f78e68eb40d9a86a6a0dcdc576eb.tar.bz2 |
jpegs will be loaded scaled if needed for a faster preview loading
Diffstat (limited to 'noncore/graphics/opie-eye/gui/imagescrollview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imagescrollview.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/imagescrollview.h b/noncore/graphics/opie-eye/gui/imagescrollview.h index e209dfb..f6e187d 100644 --- a/noncore/graphics/opie-eye/gui/imagescrollview.h +++ b/noncore/graphics/opie-eye/gui/imagescrollview.h @@ -57,12 +57,15 @@ protected: bool rotate_to_fit; bool show_zoomer; bool first_resize_done; + bool image_is_jpeg; + bool image_scaled_loaded; Rotation last_rot; QString m_lastName; virtual void rescaleImage(int w, int h); virtual void rotate_into_data(Rotation r); virtual void generateImage(); + virtual void loadJpeg(bool interncall = false); bool image_fit_into(const QSize&s); void check_zoomer(); |