diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2026-02-11 00:05:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-11 00:05:16 -0800 |
| commit | d8a4157b9f8de4054defe551e07ffc7a7aaae6e2 (patch) | |
| tree | 6bb0763f121c6c34601c8e9e4e4592aad0d973f8 /include/JSystem | |
| parent | a772c05f4dc6a724c5a4c3f646ca44110465b788 (diff) | |
d_jnt_col debug (#3088)
Diffstat (limited to 'include/JSystem')
| -rw-r--r-- | include/JSystem/JHostIO/JORMContext.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/JSystem/JHostIO/JORMContext.h b/include/JSystem/JHostIO/JORMContext.h index ad4d19f9f1..725cae652e 100644 --- a/include/JSystem/JHostIO/JORMContext.h +++ b/include/JSystem/JHostIO/JORMContext.h @@ -86,6 +86,11 @@ updateSelectorSub(mode, (uintptr_t)pSrc, *pSrc, param_2); \ } +#define DEFINE_UPDATE_COMBO_BOX_ID(T) \ + void updateComboBoxID(u32 mode, u32 id, T value, u32 param_4) { \ + updateSelectorSub(mode, id, value, param_4); \ + } + #define DEFINE_UPDATE_SLIDER(T) \ void updateSlider(u32 mode, T* pSrc, T rangeMin, T rangeMax, u32 param_5) { \ updateSliderSub(mode, (uintptr_t)pSrc, *pSrc, rangeMin, rangeMax, param_5); \ @@ -258,10 +263,12 @@ public: DEFINE_START_COMBO_BOX(s16, jhostio::EKind_16B) DEFINE_START_COMBO_BOX(s32, jhostio::EKind_32B) - DEFINE_START_COMBO_BOX_ID(int, JORPropertyEvent::EKind_ValueID) + DEFINE_START_COMBO_BOX_ID(s32, JORPropertyEvent::EKind_ValueID) DEFINE_UPDATE_COMBO_BOX(u8) + DEFINE_UPDATE_COMBO_BOX_ID(s32) + void endComboBox() { endSelectorSub(); } void genComboBoxItem(const char* label, s32 itemNo) { |
