| 31 | } |
| 32 | |
| 33 | void 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 | |
| 61 | void menu::PlayerSimple::OnProgressBarStateChange(int32_t type) |
| 62 | { |
no outgoing calls
no test coverage detected