Files
sibo-playground/code/SIBOSDK/hwifood/gbar.rss
T

61 lines
1.3 KiB
XML
Raw Normal View History

2026-07-06 18:01:36 +01:00
#include <hwim.rg>
#include <hwim.rh>
#include <s_.h>
RESOURCE DIALOG dl_data
{
title="Specify grow-bar data";
flags=DLGBOX_NOTIFY_ENTER;
controls=
{
CONTROL
{
class=C_NCEDIT;
prompt="Total number of loops";
info=NCEDIT
{
high=100;
low=1;
};
},
CONTROL
{
class=C_NCEDIT;
prompt="Update display every";
info=NCEDIT
{
high=100;
low=1;
};
},
CONTROL
{
class=C_CHLIST;
prompt="Allow escape";
info=CHLIST { rid=-SYS_NO_YES; };
}
};
}
RESOURCE CONTROL item_abandon
{
class=C_ACLIST;
info=ACLIST { rid=-SYS_AC_ABANDON; };
}
RESOURCE DIALOG dl_gbar
{
title="Example grow bar";
flags=DLGBOX_NOTIFY_ESCAPE|DLGBOX_NOTIFY_ENTER;
controls=
{
CONTROL
{
class=C_DONEWN;
}
};
}
RESOURCE STRING str_cancelled { str="Cancelled by user"; }
RESOURCE STRING str_finished { str="Looping finished"; }