Commit Graph
19 Commits
Author SHA1 Message Date
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 ceadcf7a54 - Update docs with new monitor aspect ratio details 2021-08-05 11:54:39 +12:00
Alfred Reynolds e8e4a2a1ce - Add new aspect mode EImageAspect_Monitor , match the aspect of the monitor
- Added code to make sure the QMainWindow matches the screen size, dynamic rotation of the monitor caused incorrect screen sizes
2021-08-03 17:56:29 +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 c3086ab4ce Merge branch 'NautiluX-master' into folder_options 2021-08-02 21:16:02 +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
Alfred Reynolds ceaae5fcc9 - fixup code from master merge 2021-08-01 13:49:35 +12:00
Alfred Reynolds 1a9c013c29 Merge branch 'master' into folder_options 2021-08-01 13:48:25 +12:00
Alfred Reynolds e238719740 - fix --stretch mode, we need to make sure the background texture matches the screen size, so when we composite the foreground in the drawForeground() we fil the screen 2021-08-01 13:46:19 +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 c29e228ae0 - Add image list display type, you provide a comma delimited list of fully qualified path names to display 2021-08-01 11:27:22 +12:00
Alfred Reynolds 75c50a4209 - Implement aspect ratio checking for the shuffle and sorted image list modes 2021-07-31 14:42:13 +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 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
Alfred Reynolds 5ba3fef330 - update docs with new verbose and stretch flags 2021-07-29 13:17:17 +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 bee9a78986 - Add the build and .vscode folders to gitignore
- Make the build target dependent on files in the src/ folder
2021-07-29 11:53:55 +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