MCPcopy Create free account
hub / github.com/demoth/jake2 / MenuDraw

Method MenuDraw

client/src/main/java/jake2/client/VID.java:672–692  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

670 ================
671 */
672 static void MenuDraw()
673 {
674 s_current_menu = s_opengl_menu;
675
676 /*
677 ** draw the banner
678 */
679 Dimension dim = new Dimension();
680 ClientGlobals.re.DrawGetPicSize( dim, "m_banner_video" );
681 ClientGlobals.re.DrawPic( ClientGlobals.viddef.getWidth() / 2 - dim.width / 2, ClientGlobals.viddef.getHeight() /2 - 110, "m_banner_video" );
682
683 /*
684 ** move cursor to a reasonable starting position
685 */
686 Menu.Menu_AdjustCursor( s_current_menu, 1 );
687
688 /*
689 ** draw the menu
690 */
691 Menu.Menu_Draw( s_current_menu );
692 }
693
694 /*
695 ================

Callers 1

Menu_Video_fMethod · 0.95

Calls 6

Menu_AdjustCursorMethod · 0.95
Menu_DrawMethod · 0.95
getWidthMethod · 0.80
getHeightMethod · 0.80
DrawGetPicSizeMethod · 0.65
DrawPicMethod · 0.65

Tested by

no test coverage detected