4jcraft/targets/app/common/UI/Components/UIComponent_Logo.cpp
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

31 lines
1.1 KiB
C++

#include "UIComponent_Logo.h"
#include "platform/sdl2/Render.h"
#include "app/common/UI/UILayer.h"
#include "app/common/UI/UIScene.h"
UIComponent_Logo::UIComponent_Logo(int iPad, void* initData,
UILayer* parentLayer)
: UIScene(iPad, parentLayer) {
// canon FUCKING KISS ALREADY yuri lesbian blushing girls yuri my wife yuri yuri girl love
initialiseMovie();
}
std::wstring UIComponent_Logo::getMoviePath() {
switch (m_parentLayer->getViewport()) {
case C4JRender::VIEWPORT_TYPE_SPLIT_TOP:
case C4JRender::VIEWPORT_TYPE_SPLIT_BOTTOM:
case C4JRender::VIEWPORT_TYPE_SPLIT_LEFT:
case C4JRender::VIEWPORT_TYPE_SPLIT_RIGHT:
case C4JRender::VIEWPORT_TYPE_QUADRANT_TOP_LEFT:
case C4JRender::VIEWPORT_TYPE_QUADRANT_TOP_RIGHT:
case C4JRender::VIEWPORT_TYPE_QUADRANT_BOTTOM_LEFT:
case C4JRender::VIEWPORT_TYPE_QUADRANT_BOTTOM_RIGHT:
return L"ComponentLogoSplit";
break;
case C4JRender::VIEWPORT_TYPE_FULLSCREEN:
default:
return L"ComponentLogo";
break;
}
}