Commit graph

19 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
goaaats
f9847398d2 settings: get "reduced motion" setting from WinApi 2024-03-20 22:14:24 +01:00
srkizer
95defa200f
Add Reduced Motion for Notifications (#1732)
When Reduced Motion configuration is on, the expiry progressbar is
removed, and instead a pie on top right is shown, and relative time
update interval increases to 15 seconds. Progress wave animation also is
suppressed.
2024-03-20 21:53:20 +01:00
Soreepeong
9724e511e9 Add INotification.RespectUiHidden 2024-03-14 13:05:46 +09:00
Soreepeong
76ca202f38 Comments on RemoveNonDalamudInvocations 2024-03-14 12:54:12 +09:00
Soreepeong
6b875bbcb5 Support SetIconTexture(Task<IDalamudTextureWrap?>?) 2024-02-28 17:27:19 +09:00
Soreepeong
a4a990cf3d Reformat code 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
eaf447164a Ensure that crossthread progress update do not result in animation jerkiness 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
Renamed from Dalamud/Interface/Internal/Notifications/ActiveNotification.cs (Browse further)