mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-05-08 10:00:40 +00:00
Exported RefreshBackground
This commit is contained in:
parent
a4cc434148
commit
740bb4f1fc
2 changed files with 13 additions and 0 deletions
|
@ -984,6 +984,18 @@ void DBaseStatusBar::RefreshBackground () const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void RefreshBackground(DBaseStatusBar* self)
|
||||||
|
{
|
||||||
|
self->RefreshBackground();
|
||||||
|
}
|
||||||
|
|
||||||
|
DEFINE_ACTION_FUNCTION_NATIVE(DBaseStatusBar, RefreshBackground, RefreshBackground)
|
||||||
|
{
|
||||||
|
PARAM_SELF_PROLOGUE(DBaseStatusBar);
|
||||||
|
self->RefreshBackground();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// DrawCrosshair
|
// DrawCrosshair
|
||||||
|
|
|
@ -238,6 +238,7 @@ class BaseStatusBar : StatusBarCore native
|
||||||
// [MK] let the HUD handle drawing the pause graphics
|
// [MK] let the HUD handle drawing the pause graphics
|
||||||
virtual bool DrawPaused(int player) { return false; }
|
virtual bool DrawPaused(int player) { return false; }
|
||||||
|
|
||||||
|
protected native void RefreshBackground();
|
||||||
protected native void DrawCrosshair(double TicFrac);
|
protected native void DrawCrosshair(double TicFrac);
|
||||||
native TextureID GetMugshot(int accuracy, int stateflags=MugShot.STANDARD, String default_face = "STF");
|
native TextureID GetMugshot(int accuracy, int stateflags=MugShot.STANDARD, String default_face = "STF");
|
||||||
native int GetTopOfStatusBar();
|
native int GetTopOfStatusBar();
|
||||||
|
|
Loading…
Reference in a new issue