Commit graph

14 commits

Author SHA1 Message Date
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
6b875bbcb5 Support SetIconTexture(Task<IDalamudTextureWrap?>?) 2024-02-28 17:27:19 +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
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
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
3ba395bd70 Implement INotificationManager 2024-02-28 17:11:29 +09:00