Commit graph

22 commits

Author SHA1 Message Date
goaaats
7b723687a4 Use NuGet CPM to ensure consistent package versions
Fixes various issues with projects referencing different versions of libraries, causing deployment issues if build order differs
2025-10-15 22:58:26 +02:00
Haselnussbomber
d61a35b81f
Update Settings Window (#2400)
* Load new localization before firing change event

* Update texts in SettingsWindow when locale changes

* Localize settings search

* Update settings search input

- Disable when Credits are scrolling,
so Search Results aren't shown instead
- Select all on single click, as usual for a search bar

* Remove unused IsVisible property

* Fix General tab being unselected on language change

* Fix search results throwing, oops

* Missed using LocRef in EnumSettingsEntry

* Set CultureInfo before loading locs

* Change it to LazyLoc instead

So CheapLoc can export localizations...
2025-09-29 09:08:25 -07:00
Soreepeong
b66860cdba Add cond=0 default to SetDragDropPayload 2025-08-09 10:14:30 +09:00
Soreepeong
bd824130bd Fix InputTextEx return type 2025-08-09 09:58:14 +09:00
Soreepeong
0ce4f6d598 Add back ImGui.ArrowButton 2025-08-09 08:23:38 +09:00
Soreepeong
afe58dae76 Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
Soreepeong
cc21480d21 Add overloads for InputText which callbacks take Ptr instead 2025-08-09 08:23:38 +09:00
Soreepeong
28658b4889 Fix ImGui.Combo overload resolution priority 2025-08-09 08:23:38 +09:00
Soreepeong
5d8e4bee92 Fix ImGuiTextFilter function types 2025-08-09 08:23:37 +09:00
Soreepeong
3e2a6ec9cb Work around ActiveIdUsingKeyInputMask having a wrong type 2025-08-09 08:23:37 +09:00
srkizer
1f06006cc0
Fix combobox callback impl (#2347)
* Fix combobox callback impl

* Make ImGuiBackend delegates public

* Release ImGui focus when the game window loses focus
2025-08-06 19:18:40 -07:00
Soreepeong
4a2f890aa9 Add ClearWindowFocus 2025-08-07 07:52:46 +09:00
Soreepeong
ebe184b10c Handle nullptr/Span.Empty handling, add explicit overload for ImU8String.AppendFormatted(object) 2025-08-07 07:48:38 +09:00
srkizer
3e40cad063
Use custom GetPinnableReference instead of deferring it to Span (#2345) 2025-08-06 09:03:50 -07:00
wolfcomp
2cd5c5bc68
fix input scalar not working the same way as normal imgui code (#2343) 2025-08-06 09:01:58 -07:00
Haselnussbomber
58fbff7c56
Update text-related ImGui calls (#2337)
* Update text-related ImGui calls

* Use ImU8String for SafeTextColored

* Restore wrapped calls

* Update MenuItem call

* Use ImGui.Text over ImGui.TextUnformatted

* Add ImGui.TextColoredWrapped

* Obsolete SafeText helpers

* Fix obsoleted calls

* SafeTextColored didn't exist before imgui-bindings

* Remove %% replacements
2025-08-04 15:46:43 -07:00
Kaz Wolfe
832288a76e
fix: compiler issue with MenuItem
Resolves #2336.
2025-08-04 11:34:23 -07:00
srkizer
c69329f592
Manual overloads for ImGui functions accepting text (#2319)
* wip2

* Implement AutoUtf8Buffer

* reformat

* Work on manual bindings

* restructure

* Name scripts properly

* Update utility functions to use ImU8String

* add overloads

* Add more overloads

* Use ImGuiWindow from gen, support AddCallback

* Use LibraryImport for custom ImGuiNative functinos

* Make manual overloads for string-returning functinos

* Make all overloads with self as its first parameter extension methods

* Fix overload resolution by removing unnecessary

* in => scoped in

* Fix compilation errors
2025-08-04 11:14:00 -07:00
Blair
0f8b65e95a
Load imgui.so if available for external tools running imgui on native (#2331) 2025-08-03 18:25:30 -07:00
goaaats
e559ae6b20 Regenerate bindings 2025-07-20 01:24:17 +02:00
goaaats
eaadd3d136 Regen cimgui 2025-04-07 21:49:03 +02:00
goaaats
b5a8bfe399 move bindings around 2025-04-06 21:08:34 +02:00