Remove Win32 callback types from UI keyboard scenes

This commit is contained in:
notmatthewbeshay 2026-03-10 22:33:45 +11:00
parent 3b785b6787
commit 80f1a8d1b5
8 changed files with 14 additions and 14 deletions

View file

@ -306,7 +306,7 @@ UIControl *UIScene_AnvilMenu::getSection(ESceneSection eSection)
return control;
}
int UIScene_AnvilMenu::KeyboardCompleteCallback(LPVOID lpParam,bool bRes)
int UIScene_AnvilMenu::KeyboardCompleteCallback(void *lpParam,bool bRes)
{
// 4J HEG - No reason to set value if keyboard was cancelled
UIScene_AnvilMenu *pClass=(UIScene_AnvilMenu *)lpParam;

View file

@ -55,7 +55,7 @@ protected:
virtual UIControl *getSection(ESceneSection eSection);
static int KeyboardCompleteCallback(LPVOID lpParam,bool bRes);
static int KeyboardCompleteCallback(void *lpParam,bool bRes);
virtual void handleEditNamePressed();
virtual void setEditNameValue(const std::wstring &name);
virtual void setEditNameEditable(bool enabled);
@ -63,4 +63,4 @@ protected:
void setCostLabel(const std::wstring &label, bool canAfford);
void showCross(bool show);
};
};

View file

@ -134,7 +134,7 @@ void UIScene_DebugCreateSchematic::handleCheckboxToggled(F64 controlId, bool sel
}
}
int UIScene_DebugCreateSchematic::KeyboardCompleteCallback(LPVOID lpParam,bool bRes)
int UIScene_DebugCreateSchematic::KeyboardCompleteCallback(void *lpParam,bool bRes)
{
UIScene_DebugCreateSchematic *pClass=(UIScene_DebugCreateSchematic *)lpParam;
@ -213,4 +213,4 @@ int UIScene_DebugCreateSchematic::KeyboardCompleteCallback(LPVOID lpParam,bool b
return 0;
}
#endif
#endif

View file

@ -68,6 +68,6 @@ protected:
virtual void handleCheckboxToggled(F64 controlId, bool selected);
private:
static int KeyboardCompleteCallback(LPVOID lpParam,const bool bRes);
static int KeyboardCompleteCallback(void *lpParam,const bool bRes);
};
#endif
#endif

View file

@ -116,7 +116,7 @@ void UIScene_DebugSetCamera::handleCheckboxToggled(F64 controlId, bool selected)
}
}
int UIScene_DebugSetCamera::KeyboardCompleteCallback(LPVOID lpParam,bool bRes)
int UIScene_DebugSetCamera::KeyboardCompleteCallback(void *lpParam,bool bRes)
{
UIScene_DebugSetCamera *pClass=(UIScene_DebugSetCamera *)lpParam;
uint16_t pchText[2048];//[128];

View file

@ -64,6 +64,6 @@ protected:
virtual void handleCheckboxToggled(F64 controlId, bool selected);
private:
static int KeyboardCompleteCallback(LPVOID lpParam,const bool bRes);
static int KeyboardCompleteCallback(void *lpParam,const bool bRes);
};
#endif
#endif

View file

@ -140,7 +140,7 @@ void UIScene_SignEntryMenu::handleInput(int iPad, int key, bool repeat, bool pre
}
}
int UIScene_SignEntryMenu::KeyboardCompleteCallback(LPVOID lpParam,bool bRes)
int UIScene_SignEntryMenu::KeyboardCompleteCallback(void *lpParam,bool bRes)
{
// 4J HEG - No reason to set value if keyboard was cancelled
UIScene_SignEntryMenu *pClass=(UIScene_SignEntryMenu *)lpParam;
@ -203,4 +203,4 @@ void UIScene_SignEntryMenu::handleDestroy()
#if ( defined __PS3__ || defined __ORBIS__ || defined _DURANGO)
InputManager.DestroyKeyboard();
#endif
}
}

View file

@ -53,6 +53,6 @@ public:
protected:
void handlePress(F64 controlId, F64 childId);
static int KeyboardCompleteCallback(LPVOID lpParam,const bool bRes);
static int KeyboardCompleteCallback(void *lpParam,const bool bRes);
virtual void handleDestroy();
};
};