Port 2V0-f window input and UI render command bridge

This commit is contained in:
shen
2026-09-22 20:34:45 -07:00
parent 9c30f06083
commit 5590714b16
22 changed files with 693 additions and 182 deletions
@@ -10,9 +10,10 @@
#include "EterPythonLib/PythonGraphic.h"
#include "../PlatformStub.h"
#include "../EterLib/UIRenderCommands.h"
void CPythonGraphic::SetViewport(float, float, float, float) { MT_PLATFORM_STUB(); }
void CPythonGraphic::RestoreViewport() { MT_PLATFORM_STUB(); }
void CPythonGraphic::SetViewport(float x, float y, float width, float height) { UIRenderSetClip(x, y, width, height); }
void CPythonGraphic::RestoreViewport() { UIRenderRestoreClip(); }
void CPythonGraphic::SetOmniLight() { MT_PLATFORM_STUB(); }
long CPythonGraphic::GenerateColor(float, float, float, float) { MT_PLATFORM_STUB(); return 0; }
void CPythonGraphic::RenderUpButton(float, float, float, float) { MT_PLATFORM_STUB(); }