added some kbm stuff
This commit is contained in:
1 parent
82e802873f
commit
42fd7414e4
218 files changed
+3758
-258
No files matched your search
@@ -64,7 +64,26 @@ public:
|
||||
|
||||
virtual void customDraw(IggyCustomDrawCallbackRegion *region);
|
||||
|
||||
#ifdef __PSVITA__
|
||||
virtual void tick();
|
||||
|
||||
void SelectHSlotUnderPoint(float fx, float fy);
|
||||
|
||||
bool GetHSlotIndexForPoint(float fx, float fy, int &iOut);
|
||||
|
||||
void UpdateHSlotHover(float fx, float fy);
|
||||
|
||||
int m_iHoverHSlot;
|
||||
|
||||
|
||||
|
||||
void SelectGroupTabUnderPoint(float fx, float fy);
|
||||
bool GetTabSegmentForPoint(float fx, float fy, int &iOut);
|
||||
|
||||
void CycleVerticalVariant(bool bForward);
|
||||
|
||||
virtual void handleMouseHover(float x, float y, int iId);
|
||||
|
||||
#if defined(__PSVITA__) || defined(_WINDOWS64)
|
||||
virtual void handleTouchInput(unsigned int iPad, S32 x, S32 y, int iId, bool bPressed, bool bRepeat, bool bReleased);
|
||||
virtual UIControl* GetMainPanel();
|
||||
virtual void handleTouchBoxRebuild();
|
||||
@@ -74,6 +93,7 @@ public:
|
||||
protected:
|
||||
UIControl m_controlMainPanel;
|
||||
UIControl m_control1Selector, m_control2Selector, m_control3Selector;
|
||||
UIControl m_tabRow;
|
||||
UIControl_SlotList m_slotListCraftingHSlots;
|
||||
UIControl_SlotList m_slotListCrafting1VSlots, m_slotListCrafting2VSlots[2], m_slotListCrafting3VSlots[3];
|
||||
UIControl_SlotList m_slotListIngredientsLayout, m_slotListCraftingOutput;
|
||||
@@ -86,7 +106,7 @@ protected:
|
||||
IggyName m_funcMoveSelector, m_funcSelectVerticalItem, m_funcSetActiveTab;
|
||||
IggyName m_funcShowPanelDisplay, m_funcShowIngredientSlot;
|
||||
|
||||
#ifdef __PSVITA__
|
||||
#if defined(__PSVITA__) || defined(_WINDOWS64)
|
||||
enum ETouchInput
|
||||
{
|
||||
ETouchInput_TouchPanel_0,
|
||||
@@ -104,11 +124,17 @@ protected:
|
||||
S32 m_iCraftingSlotTouchStartY;
|
||||
#endif
|
||||
|
||||
bool m_bMouseLDownPrev;
|
||||
|
||||
bool m_bCraftArmed;
|
||||
|
||||
UI_BEGIN_MAP_ELEMENTS_AND_NAMES(UIScene)
|
||||
UI_MAP_ELEMENT( m_controlMainPanel, "MainPanel" )
|
||||
UI_BEGIN_MAP_CHILD_ELEMENTS( m_controlMainPanel )
|
||||
UI_MAP_ELEMENT( m_slotListCraftingHSlots, "CraftingHSlots")
|
||||
|
||||
UI_MAP_ELEMENT( m_tabRow, "CraftingTabs")
|
||||
|
||||
UI_MAP_ELEMENT( m_control3Selector, "SlotSelector3" )
|
||||
UI_BEGIN_MAP_CHILD_ELEMENTS( m_control3Selector)
|
||||
UI_MAP_ELEMENT( m_slotListCrafting3VSlots[0], "Crafting3VSlot1")
|
||||
@@ -157,7 +183,7 @@ protected:
|
||||
UI_MAP_NAME( m_funcShowPanelDisplay, L"showPanelDisplay")
|
||||
UI_MAP_NAME( m_funcShowIngredientSlot, L"ShowIngredient")
|
||||
|
||||
#ifdef __PSVITA__
|
||||
#if defined(__PSVITA__) || defined(_WINDOWS64)
|
||||
UI_MAP_ELEMENT( m_TouchInput[ETouchInput_TouchPanel_0], "TouchPanel_0" )
|
||||
UI_MAP_ELEMENT( m_TouchInput[ETouchInput_TouchPanel_1], "TouchPanel_1" )
|
||||
UI_MAP_ELEMENT( m_TouchInput[ETouchInput_TouchPanel_2], "TouchPanel_2" )
|
||||
|
||||
Reference in new issue
Block a user