Alfred Reynolds
be8f615c21
- Add a new Log() function to replace ad-hoc std::cout calls wrapped in debugMode checks
...
- Remove debugMode from classes that don't need it (i.e all of them)
2021-08-26 12:13:09 +12:00
Alfred Reynolds
94373e6671
- Add stretch key to scheduler entries
...
- Fix change logic on pathentry to detect correct
2021-08-22 09:55:47 +12:00
Alfred Reynolds
66d619f49e
- Add a "scheduler" key to the config file that lets you define multiple image selectors and time windows they are valid for
2021-08-21 15:58:16 +12:00
Alfred Reynolds
de7af88e53
- Add support for display time windows for images in folder.options
...
- the times are defined in a JSON array with start and end times, if inside the window the image is valid to display
2021-08-12 17:40:56 +12:00
Alfred Reynolds
24a4a07593
- Change the object ownership semantics to take ownership of unique_ptr's rather than references
...
- Add helper functions for setting up config
- Add support for dynamically updating more config options (path related ones in particular)
2021-08-11 14:01:18 +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
e09c4d4f9f
- fix build after merge
2021-08-03 09:18:34 +12:00
alfred-reynolds
ce008ea53a
Merge branch 'master' of https://github.com/NautiluX/slide into NautiluX-master
2021-08-02 21:15:11 +12:00
Manuel Dewald
e3435c5153
refactor image filtering
2021-08-02 10:53:54 +02: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
455a794669
- Remove "_" prefix on members
...
- Remove aspect check getBlurredBackground as it is not needed
2021-07-31 14:18:01 +12:00
Alfred Reynolds
a0089db75b
- Add a verbose flag and put debugging output being it ("-v" || " --verbose")
...
- In verbose mode draw a thumbnail of the source image in the bottom left of the window
- Add support for long options in the command line parsing
- Add a "stretch" argument that will stretch the aspect axis to fit the window when set. For example, in landscape mode the drawn picture will be as wide as the window, cropping the top and bottom
2021-07-29 13:13:38 +12:00
Alfred Reynolds
23a0e208bf
- Add "-a" argument to filter show pictures by aspect ratio (potrait, landscape or all)
2021-07-29 11:52:32 +12:00
Manuel Dewald
05e5bb9460
sorted mode
2020-08-14 11:45:44 +02:00
Manuel
d21677399d
Enable shuffle mode
...
Co-authored-by: data-dude92 <60513060+data-dude92@users.noreply.github.com >
2020-02-13 23:25:04 +01:00
Manuel
db09dc43f2
split switcher and traverser to prepare for shuffle mode
2020-02-13 21:52:17 +01:00
Manuel
fa25ced107
Fix issue #8
2020-01-26 22:12:38 +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
Manuel
09fc431034
Recursive folders
...
* Allow recursive traversing of folders with -r flag
* Print useful error in case of no image found
* Fixes issues 4 & 6
2019-12-23 11:28:12 +01:00
Manuel
39047e6470
cleanup
2019-01-21 21:00:00 +01:00