the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 40 lines 1.0 kB view raw
1#pragma once 2#include "..\Media\xuiscene_partnernetpassword.h" 3#include "XUI_Ctrl_4JEdit.h" 4 5#ifdef _CONTENT_PACKAGE 6#ifndef _FINAL_BUILD 7 8class CScene_PartnernetPassword : public CXuiSceneImpl 9{ 10 11protected: 12 CXuiCtrl4JEdit m_PartnernetPassword; 13 CXuiControl m_OK; 14 15 XUI_BEGIN_MSG_MAP() 16 XUI_ON_XM_INIT( OnInit ) 17 XUI_ON_XM_KEYDOWN(OnKeyDown) 18 XUI_ON_XM_NOTIFY_PRESS_EX(OnNotifyPressEx) 19 XUI_END_MSG_MAP() 20 21 BEGIN_CONTROL_MAP() 22 MAP_CONTROL(IDC_XuiEditPartnernetPassword, m_PartnernetPassword) 23 MAP_CONTROL(IDC_XuiOK, m_OK) 24 END_CONTROL_MAP() 25 26 27 HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled ); 28 HRESULT OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHandled); 29 HRESULT OnNotifyPressEx(HXUIOBJ hObjPressed, XUINotifyPress* pNotifyPressData,BOOL& rfHandled); 30 31public: 32 33 // Define the class. The class name must match the ClassOverride property 34 // set for the scene in the UI Authoring tool. 35 XUI_IMPLEMENT_CLASS( CScene_PartnernetPassword, L"CScene_PartnernetPassword", XUI_CLASS_SCENE ) 36 37}; 38 39#endif 40#endif