Commit Graph

96 Commits

Author SHA1 Message Date
SirLynix
5130a2ff84 Remove Config.hpp options and refactor headers
- Rename Config.hpp to Export.hpp
- Remove Debug.hpp and DebugOff.hpp (not used anymore)
2024-02-19 15:11:34 +01:00
SirLynix
63c526cecc Core/Node: Refactor interface
- Removed overloads taking multiple scalars
- Removed CoordSys parameter (functions exists in two sets, local and global)
2024-02-19 09:44:01 +01:00
SirLynix
e64c2b036e Remove Utility module and move its content to Core and TextRenderer modules 2024-02-11 22:48:38 +01:00
SirLynix
57ad486c01 Minor fixes 2024-02-10 13:42:19 +01:00
SirLynix
23645fc398 Widgets: Add SimpleLabelWidget
A simpler alternative to LabelWidget
2024-02-08 00:24:31 +01:00
SirLynix
d3f7e20473 Widgets/TextAreaWidget: Fix clipboard paste cursor with non-ascii chars 2024-02-06 13:28:08 +01:00
SirLynix
b29ecdf0db Widgets/AbstractTextAreaWidget: Add support for additional copy/cut/past shortcut
- ctrl + insert (copy)
- shift + insert (paste)
- shift + delete (cut)
2024-01-27 15:12:08 +01:00
SirLynix
33374ed0c0 Widgets/TextAreaWidget: Improve text shifting when cursor is out of bounds 2024-01-26 16:16:13 +01:00
SirLynix
c931e9a509 Widgets/TextAreaWidget: Add a way to limit text length 2024-01-26 16:15:53 +01:00
SirLynix
6757de1be8 Add end-of-line spaces checker 2024-01-26 10:43:00 +01:00
SirLynix
771ab670c0 Widgets: Update default theme buttons to work better at low sizes 2024-01-25 10:16:10 +01:00
SirLynix
9b96503fde Remove test that was wrongly commited 2024-01-16 15:22:30 +01:00
SirLynix
964d32b34e Widgets: Add ProgressBarWidget 2024-01-16 14:13:06 +01:00
SirLynix
c52ffa15c4 Widgets/BoxLayout: Center widgets on the other axis 2024-01-14 22:04:02 +01:00
SirLynix
d2e2c075b4 Update copyright year 2024-01-02 12:02:14 +01:00
SirLynix
3514ac6340 Widgets/Canvas: Add mouse unhandled signals 2023-12-07 18:28:11 +01:00
SirLynix
81c5322331 Widgets/BoxLayout: Try to fix widget layout 2023-12-04 09:49:48 +01:00
SirLynix
a46e61e2e5 Widgets/SimpleWidgetStyles: Fix ImageButtonWidget pressed color 2023-10-21 19:26:26 +02:00
SirLynix
d40b8af68d Graphics: Add gamma correction 2023-10-13 19:56:07 +02:00
SirLynix
f7df4f56b4 Widgets/RichTextAreaWidget: Fix backspace 2023-08-24 17:47:41 +02:00
SirLynix
557da10dc6 Rework TextDrawer interface 2023-08-24 17:47:20 +02:00
SirLynix
9579eba43d Widgets/BaseWidget: Fix warning in release 2023-08-24 08:42:37 +02:00
SirLynix
1b7a89213d Widgets: Fix manually hidden entities being incorrectly shown when widget itself is shown 2023-08-24 07:54:33 +02:00
SirLynix
98c0a47dcc Widgets/TextAreaWidgets: Keep selections active (and visible) when losing focus 2023-08-23 17:56:36 +02:00
SirLynix
8f0890f719 Widgets: Fix new line selection not being bound to scissor box 2023-08-23 17:33:59 +02:00
SirLynix
a6fbf3c622 Fix previous commit 2023-08-08 18:26:53 +02:00
SirLynix
cf6fdf258f Graphics: Add new functions to get default material types/presets 2023-08-08 18:17:58 +02:00
SirLynix
42ea4ebbfb Widgets/BaseWidget: Fix background entity not being released 2023-07-15 10:36:03 +02:00
SirLynix
62663dc8e1 Vulkan 2023-07-14 14:18:04 +02:00
SirLynix
8481cc7c15 Widgets/BoxLayout: Fix warning 2023-06-21 20:14:31 +02:00
SirLynix
caf8446707 Math: Remove Algorithm file and move string functions to StringExt 2023-06-06 08:59:58 +02:00
Jérôme Leclercq
1a55b550fb Improve math module (#396)
* Improve math module

- Mark almost everything constexpr
- Equality (a == b) is now exact, down to the bit level. If you want approximate equality use the new ApproxEqual method/static method
- Rename Nz::Extend to Nz::Extent
- Removed Make[] and Set[] methods in favor of their static counterpart and operator=
2023-06-02 22:30:51 +02:00
SirLynix
ae5b1dc485 Fix compilation 2023-05-30 13:49:28 +02:00
SirLynix
0c7efa05e2 Fix a bunch of warnings 2023-05-30 12:34:38 +02:00
SirLynix
3712b641f8 Widgets: Improve BoxLayout 2023-05-14 18:53:56 +02:00
SirLynix
9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00
SirLynix
8b734caeac Utility/Node: Massively improve skeletal animations performance by allowing to invalidate the whole skeleton only once
Thanks to @SirMishaa for pointing that out
2023-03-17 19:22:09 +01:00
SirLynix
c0024dfa34 Fix warnings 2023-01-28 11:14:02 +01:00
SirLynix
f1ee611378 Widgets/SimpleWidgetStyles: Fix hovered sprite not being detached on click 2023-01-28 11:13:32 +01:00
SirLynix
f98cbcd00a Copyright year update 2023-01-22 17:41:18 +01:00
SirLynix
18851c9185 Replace RenderWindow with swapchains 2023-01-22 12:37:58 +01:00
SirLynix
9a553e5e9d Core: Make Color constexpr 2022-12-29 12:13:00 +01:00
SirLynix
e6bf11c48e Minor fixes 2022-12-17 14:49:22 +01:00
SirLynix
54aafe05a1 Fix warning 2022-11-30 18:45:22 +01:00
SirLynix
842e797cc4 Fix a bunch of warnings 2022-11-13 16:12:49 +01:00
SirLynix
1205155466 Graphics/Material: Rename CreateInstance to Instantiate 2022-11-05 00:14:16 +01:00
Jérôme Leclercq
dc6ce8427c Refactor material system (#382) 2022-10-31 19:53:41 +01:00
SirLynix
9cd7976a91 Remove "MemoryManager" and very old code 2022-09-24 14:25:52 +02:00
SirLynix
41523f8ca8 Fix compilation 2022-08-02 08:13:17 +02:00
SirLynix
27dab13484 Fix BoxLayout 2022-08-02 08:13:17 +02:00