Leon Styhre
a443f86235
Removed a huge amount of unnecessary Window* function arguments.
2022-01-19 18:01:54 +01:00
Leon Styhre
8a6652552f
Set the clang-format option SpaceBeforeCpp11BracedList to true.
2022-01-16 12:09:55 +01:00
Leon Styhre
c4fb3eafbe
Fixed a small alignment issue in SliderComponent.
2021-11-11 19:45:44 +01:00
Leon Styhre
960f6e56be
Fixed an incorrect text debug overlay color in SliderComponent.
2021-10-24 14:53:53 +02:00
Leon Styhre
b83db7d33e
Added text debug overlay to SliderComponent.
...
Also changed a variable name to align with the standard naming conventions.
2021-10-24 14:48:42 +02:00
Leon Styhre
71b5c50b85
Made the SliderComponent width consistent across different screen aspect ratios.
2021-10-24 14:17:43 +02:00
Leon Styhre
bd62f2af14
Fixed an issue where the bar and knob in SliderComponent were not correctly aligned vertically.
2021-10-23 15:36:16 +02:00
Leon Styhre
c7d815a125
Fixed multiple compiler warnings related to virtual functions.
2021-09-18 11:49:39 +02:00
Leon Styhre
7b5d673050
Replaced the internal Vector2i data type and functions with the GLM library equivalent.
...
Also applied some code formatting changes for braced lists using clang-format.
2021-08-17 18:41:45 +02:00
Leon Styhre
1fb0ccef0d
Replaced the internal Vector2f data type and functions with the GLM library equivalent.
2021-08-16 18:25:01 +02:00
Leon Styhre
722468129e
Replaced all internal matrix data types and functions with the GLM library equivalents.
...
Also changed some vectors.
2021-08-15 19:30:31 +02:00
Leon Styhre
23fdc00044
Formatted the es-core source tree using clang-format.
2021-07-07 20:31:46 +02:00
Leon Styhre
392ca21adb
Improved the knob position calculation for SliderComponent.
2021-02-01 00:07:15 +01:00
Leon Styhre
0dfe52586c
Fixed an issue with adjusting SliderComponent values using the controller D-pad.
2021-01-23 15:43:48 +01:00
Leon Styhre
db1a97dd85
Made SliderComponent scale properly on high resolution displays.
2021-01-15 19:06:53 +01:00
Leon Styhre
0b6dce687e
Changed to C++ casts throughout the application.
2020-11-17 23:06:54 +01:00
Leon Styhre
8db04c5fcb
Added SPDX license identifiers to all source files.
2020-09-21 19:17:34 +02:00
Leon Styhre
d45e72e10c
Fixed incorrect knob position for SliderComponent for non-zero minimum values.
2020-08-08 12:33:55 +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
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
4a38271f6a
Expanded the help system to (hopefully) the whole application, removed the completely broken command line scraper and fixed some bugs related to the game collections.
2020-06-09 20:03:31 +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
Rael Gugelmin Cunha
464b0992ad
Work with dpad and analogs
2018-11-15 14:38:20 -02:00
Tomas Jakobsson
a8fc560749
Header inclusion cleanup
2017-11-02 19:16:01 +01:00
Tomas Jakobsson
73a2f6b716
Replace Eigen with "inhouse" vector and matrix math
2017-10-28 22:25:01 +02:00
Aloshi
dbdbcde6cd
Renamed folders to match their projects properly.
2014-06-20 20:03:05 -05:00