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

Method Quit_Draw

client/src/main/java/jake2/client/Menu.java:4073–4080  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4071 }
4072
4073 private static void Quit_Draw() {
4074 int w, h;
4075 Dimension d = new Dimension();
4076 ClientGlobals.re.DrawGetPicSize(d, "quit");
4077 w = d.width;
4078 h = d.height;
4079 ClientGlobals.re.DrawPic((ClientGlobals.viddef.getWidth() - w) / 2, (ClientGlobals.viddef.getHeight() - h) / 2, "quit");
4080 }
4081
4082 private static void Menu_Quit_f() {
4083 PushMenu((List<String> args) -> Quit_Draw(), new keyfunc_t() {

Callers 1

Menu_Quit_fMethod · 0.95

Calls 4

getWidthMethod · 0.80
getHeightMethod · 0.80
DrawGetPicSizeMethod · 0.65
DrawPicMethod · 0.65

Tested by

no test coverage detected