Commit Graph

15 Commits (20eb36a03d4283a42d59c8a830e0cdcb5e8afb25)

Author SHA1 Message Date
Qingping Hou 20eb36a03d feat: add network management UI for kobo 8 years ago
frankyifei 73f7d860cd imagewidget fix
bring back the old behavior: when width and height are set and all the
zooming options are false, zoom the image to that size. The last commit
to Imagewidget.lua caused it ignores the set width and height and use
the image's original size instead when no zoom option is set. This
caused #1979. Although #1979 can be fixed by setting autostretch=true,
but I think it's good to fix here.
8 years ago
Zijie He 7d4bd076f7 Resolve review comments 8 years ago
Zijie He 865b2a8f90 Update ImageWidget to support more stretch settings, and enable screensaver on kobo 8 years ago
Qingping Hou 6fe9f7870b chore: more luacheck fixes 9 years ago
Hans-Werner Hilse 0c80537003 allow image widgets to do alpha-blitting
when the image (e.g. a PNG) does contain an alpha channel, that can
be honored by ImageWidget. It doesn't do so by default for compatibility
(arguably, we should change that in the future), it has to be enabled
by setting the "alpha" property to "true" (boolean, not string).
10 years ago
chrox f52872b081 default autoscale for IconButton 10 years ago
Hans-Werner Hilse e0868826ad use new FFI based mupdf API
This will use the new API where the Lua/C interface was used before
and also drop usage of mupdfimg wrapper which is now implemented
within the mupdf interface
10 years ago
chrox 0bc3eadcae refactoring: use Document API getCoverPageImage to get cover image 10 years ago
chrox a2b232c80b add image cache 10 years ago
chrox f37faadcf1 ImageWidget now supports png, jpg and tiff files 10 years ago
chrox 3018c7c6b6 add rotate method for ImageWidget 10 years ago
chrox 9f3eb0b784 rescale image if width or height is specified in ImageWidget 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago