Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
745 B · 38 lines
C++
at main
1234567891011121314151617181920212223242526272829303132333435363738#include "stdafx.h"#include "UI.h"#include "UIControl_Touch.h"
UIControl_Touch::UIControl_Touch(){}
bool UIControl_Touch::setupControl(UIScene *scene, IggyValuePath *parent, const string &controlName){ UIControl::setControlType(UIControl::eTouchControl); bool success = UIControl_Base::setupControl(scene,parent,controlName);
return success;}
void UIControl_Touch::init(int iId){ m_id = iId;
// 4J-TomK - add this touch control to the vita touch box list switch(m_parentScene->GetParentLayer()->m_iLayer) { case eUILayer_Error: case eUILayer_Fullscreen: case eUILayer_Scene: case eUILayer_HUD: ui.TouchBoxAdd(this,m_parentScene); break; }}
void UIControl_Touch::ReInit(){ UIControl_Base::ReInit();
init(m_id);}