Commit graph

59 commits

Author SHA1 Message Date
Soreepeong
3853191c48 More cleanup 2024-03-03 00:51:28 +09:00
Soreepeong
3415df5d40 Cleanup 2024-03-02 23:45:14 +09:00
Soreepeong
0aa75306d4 fixese 2024-03-02 07:50:37 +09:00
Soreepeong
5367d288d6 Use WIC to implement ITP.SaveAsImageFormatToStreamAsync 2024-03-02 06:57:12 +09:00
Soreepeong
1ae11440aa Add ITextureProvider.CreateFromExistingTextureAsync 2024-03-02 01:41:11 +09:00
Soreepeong
8fa8ca43b6 Rename ISharedImmediateTexture methods 2024-03-01 09:47:27 +09:00
Soreepeong
ca986b46a2 cleanup 2024-02-28 21:17:50 +09:00
Soreepeong
cc756c243c Add ITextureProvider.GetFromManifestResource(Assembly,string) 2024-02-28 21:04:57 +09:00
Soreepeong
35f3802471 Format 2024-02-28 20:10:31 +09:00
Soreepeong
f8492dc06b changes 2024-02-28 19:16:14 +09:00
Soreepeong
ea633cd876 Implement texture load throttling & cancellable async loads 2024-02-28 17:43:24 +09:00
Soreepeong
e12b2f7803 Make state+texture retrieval done with one API call 2024-02-28 17:43:24 +09:00
Soreepeong
2920d18afa Update IconBrowserWidget 2024-02-28 17:43:24 +09:00
Soreepeong
eb4d9aba7e TexWidget: add test/examples for new APIs 2024-02-28 17:43:22 +09:00
Soreepeong
9629a555be Rename to CreateWrapSharingLowLevelResource 2024-02-26 03:20:28 +09:00
Soreepeong
f6be80a5fb Make IDalamudTextureWrap ICloneable 2024-02-25 21:21:50 +09:00
srkizer
2d8b71c647
Add SetFontScaleMode(ImFontPtr, FontScaleMode) (#1666)
* Add SetFontScaleMode(ImFontPtr, FontScaleMode)

`IgnoreGlobalScale` was advertised as "excludes the given font from
global scaling", but the intent I had in mind was "excludes the given
font from being scaled in any manner". As the latter functionality is
needed, obsoleted `IgnoreGlobalScale` and added `SetFontScaleMode`.

* Make it correct

* Name consistency
2024-02-18 15:08:07 +01:00
srkizer
34daa73612
Implement FontChooserDialog (#1637)
* Implement FontChooserDialog

* Minor fixes

* Fixes 2

* Add Reset default font button

* Add failsafe

* reduce uninteresting exception message

* Add remarks to use AttachExtraGlyphsForDalamudLanguage

* Support advanced font configuration options

* fixes

* Shift ui elements

* more fixes

* Add To(Localized)String for IFontSpec

* Untie GlobalFontScale from default font size

* Layout fixes

* Make UiBuilder.DefaultFontSize point to user configured value

* Update example for NewDelegateFontHandle

* Font interfaces: write notes on not intended for plugins to implement

* Update default gamma to 1.7 to match closer to prev behavior (1.4**2)

* Fix console window layout
2024-02-13 20:09:46 +00:00
goat
47b1dfd7f9
Merge branch 'master' into feature/ifontatlas-lock-safety 2024-02-08 19:04:54 +01:00
KazWolfe
0d10a17966
Make CommandWidget look better (and expose more info) (#1631)
- Expose the plugin that owns the command.
2024-02-08 18:53:51 +01:00
Soreepeong
5161053cb3 Move IFontHandle.ImFontLocked to ILockedImFont+impl 2024-01-24 00:19:27 +09:00
Soreepeong
29b3e0aa97 Make IFontHandle.Push return IDisposable, and add IFontHandle.Pop 2024-01-21 13:15:36 +09:00
Soreepeong
d70b430e0d Add IFontHandle.Lock and WaitAsync 2024-01-21 03:10:41 +09:00
Soreepeong
63b16bcc7c Reapply "IFontAtlas: font atlas per plugin"
This reverts commit b5696afe94.
2024-01-19 07:26:56 +09:00
goat
b5696afe94 Revert "IFontAtlas: font atlas per plugin" 2024-01-18 12:51:58 -08:00
Soreepeong
2bfddaae16 Add minimum range rebuild test 2024-01-03 23:37:00 +09:00
Soreepeong
8bdab4d2c8 Implement DalamudFontAtlas 2024-01-03 23:36:08 +09:00
KazWolfe
b558752558
chore: Consolidate on ImGuiColors (#1585)
Uses ImGuiColors over KnownColor in most places so that themes override things properly.
2023-12-23 11:25:08 +01:00
srkizer
5998fc687f
Fix DataShare race condition, and add debug features (#1573) 2023-12-16 21:05:13 +01:00
goat
711d5e2859
Merge pull request #1554 from Soreepeong/GameInventory 2023-12-08 00:42:47 +01:00
srkizer
a0f4baf8fa
Less footguns in service dependency handling (#1560) 2023-12-06 21:29:46 -08:00
Soreepeong
e594d59986 Enable tracking only when there exists a subscriber 2023-12-02 12:58:55 +09:00
srkizer
7a0de45f87
Miscellaneous improvements (#1537) 2023-11-26 22:58:26 +01:00
KazWolfe
e538763f20
chore: Fix most 6.51 warnings (#1514) 2023-10-31 21:21:55 +01:00
MidoriKami
67ae069a23
AddonLifecycle ReceiveEvent improvements (#1511)
* Prototype

* Add hook null safety

Add a check to make sure addons that invoke virtual functions for other addons don't trigger lifecycle messages multiple times.

* Expose event listeners for AddonLifecycleWidget.cs

Disable hook when all listeners for an addon unregister

* Add AddonLifecycleWidget.cs

* Remove excess logging
2023-10-30 19:39:43 -07:00
KazWolfe
2083ccda00
Remove internal dependencies on opcodes (#1464)
- Removes the opcode lists from internal API entirely
- Move NetworkHandlers to use packet handler sigs
- Remove opcode data from NetworkMonitorWidget
2023-10-05 17:01:03 +00:00
MidoriKami
a1f1c169dc Allow icon 180000 2023-10-01 12:01:58 -07:00
MidoriKami
8fde0af0f9 Add IconBrowser Widget 2023-09-30 18:25:17 -07:00
goat
f44c6794e7
chore: tidy-up, move files shared between dalamud and injector into separate assembly 2023-09-30 16:11:52 +02:00
goat
ebabb7bd04
chore: make SigScanner public, have separate service TargetSigScanner that resolves via ISigScanner (closes #1426) 2023-09-24 01:49:34 +02:00
goat
6fbcd0e0e4
chore: don't use ImGuiScene.TextureWrap for any external API, IDalamudTextureWrap does not inherit from ImGuiScene.TextureWrap any longer 2023-09-23 13:05:19 +02:00
MidoriKami
dde1dd2f55 Add Clear button to NetworkMonitorWidget 2023-09-18 14:16:45 -07:00
goat
ab9b7e1602
chore: add data widget for servicecontainer status, remove serveropcode data widget 2023-09-17 20:35:40 +02: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
github-actions[bot]
38a4a7f580 Merge remote-tracking branch 'origin/master' into v9-rollup 2023-09-10 21:53:08 +00:00
MidoriKami
633894364d
Add Targets to TargetManager (#1364) 2023-09-07 10:12:19 -07:00
goat
2bdc4445d4
more warnings 2023-08-04 22:43:01 +02:00
goat
8ecc00f75f
refactor: move data widgets to correct namespace 2023-08-04 19:37:43 +02:00
goat
02e1f2502e
refactor: move Dalamud.Interface utils into main assembly, warnings pass 2023-08-04 19:36:09 +02:00