Commit Graph

33 Commits

Author SHA1 Message Date
Alfred Reynolds
190ff6a508 - Remove network/image download code (as it is unused) 2021-11-13 13:42:39 +13:00
Alfred Reynolds
cf45a045ff - Fix image stretching not filling the frame when you have really wide (or tall) images. Check that stretching on the main dimension will end up the right size, otherwise stretch the otherway 2021-10-23 15:53:56 +13:00
Alfred Reynolds
b45e7dbda9 - merge from main 2021-09-09 08:56:03 +12:00
Alfred Reynolds
8bb97ed926 - Split ImageAspect into 2 types, ImageAspect for images and ImageAspectScreenFilter for screens
- Change ImageDetails into a class and add some accessors for the filtering logic for screen aspect and image aspect
2021-09-08 11:56:47 +12:00
Alfred Reynolds
a6e0846abe Merge branch 'master' of https://github.com/NautiluX/slide into NautiluX-master 2021-09-08 11:05:10 +12:00
gdzhu
1fa6eb300c configurable overlay color 2021-09-03 22:05:31 -04:00
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
833e7ef915 - Add the ability to parse the RSS feeds from reddit groups (in particular the image feed groups like EarthPorn) and display them 2021-08-22 15:10:26 +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
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
a2c452fdcd - Switch to using QGuiApplication::primaryScreen for screen size (desktopwidget is deprecated)
- connect() to the geometryChanged and orientationChanged screen calls to detect changes
2021-08-06 16:50:54 +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
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
ce008ea53a Merge branch 'master' of https://github.com/NautiluX/slide into NautiluX-master 2021-08-02 21:15:11 +12:00
Manuel Dewald
c35b865a0b Merge pull request #24 from pepe82sh/master
Fixing issues with displays smaller than the window size
2021-08-02 10:55:02 +02: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
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
Manuel Dewald
5d6d9a804d fade transitioning 2021-03-04 16:22:53 +01:00
Manuel Dewald
d4beb46f28 Add text overlays 2021-03-04 14:40:11 +01:00
Manuel Dewald
9ade0cb4ee enable smooth tranformation 2021-03-03 13:10:19 +01:00
pepe82sh
70806017d1 Touch off feature
The program will quit if all 4 corners of a touch screen are touched
simultaniously.
2020-12-16 20:54:06 +01:00
pepe82sh
94d18177c2 Revert "Fixed full screen behaviour"
This reverts commit 2960ec8d21.
2020-12-12 11:45:00 +01:00
pepe82sh
2960ec8d21 Fixed full screen behaviour
In case the screen resulution did not match the size set in
mainwindow.ui, you may only see part of the image shown. Putting the
window in full screen explicitly fixes that issue.
2020-12-12 08:48:57 +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 Dewald
ee7e88128a workaround for zooming issue 2019-10-25 10:15:56 +02:00
Manuel
aa168ca222 Blur and Command line opts
* blur background image
* command line options for
        * background blur radius
        * background opacity
        * path to image folder
        * timeout for password rotation
2019-01-23 22:26:36 +01:00
Manuel
34a6394ee8 image orientation 2019-01-21 22:18:20 +01:00
Manuel
39047e6470 cleanup 2019-01-21 21:00:00 +01:00