mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-01 21:33:08 +00:00
Remove Win32 callback types from UI keyboard scenes
This commit is contained in:
parent
3b785b6787
commit
80f1a8d1b5
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue