MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / OnVideoPlaneTouch

Method OnVideoPlaneTouch

NetStream/source/menus/menu_player_simple.cpp:33–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void menu::PlayerSimple::OnVideoPlaneTouch()
34{
35 if (m_progressPlaneShown)
36 {
37 if (!m_isLS)
38 {
39 m_progressPlane->Hide(common::transition::Type_SlideFromBottom1);
40 }
41 m_backButton->Hide(common::transition::Type_Reset);
42 sceAppMgrSetInfobarState(SCE_APPMGR_INFOBAR_VISIBILITY_INVISIBLE, SCE_APPMGR_INFOBAR_COLOR_BLACK, SCE_APPMGR_INFOBAR_TRANSPARENCY_TRANSLUCENT);
43 m_progressPlaneShown = false;
44 }
45 else
46 {
47 if (!m_isLS)
48 {
49 m_progressPlane->Show(common::transition::Type_SlideFromBottom1);
50 }
51 if (m_currentScale == 1.0f)
52 {
53 m_backButton->Show(common::transition::Type_Reset);
54 }
55 m_progressPlaneShownTime = sceKernelGetProcessTimeLow();
56 sceAppMgrSetInfobarState(SCE_APPMGR_INFOBAR_VISIBILITY_VISIBLE, SCE_APPMGR_INFOBAR_COLOR_BLACK, SCE_APPMGR_INFOBAR_TRANSPARENCY_TRANSLUCENT);
57 m_progressPlaneShown = true;
58 }
59}
60
61void menu::PlayerSimple::OnProgressBarStateChange(int32_t type)
62{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected