mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
UI: Track translate/scale/fade transform by screen.
This translates drawing, scissor, and touch to the transform.
This commit is contained in:
1 parent
92b0f00cd8
commit
a36ecb7065
11 files changed
+136
-29
No files matched your search
+5
-2
@@ -772,8 +772,8 @@ void NativeRender(GraphicsContext *graphicsContext) {
|
||||
ortho = ortho * g_display_rot_matrix;
|
||||
}
|
||||
|
||||
ui_draw2d.SetDrawMatrix(ortho);
|
||||
ui_draw2d_front.SetDrawMatrix(ortho);
|
||||
ui_draw2d.PushDrawMatrix(ortho);
|
||||
ui_draw2d_front.PushDrawMatrix(ortho);
|
||||
|
||||
screenManager->render();
|
||||
if (screenManager->getUIContext()->Text()) {
|
||||
@@ -820,6 +820,9 @@ void NativeRender(GraphicsContext *graphicsContext) {
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
ui_draw2d.PopDrawMatrix();
|
||||
ui_draw2d_front.PopDrawMatrix();
|
||||
}
|
||||
|
||||
void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
|
||||
Reference in new issue
Block a user