static VPANEL game_panel;
static VPANEL menu_panel;
if ( !game_panel && !strcmp( ecx->GetName( vpanel ), "RenderSystemTopPanel" ) && global::g_iGameMode != EGameMode::INVALID ) {
game_panel = vpanel;
}
if ( !menu_panel && !strcmp( ecx->GetName( vpanel ), "staticPanel" ) ) {
menu_panel = vpanel;
}
if ( menu_panel ) {
surface->PushMakeCurrent( menu_panel, true );
surface->DrawSetColor( 0, 255, 0, 255 );
surface->DrawLine( 0, 1080 / 1.7, 1920, 1080 / 1.7 );
surface->PopMakeCurrent( menu_panel );
}
if ( game_panel ) {
surface->PushMakeCurrent( game_panel, false );
surface->DrawSetColor( 255, 255, 0, 255 );
surface->DrawLine( 0, 1080 / 2, 1920, 1080 / 2 );
surface->PopMakeCurrent( game_panel );
}