mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
Added default values for BaseStatusBar.AttachMessage() arguments
This commit is contained in:
parent
4f1f989049
commit
e51a1867df
2 changed files with 3 additions and 3 deletions
|
@ -701,8 +701,8 @@ DEFINE_ACTION_FUNCTION(DBaseStatusBar, AttachMessage)
|
||||||
{
|
{
|
||||||
PARAM_SELF_PROLOGUE(DBaseStatusBar);
|
PARAM_SELF_PROLOGUE(DBaseStatusBar);
|
||||||
PARAM_OBJECT(msg, DHUDMessageBase);
|
PARAM_OBJECT(msg, DHUDMessageBase);
|
||||||
PARAM_UINT(id);
|
PARAM_UINT_DEF(id);
|
||||||
PARAM_INT(layer);
|
PARAM_INT_DEF(layer);
|
||||||
self->AttachMessage(msg, id, layer);
|
self->AttachMessage(msg, id, layer);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -307,7 +307,7 @@ class BaseStatusBar native ui
|
||||||
|
|
||||||
private HUDFont mSmallFont;
|
private HUDFont mSmallFont;
|
||||||
|
|
||||||
native void AttachMessage(HUDMessageBase msg);
|
native void AttachMessage(HUDMessageBase msg, uint msgid = 0, int layer = HUDMSGLayer_Default);
|
||||||
native HUDMessageBase DetachMessage(HUDMessageBase msg);
|
native HUDMessageBase DetachMessage(HUDMessageBase msg);
|
||||||
native HUDMessageBase DetachMessageID(uint msgid);
|
native HUDMessageBase DetachMessageID(uint msgid);
|
||||||
native void DetachAllMessages();
|
native void DetachAllMessages();
|
||||||
|
|
Loading…
Reference in a new issue