Commit graph

33 commits

Author SHA1 Message Date
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
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
goaaats
dc83879c89 Texture handle shim 2025-04-14 21:20:39 +02:00
goaaats
ad3b0f0194 Fix some warnings 2025-04-08 22:21:04 +02:00
goaaats
0690cce995 wip bindings upgrade 2025-04-06 20:59:23 +02:00
Blair
19ba6a961f
Switch INotificationManager and ITitleScreenMenu to use ISharedImmediateTexture (#1879)
* Switch INotificationManager and ITitleScreenMenu to use ISharedImmediateTexture #1879

* Remove SetIconTexture
Remove some remarks that no longer apply

* Cleanup StyleCop warnings
2025-03-26 20:36:18 +01:00
nebel
7a45fb05e3
Cache DalamudAssetAttribute lookups (#2014) 2024-08-17 11:05:15 +02:00
goat
1d1b60b011 api10 todo: move IDalamudTextureWrap to Dalamud.Interface.Textures.TextureWraps 2024-06-29 00:45:16 +02:00
Soreepeong
20717cce3d more 2024-05-21 09:27:51 +09:00
srkizer
bd2c9b2258
Apply most of Api10ToDo (#1782) 2024-04-20 23:25:33 -07:00
srkizer
55bd845a63
Add IconTexture/Wrap to INotification (#1738) (#1739)
* Add IconTexture/Wrap to INotification (#1738)

Notification record and IActiveNotification interface now supports
setting or updating the texture wraps being used, and SetIconTexture has
gotten more overloads to support leaveOpen mechanism that can commonly
be found with Stream wrappers.

ImGui widget is updated to support testing setting "leaveOpen" and
updating "IconTexture" property via setter, making it possible to check
whether IDTW.Dispose is being called under given conditions.

Some changes to doccomments are made.

* typo
2024-03-22 14:47:50 +01:00
Soreepeong
9724e511e9 Add INotification.RespectUiHidden 2024-03-14 13:05:46 +09:00
Soreepeong
6b875bbcb5 Support SetIconTexture(Task<IDalamudTextureWrap?>?) 2024-02-28 17:27:19 +09:00
Soreepeong
a1e2473774 Normalize names 2024-02-28 17:11:30 +09:00
Soreepeong
92302ffd89 More cleanup 2024-02-28 17:11:30 +09:00
Soreepeong
a7d5380796 Cleanup 2024-02-28 17:11:30 +09:00
Soreepeong
e44180d4a2 honor notification window focus 2024-02-28 17:11:30 +09:00
Soreepeong
0040f61125 Make notifications minimizable, remove interactable 2024-02-28 17:11:30 +09:00
Soreepeong
e96089f8b2 Separate progress and expiry animations 2024-02-28 17:11:30 +09:00
Soreepeong
f434946137 Turn impls of IconSource internal 2024-02-28 17:11:30 +09:00
Soreepeong
42b6f8fd4b fix disposes and add TextureWrapIconSource 2024-02-28 17:11:30 +09:00
Soreepeong
cf54a02812 fixes 2024-02-28 17:11:30 +09:00
Soreepeong
df9212ac58 Expose DefaultDisplayDuration 2024-02-28 17:11:29 +09:00
Soreepeong
1ca2d2000b Add UserDismissable 2024-02-28 17:11:29 +09:00
Soreepeong
3a6aa13c3b Add IconSource 2024-02-28 17:11:29 +09:00
Soreepeong
7aba15ef5b Normalize namespaces 2024-02-28 17:11:29 +09:00
Soreepeong
04c6be5671 Add progressbar 2024-02-28 17:11:29 +09:00
Soreepeong
2935d18c37 Show plugin icons as fallback icon 2024-02-28 17:11:29 +09:00
Soreepeong
3ba395bd70 Implement INotificationManager 2024-02-28 17:11:29 +09:00
github-actions[bot]
871d0d21a2 Merge remote-tracking branch 'origin/master' into v9-rollup 2023-09-17 14:01:36 +00:00
MidoriKami
452cf7813f
Data Window ui rework (#1376) 2023-09-17 16:01:11 +02:00
goat
8ecc00f75f
refactor: move data widgets to correct namespace 2023-08-04 19:37:43 +02:00
MidoriKami
694159a510
/xldata window refactor (#1257)
Reworks the `/xldata` window so that each individual section is in its own file.
2023-06-23 10:54:40 -07:00