99 lines
2.1 KiB
XML
99 lines
2.1 KiB
XML
/* DEMO.RSS */
|
|||
|
|
|
||
|
|
#include <hwim.rh>
|
||
|
|
#include <hwim.rg>
|
||
|
|
#include <demo.rg>
|
||
|
|
|
||
|
|
RESOURCE WSERV_INFO demo_accs
|
||
|
|
{
|
||
|
|
menbar_id=demo_menubar;
|
||
|
|
first_com=O_COM_EXIT;
|
||
|
|
accel={'x',
|
||
|
|
'y','*','p'};
|
||
|
|
}
|
||
|
|
|
||
|
|
RESOURCE MENU_BAR demo_menubar
|
||
|
|
{
|
||
|
|
items =
|
||
|
|
{
|
||
|
|
MENU_BAR_ITEM
|
||
|
|
{
|
||
|
|
menu_id=special_menu;
|
||
|
|
mb_item="Demo";
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
RESOURCE MENU special_menu
|
||
|
|
{
|
||
|
|
items =
|
||
|
|
{
|
||
|
|
MENU_ITEM
|
||
|
|
{
|
||
|
|
com_id=O_DEC_PSETUP;
|
||
|
|
mn_item="Print setup";
|
||
|
|
},
|
||
|
|
MENU_ITEM
|
||
|
|
{
|
||
|
|
com_id=O_DEC_PREVIEW;
|
||
|
|
mn_item="Preview";
|
||
|
|
},
|
||
|
|
MENU_ITEM
|
||
|
|
{
|
||
|
|
com_id=O_DEC_PRINT|BREAK_LINE_FOLLOWS;
|
||
|
|
mn_item="Print";
|
||
|
|
},
|
||
|
|
MENU_ITEM
|
||
|
|
{
|
||
|
|
com_id=O_COM_EXIT;
|
||
|
|
mn_item="Exit";
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
RESOURCE MENU delp_gap_chlist
|
||
|
|
{
|
||
|
|
items =
|
||
|
|
{
|
||
|
|
CHOICE_ITEM { str="No gap";},
|
||
|
|
CHOICE_ITEM { str="Half a line";},
|
||
|
|
CHOICE_ITEM { str="Complete line";}
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
RESOURCE DIALOG delp_dlg
|
||
|
|
{
|
||
|
|
title="Print list of days";
|
||
|
|
flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
|
||
|
|
controls=
|
||
|
|
{
|
||
|
|
CONTROL
|
||
|
|
{
|
||
|
|
class=C_DTEDIT;
|
||
|
|
prompt="Start date";
|
||
|
|
info=DTEDIT { flags=IN_DTEDIT_DDMMYYYY;};
|
||
|
|
},
|
||
|
|
CONTROL
|
||
|
|
{
|
||
|
|
class=C_NCEDIT;
|
||
|
|
prompt="Number of days to print";
|
||
|
|
info=NCEDIT
|
||
|
|
{
|
||
|
|
low=10;
|
||
|
|
current=20;
|
||
|
|
high=200;
|
||
|
|
};
|
||
|
|
},
|
||
|
|
CONTROL
|
||
|
|
{
|
||
|
|
class=C_CHLIST;
|
||
|
|
prompt="Space between months";
|
||
|
|
info=CHLIST { rid=delp_gap_chlist; };
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
RESOURCE STRING delp_paper_narrow { str="Paper size too narrow"; }
|
||
|
|
RESOURCE STRING delp_preview_title { str="Preview list of days"; }
|
||
|
|
RESOURCE STRING deleting_corrupt_file { str="Deleting corrupt file"; }
|