MinecraftConsoles/Minecraft.Client/Common/XUI/XUI_NewUpdateMessage.h
Riley M. c0da06e4ee
major: Switch to forward slashes(+more) to fix compilation on Linux (#1403)
Notably also adds some metadata files for NixOS 

* add support for linux clang cross compiles

* add linux clang instructions

* un-capitalize Mob.horse.*

* update the description in flake.nix

---------

Co-authored-by: Loki <lokirautio@gmail.com>
2026-04-14 16:47:37 -05:00

32 lines
721 B
C++

#pragma once
#include "../media/xuiscene_NewUpdateMessage.h"
class CScene_NewUpdateMessage : public CXuiSceneImpl
{
// Xui Elements
CXuiHtmlControl m_HTMLText;
// Misc
XUI_BEGIN_MSG_MAP()
XUI_ON_XM_INIT( OnInit )
XUI_ON_XM_KEYDOWN( OnKeyDown )
XUI_ON_XM_NAV_RETURN(OnNavReturn)
XUI_END_MSG_MAP()
BEGIN_CONTROL_MAP()
MAP_CONTROL(IDC_XuiHTMLMessage, m_HTMLText)
END_CONTROL_MAP()
HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled );
HRESULT OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHandled);
HRESULT OnNavReturn(HXUIOBJ hObj,BOOL& rfHandled);
public:
XUI_IMPLEMENT_CLASS( CScene_NewUpdateMessage, L"CScene_NewUpdateMessage", XUI_CLASS_SCENE )
private:
int m_iPad;
bool m_bIsSD;
};