Commit Graph

13 Commits

Author SHA1 Message Date
ExMatics HydrogenC
23b71e7d3e Make font fallbacking the default option 2023-12-03 15:11:47 +08:00
ExMatics HydrogenC
3d139a241a Fix C# editor 2023-12-01 09:28:29 +08:00
ExMatics HydrogenC
623f478b44 Move fallback rendering to new class 2023-11-30 23:22:11 +08:00
ExMatics HydrogenC
cdbe59a3fb Add fallback settings to CSharp 2023-11-30 23:12:56 +08:00
ExMatics HydrogenC
41bbce56f6 Add multifont rendering to editor 2023-11-30 13:41:45 +08:00
ExMatics HydrogenC
47a25c7828 Add font fallback
Note: All the `First()` in the code are temperary workarounds to make it work and require refractoring
2023-11-28 07:17:46 +08:00
Luke Schneider
ad28a3fdbf Better light theme (Style) support, and a Default light theme (as a secondary option)
1) Added ForegroundViewport as a new color.  It is used in the main game viewport (ViewportWidgetButton), and the viewport for rendering of particles and materials.  It is needed because the default foreground in a Light theme is black, but black does not work well in a viewport.  A new color seemed appropriate.

2) Fixed the profiler window to use the Foreground color in multiple text elements, instead of Color.White (or no default TitleColor).  This includes  the Row class, Asset class, SingleChart class, Timeline Class, and more.

3) Added a second theme/Style (DefaultLight) to include with the engine.  It uses RGB float values because those were easier to transfer from the saved values that I had created (and they're easier for me to edit if necessary).  I tried to emulate how the Default theme is created/loaded/etc as closely as possible.
2023-09-27 21:54:34 -05:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
81fd026313 Add pooling for timeline event controls in profiler 2021-06-11 16:44:26 +02:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00