Alfred Reynolds
8ac20f4b43
- Add support for loading configuration via a file rather than the command line
...
- Added "-c" command line option to look for config file "slide.options.json" in. Otherwise looks in ~/.config/slide/slide.options.json or /etc/slide/slide.options.json
- Added code to reload config options at runtime (when the image is scheduled to update)
2021-08-10 18:20:33 +12:00
Alfred Reynolds
2e96ea4814
- improve support for on the fly rotation of our window. Schedule the image update for a future frame so we don't block right away and clear the current image. This also fixes loading multiple images during a rotation as it takes time for geometry changes to apply to QT
2021-08-06 17:29:28 +12:00
Alfred Reynolds
eac73d618b
- Remove _t postfix from struct defns
...
- Remove inline header function definitions
- Change assorted functions to return structs rather than modifying an argument
2021-08-05 19:50:07 +12:00
Alfred Reynolds
096a68636c
- Change display options to be passed down from the window, and have the imageselector pass a struct back that contains image metadata
...
- Added ImageDisplayOptions_t to control user controllable options for how we show an image (aspect filtering, stretching)
- Added ImageDetails_t to encapsulate image metadata along with its image options
2021-08-03 14:14:11 +12:00
Alfred Reynolds
5eaf7ee539
- Add support for per folder image display options. The file called options.json contains json keys to control image options when displaying files in this folder. Currently a singled option, fitAspectAxisToWindow, is supported
...
- Remove duplicated image rotation reading code, have the image selector logic just pass this up via the per image options
2021-08-01 13:05:43 +12:00
Alfred Reynolds
019b9406bc
- If you fail to load content try on a different timer (every 5 seconds by default). This fixes slow image loading at startup if you have a long timeout between pictures.
2021-07-30 17:57:01 +12:00
Manuel
db09dc43f2
split switcher and traverser to prepare for shuffle mode
2020-02-13 21:52:17 +01:00
Manuel
bc9dd90acc
split imageselector
...
* image updating in seperate class ImageSwitcher
* image selection in class ImageSelector
2020-01-02 23:34:06 +01:00