added some kbm stuff

This commit is contained in:
qloak committed 2026-09-13 18:02:29 -07:00
1 parent 82e802873f
commit 42fd7414e4
218 files changed
+3758 -258

No files matched your search

+16 -4
View File
@@ -94,6 +94,11 @@ protected:
int m_iPad;
bool m_hasTickedOnce;
#if defined(__PSVITA__) || defined(_WINDOWS64)
bool m_bTouchBoxRebuildPending;
__int64 m_touchBoxRebuildUntilMs;
#endif
public:
virtual Iggy *getMovie() { return swf; }
@@ -106,7 +111,10 @@ public:
int getRenderWidth() { return m_renderWidth; }
int getRenderHeight() { return m_renderHeight; }
#ifdef __PSVITA__
int getMovieWidth() { return m_movieWidth; }
int getMovieHeight() { return m_movieHeight; }
#if defined(__PSVITA__) || defined(_WINDOWS64)
UILayer *GetParentLayer() {return m_parentLayer;}
EUIGroup GetParentLayerGroup() {return m_parentLayer->m_parentGroup->GetGroup();}
vector<UIControl *> *GetControls() {return &m_controls;}
@@ -139,8 +147,8 @@ public:
virtual void tick();
IggyName registerFastName(const wstring &name);
#ifdef __PSVITA__
void SetFocusToElement(int iID);
#if defined(__PSVITA__) || defined(_WINDOWS64)
void SetFocusToElement(int iID, bool bQuiet = false);
void UpdateSceneControls();
#endif
protected:
@@ -228,7 +236,7 @@ protected:
virtual void handleAnimationEnd() {}
virtual void handleSelectionChanged(F64 selectedId) {}
virtual void handleRequestMoreData(F64 startIndex, bool up) {}
virtual void handleTouchBoxRebuild() {}
virtual void handleTouchBoxRebuild();
private:
void _handleFocusChange(F64 controlId, F64 childId);
void _handleInitFocus(F64 controlId, F64 childId);
@@ -264,6 +272,10 @@ public:
virtual void handleTouchInput(unsigned int iPad, S32 x, S32 y, int iId, bool bPressed, bool bRepeat, bool bReleased) {}
virtual void handleMouseHover(float x, float y, int iId) {}
virtual bool isControlActiveForTouch(UIControl *control) { (void)control; return true; }
protected: