Commit graph

44 commits

Author SHA1 Message Date
Kaz Wolfe
69b4ed941f
fix: cs bump breaks 2025-08-05 23:32: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
bd52c60c6f
Merge branch 'imgui-bindings' into api13
# Conflicts:
#	Dalamud/Game/Gui/GameGui.cs
#	Dalamud/Interface/Internal/UiDebug.cs
#	Dalamud/Interface/Internal/Windows/Data/Widgets/AddonWidget.cs
#	Dalamud/Interface/Internal/Windows/SelfTest/Steps/ItemPayloadSelfTestStep.cs
2025-08-04 11:30:14 -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
Haselnussbomber
57c6089fc1
[Api13] Add native wrapper structs (#2330) 2025-08-03 17:43:52 -07:00
goaaats
90e426b325 Remove ImGui.NET entirely 2025-06-22 22:21:12 +02:00
goaaats
95ec633cc5 merge 2025-06-22 21:39:38 +02:00
goaaats
eb34eb1023 Fix some warnings 2025-05-31 12:00:20 +02:00
goaaats
308b9e4575 Re-add ImGui.NET, add compatibility shims 2025-04-13 21:52:27 +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
Kaz Wolfe
2176b32219
chore: Bump ClientStructs and make it build again 2025-03-24 13:25:13 -07:00
srkizer
74ab9191d3
Add ITextureProvider.ConvertToKernelTexture (#2003)
* Add ITextureProvider.ConvertToKernelTexture

Lets you obtain an instance of Kernel::Texture from IDalamudTextureWrap.

* Docs wip
2024-11-04 16:06:42 +01:00
goat
8956bd54a9 fix some warnings 2024-11-04 15:01:09 +01:00
srkizer
b6eb18d550
SeString renderer: fix colors, add link support (#1983)
* Add coloring options

* Add link support

* simplify

* fixes

* Prevent EncodeString from causing crashes

* Fix link range application and add link example

* Fix test widget

* Make DalamudLinkPayload backward compatible

* make it better to use

* make it better to use

* Mark SeString rendering functions experimental via comments

* rename

* Simplify

* Make sestring draw functions take in draw params

* Improvements
2024-08-01 10:36:11 -07:00
srkizer
844b04faad
Implement SeString renderer (#1977)
Does not have contextual evaluation. Only styling payloads are handled for (relative) simplicity.
2024-07-28 15:36:04 +02:00
nebel
b523acd500
Use origins when calculating scaled node position (#1972) 2024-07-25 21:39:54 +02:00
goat
4d0ab8e254 fix warnings 2024-07-23 19:46:02 +02:00
ItsBexy
42c728ec6c
Update Addon Inspector for variant image node types (#1941)
Now prints texture information for `AtkNineGridNode` and `AtkClippingMaskNode`
2024-07-21 15:40:15 +00:00
goat
2cbb8b9e22 enable some string BannedApis 2024-07-11 00:20:00 +02:00
Haselnussbomber
7ddc5d82ca
Update ClientStructs (#1827) 2024-06-15 16:57:44 -07:00
aers
479049b78d
[apiX] dalamud fixes for CS updates (#1821)
* update CS & fix compilation issues

* update CS to latest commit

* update CS & change battlechara

* more CS updates and compilation fixes

* one last cs update
2024-06-03 12:49:44 -07:00
aers
d823db7930
[apiX] first pass update for new clientstructs (#1818)
* first pass update for new clientstructs

* track latest clientstructs & fix compilation errors

* fix GameInventory hook bug
rename Appartment
2024-05-31 09:09:28 -07:00
goat
448b0d16ea
Add "loading dialog" for service init, unify blocking logic (#1779)
* wip

* hacky fix for overlapping event text in profiler

* move IsResumeGameAfterPluginLoad logic to PluginManager

* fix some warnings

* handle exceptions properly

* remove ability to cancel, rename button to "hide" instead

* undo Dalamud.Service refactor for now

* warnings

* add explainer, show which plugins are still loading

* add some text if loading takes more than 3 minutes

* undo wrong CS merge
2024-04-21 17:28:37 +02:00
srkizer
6497c62622
Change MemoryHelper to allocate less (#1657)
* Change MemoryHelper to allocate less

* Use StringBuilder pool for ReadSeStringAsString

* fix

* Use CreateReadOnlySpanFromNullTerminated where possible
2024-02-16 17:16:21 +01:00
KazWolfe
403e94f9d0
chore: Bump CS to 9f22a2a2 (#1517)
- Revert of AtkResNode DrawFlags
2023-11-01 03:06:57 +00:00
KazWolfe
e538763f20
chore: Fix most 6.51 warnings (#1514) 2023-10-31 21:21:55 +01:00
KazWolfe
e3aa0b2141
Emergent 6.5 Hotfixes - Round 1 (#1444)
* fix: New sig for ToggleUiHide
* fix: New sig for AddonOnRequestedUpdate
* chore: Bump CS
2023-10-03 06:50:03 +00:00
Haselnussbomber
af39add38e
[v9] Update ClientStructs and fix build (#1398)
* Update ClientStructs

* Use IFramework in AddonLifecycle

* Fix for ClientStructs breaking changes
2023-09-18 00:18:01 -07:00
goat
02e1f2502e
refactor: move Dalamud.Interface utils into main assembly, warnings pass 2023-08-04 19:36:09 +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
KazWolfe
dd1586d5d6
6.4 Patch Rollup (#1206)
Fix Dalamud for 6.4, hopefully.
2023-05-23 18:41:59 +00:00
goat
987ff8dc8f
chore: convert Dalamud to file-scoped namespaces 2022-10-29 15:23:22 +02:00
Aireil
f5c768f3e5
fix: null ref in addon inspector (#984) 2022-08-27 15:02:24 +02:00
liam
414812b52d
Merge 1.88 fork into net5 (#911)
* Update ImGuiScene.

* Update ImGuiScene.

* Update ImGuiScene.

* Update ImGuiScene.

* Fix obsolete errors in Dalamud.
2022-07-11 07:47:52 +02:00
goat
96ed22534c
chore: fix some warnings, cleanup 2022-04-25 20:04:17 +02:00
goat
6d22edb390
fix: also set correct item spacing for Util.ShowStruct 2021-12-08 01:47:02 +01:00
goat
a3b217b3a0
refactor: PrintOutObject => ShowStructure 2021-12-07 22:15:20 +01:00
goat
65d0acaf64
feat: move UIDebug PrintOutObject into Util, add ImGuiHelpers.ClickToCopyText 2021-12-07 21:54:05 +01:00
goat
1561fbac00
Revert "refactor(Dalamud): switch to file-scoped namespaces"
This reverts commit b5f34c3199.
2021-11-18 15:23:40 +01:00
goat
b5f34c3199
refactor(Dalamud): switch to file-scoped namespaces 2021-11-17 19:42:32 +01:00
Raymond
ff1d7f2829 Implement service locator 2021-08-21 14:03:06 -04:00
Raymond
7f4720ceb6 Bump ClientStructs and apply fixes 2021-08-09 10:00:14 -04:00
Raymond Lynch
658eedca37 Magic the magic happen 2021-07-11 16:32:32 -04:00
Renamed from Dalamud/Interface/UiDebug.cs (Browse further)