Commit Graph

141 Commits

Author SHA1 Message Date
Wojtek Figat
7ac2376231 Simplify code 2025-01-12 23:57:52 +01:00
Wojtek Figat
09414f9002 Add blend space drawing in Multi Blend 2D editor
#1980
2024-12-10 10:42:40 +01:00
Wojtek Figat
57628c3d5f Refactor Bezier splines drawing and editing to property evaluate value and match curve evaluation
#3051
2024-12-02 19:10:28 +01:00
Chandler Cox
7b9da3786d Fix carrot position when no text but text alignment 2024-09-23 15:57:21 -05:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
d9aa123bce Add custom grid snapping value for translation
#1823
2024-09-20 18:33:08 +02:00
Wojtek Figat
262c536d7f Fix Label auto sizing to be relative to pivot and sync layout when editing
#2496
2024-09-18 22:21:56 +02:00
Wojtek Figat
f7f4c15e82 Fix TextBox caret and selection when using text alignment options
#2653
2024-09-18 12:00:41 +02:00
Wojtek Figat
6113af2dc1 Fix custom 2D clipping mask to properly inherit parent container clip mask
2371
2024-09-15 23:57:52 +02:00
Wojtek Figat
a18565fd61 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-23 00:05:00 +02:00
Wojtek Figat
23f60da40d Fix various code issues found using PVS-Studio 2024-08-22 20:24:52 +02:00
Wojtek Figat
559cd74647 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Audio/Audio.cpp
2024-07-05 22:18:40 +02:00
Wojtek Figat
c119750896 Fix RectAtlas regression 2024-06-21 16:24:47 +02:00
Wojtek Figat
8e49a35e0e Refactor RectPack into new RectPackNode and RectPackAtlas that uses more optimized memory allocations 2024-06-20 15:26:58 +02:00
Chandler Cox
8509761d67 Only wrap text on underscores and not other special characters 2024-06-18 17:37:54 -05:00
Wojtek Figat
e0028d5f94 Merge remote-tracking branch 'origin/master' into 1.9 2024-06-17 21:53:49 +02:00
Chandler Cox
488485e23e Fix borders not tinting. 2024-06-14 14:06:49 -05:00
Wojtek Figat
1e86eff2d3 Improve GPU constant buffers structures definitions to properly align on new Clang 2024-06-02 09:52:10 +02:00
Wojtek Figat
206ff89587 Add constant buffers alignment for data structures (16-byte boundaries) 2024-05-23 13:58:46 +02:00
Wojtek Figat
cb878294ea Minor fixes 2024-05-20 17:09:59 +02:00
97454fc82e Fix drawing an extra character with Render2D.DrawText 2024-05-07 20:10:05 +03:00
Wojtek Figat
261faad93e Fix incorrect View Size for 2d character font material 2024-04-17 16:41:19 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
db65b8037d Fix crash due to font changes refactor
#2260
2024-02-19 22:14:39 +01:00
Wojtek Figat
5cada42842 Fix missing engine api expose in Font.h
#2245
2024-02-19 17:37:59 +01:00
Wojtek Figat
a2b8312fba Cleanup stuff in #2019 2024-02-18 19:48:43 +01:00
ExMatics HydrogenC
360c75355c Fix build error under non-windows platforms 2023-12-03 16:04:50 +08:00
ExMatics HydrogenC
6ab1663a14 Add missing xml annotations 2023-12-03 15:18:27 +08:00
ExMatics HydrogenC
23b71e7d3e Make font fallbacking the default option 2023-12-03 15:11:47 +08:00
ExMatics HydrogenC
29eb3954c5 Create global settings for font fallback 2023-12-02 17:48:51 +08:00
ExMatics HydrogenC
95f5e31e48 Fix textbox height
Fix build error under non-windows platforms
2023-12-01 19:38:15 +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
d3840bb1f3 Refractor C++ code structure 2023-11-30 16:25:32 +08:00
ExMatics HydrogenC
41bbce56f6 Add multifont rendering to editor 2023-11-30 13:41:45 +08:00
ExMatics HydrogenC
a3bc394e4e Fix a bunch of rendering bugs 2023-11-29 15:04:29 +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
dc7170c51e Expose Freetype font style flags in FontAsset 2023-11-10 21:32:50 +02:00
Wojtek Figat
c457087612 Optimize memory allocation when using Sprite size during 2D rendering 2023-10-17 22:44:15 +02:00
Wojtek Figat
4fd8697082 Working improvements from docs PR 2023-09-25 11:11:56 +02:00
2190031ccf Support decimal values in Font sizes 2023-06-18 20:52:46 +03:00
Wojtek Figat
3645377b15 Merge remote-tracking branch 'origin/1.6' 2023-06-16 18:43:40 +02:00
fadc5beb1c Fix FontTextureAtlas::GetSlotData not including padding correctly 2023-06-16 15:17:04 +03:00
Wojtek Figat
8f7da81621 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Flax.flaxproj
#	Source/Editor/Content/Items/AssetItem.cs
2023-06-13 15:41:07 +02:00
326b6f000a Expose bitmap data of Font glyphs in FontTextureAtlas 2023-06-12 22:09:27 +03:00
Wojtek Figat
5a45ccf70d Fix text formatting infinite loop
#1127
2023-05-28 16:56:19 +02:00
Wojtek Figat
f3393c46a5 Fix text formatting infinite loop
#1127
2023-05-28 16:55:47 +02:00
Wojtek Figat
694980160b Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/CustomEditorsUtil.cs
#	Source/Engine/Networking/NetworkReplicator.cpp
#	Source/Engine/Scripting/ManagedCLR/MUtils.cpp
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
Wojtek Figat
b244ffedd2 Fix output log text ranges to handle line ending 2023-05-17 12:23:01 +02:00