Leon Styhre
6a57a44df9
Improved the sizes of some menu GUI elements on 4:3 aspect ratio displays.
2021-03-09 17:17:33 +01:00
Leon Styhre
b44a21dc5a
(Unix) Added a menu option to enable or disable the desktop compositor.
2021-02-22 21:13:06 +01:00
Leon Styhre
ec5f1c1b5f
Fixed the annoying white screen flashing when starting the application.
2021-01-25 18:11:18 +01:00
Leon Styhre
4d2ef89864
Added multi-monitor support.
2021-01-24 23:44:50 +01:00
Leon Styhre
f7207edca5
(Windows) Fixed an issue with reliably launching games.
2021-01-24 13:51:40 +01:00
Leon Styhre
88235a0f06
Started to add support for multi-monitor setups.
2021-01-24 12:03:44 +01:00
Leon Styhre
97a6558472
(Windows) Made the application have the correct fullscreen size on high DPI displays.
2021-01-21 21:52:28 +01:00
Leon Styhre
632d11e46f
Minor code update.
2021-01-16 23:01:13 +01:00
Leon Styhre
ef25c675f7
Fixed an issue where separator lines would not get rendered on lower resolutions.
2021-01-16 22:55:38 +01:00
Leon Styhre
ee8e0a0c89
Some minor code cleanup.
2021-01-15 18:47:01 +01:00
Leon Styhre
11bf8046d8
Added screen resolution modifiers to get proper high resolution scaling.
2021-01-13 19:42:06 +01:00
Leon Styhre
c95334756d
Fixed a lot of MSVC compiler warnings.
2020-12-29 12:54:24 +01:00
Leon Styhre
0cce86beca
Created a common pixel conversion function for both renderers.
2020-12-18 16:49:11 +01:00
Leon Styhre
9bea6bb17e
Added a game info overlay to the screensaver.
...
Also refactored Window and SystemScreensaver and added a fade-in effect for the shaded background when opening menus.
2020-11-12 00:46:59 +01:00
Leon Styhre
2a852170a8
(Windows) Fixed some build issues and got the OpenGL shaders to work.
...
Also some additional code cleanup.
2020-09-16 22:14:35 +02:00
Leon Styhre
a34bc45e56
Added an opacity shader.
2020-09-12 19:17:26 +02:00
Leon Styhre
3643c08caf
Updates to the OpenGL shader handling.
2020-09-12 12:14:48 +02:00
Leon Styhre
fd10aba815
Updated the GLSL shader logic and added a postprocessing function.
2020-09-04 18:59:19 +02:00
Leon Styhre
d512c2b11d
Implemented OpenGL GLSL shader support.
2020-08-30 22:19:37 +02:00
Leon Styhre
77076c22f4
(Unix) Added border to borderless window if the resolution was manually changed.
...
Also fixed a mistake introduced in the last commit.
2020-08-23 22:40:15 +02:00
Leon Styhre
d6baa2d132
(macOS) Add a window border if the user has changed the resolution from the command line.
2020-08-23 22:19:37 +02:00
Leon Styhre
b8c6366349
(macOS) Made the game launching more seamless.
2020-08-23 18:41:08 +02:00
Leon Styhre
88a5962926
Changed '#ifdef' to '#if defined()' throughout the code.
2020-08-23 17:04:30 +02:00
Leon Styhre
af5a48ed10
Removed unnecessary #ifdefs for the SDL2 include files.
2020-08-23 16:15:06 +02:00
Leon Styhre
b0624f2bc9
Updates to make the application work correctly (more or less) on macOS.
2020-08-18 17:48:21 +02:00
Leon Styhre
8fcb56cfb3
Made game launching on Windows much more seamless.
...
Also added an option to hide the taskbar.
2020-07-18 13:21:44 +02:00
Leon Styhre
5a7fb828a6
Added proper error handling for resource files and improved overall logging.
2020-07-08 17:01:47 +02:00
Leon Styhre
76aa239855
Initial update to make the application build and run on Windows.
...
Much more work will be needed to get the Windows port working properly.
2020-07-03 20:23:51 +02:00
Leon Styhre
e4fdd1e20d
Code cleanup and code documentation update.
...
As of this commit, the initial code cleanup and code documentation has been completed for the entire application.
2020-06-28 18:39:18 +02:00
Leon Styhre
eeae8033bd
Use SDL2 include files instead of those for SDL version 1.
...
This resolves an irritating issue in the code editor where SDL2-specific functions could't be found. Not entirely sure about the SDL include file logic for other operating systems than Linux so the #ifdef directives may need to be updated further at a later date.
2020-06-26 18:03:55 +02:00
Leon Styhre
1f74723533
Another code cleanup and code documentation update.
2020-06-26 17:17:35 +02:00
Leon Styhre
8fefc9232c
Reorganized all resources to a subdirectory structure and added the CMake install prefix to the resource search path.
...
CMAKE_INSTALL_PREFIX and CMAKE_INSTALL_DATAROOTDIR are now used to resolve the resource path. As of this commit, there are only two paths where resources are searched, under the user home directory and under this install prefix directory (which defaults to /usr/local/share/emulationstation/resources but can be set to for instance /opt/share/emulationstation/resources using the appropriate CMake flags).
2020-06-21 19:35:43 +02:00
Leon Styhre
ffcf52c710
Made game launching more seamless and prevent minimizing of window when switching applications. Also added menu entry to choose between normal fullscreen mode and borderless fullscren mode
2020-05-15 17:51:32 +02:00
Tomas Jakobsson
71ac016c3d
Make sure all vertices are properly rounded
2019-08-31 18:19:43 +02:00
Tomas Jakobsson
489d7de096
Eliminate drawRect that takes int's and make sure everything uses the float version properly, this way everything is rounded the same way
...
Only round the transforms when setting them on the GPU, to make sure everything is rounded the same, but only at the final moment
2019-08-31 17:58:36 +02:00
John Rassa
fc58af98fd
support for color gradients in drawRect and ImageComponent
2019-08-29 19:47:16 -04:00
Tomas Jakobsson
9de16045c9
whitespace cleanup
...
fix faulty line endings
silence warnings on windows
2019-08-25 17:23:02 +02:00
Tomas Jakobsson
a02a747c50
Redid the entire Renderer
...
Made all components render using triangle strips
2019-08-25 15:45:22 +02:00