SpaiR
d27e3aa10b
feat(api): make ImVec2/ImVec4 math operations immutable ( #317 )
...
resolves #302
Updated math operations (`plus`, `minus`, `times`, `div`) for `ImVec2` and `ImVec4` to return new instances instead of modifying the existing ones, ensuring immutability.
2025-01-29 20:35:53 +02:00
SpaiR
d760b2b9ef
[API] Tweak ImString tests
2022-12-19 11:36:10 +02:00
SpaiR
47baed3b42
[API] Add arithmetic ops to ImVec2 and ImVec4
...
- plus
- minus
- times
2022-12-19 11:30:51 +02:00
SpaiR
b07160da15
[API] Extend ImString to accept more objects to set string from
...
Also make getBytes method to use UTF-8 charset
2021-02-27 16:15:54 +02:00
SpaiR
5c1f8f5c33
Add ImString support for "null" values
...
Set with "null" as a value will work in the same way String#valueOf does.
2020-06-25 15:26:49 +03:00
SpaiR
e60f56beb7
Move primitive wrappers into its own package "imgui.type"
2020-06-16 17:07:21 +03:00
SpaiR
253f411a6b
Fix test case
2020-01-04 22:53:17 +03:00
SpaiR
937b37b75a
Improve string resize flow
2020-01-04 18:48:00 +03:00