/*
    GAUGEDEM.RSS

English resource file for GAUGEDEM demonstration app

*/

#include <hwim.rh>
#include <hwim.rg>
#include <gaugedem.rg>

RESOURCE WSERV_INFO hello_accs
    {
    menbar_id=gauge3_menbar;
    first_com=O_COM_EXIT;
    accel={'x',  /* Exit */
           'r'   /* Run */
          };
    }

RESOURCE MENU_BAR gauge3_menbar
    {
    items=
        {
        MENU_BAR_ITEM
            {
            menu_id=gauge_menu;
            mb_item="Gauge";
            },
        MENU_BAR_ITEM
            {
            menu_id=special_menu;
            mb_item="Special";
            }
        };
    }

RESOURCE MENU gauge_menu
    {
    items =
        {
        MENU_ITEM
            {
            com_id=O_COM_RUN;
            mn_item="Run";
            }
        };
    }

RESOURCE MENU special_menu
    {
    items =
        {
        MENU_ITEM
            {
            com_id=O_COM_EXIT;
            mn_item="Exit";
            }
        };
    }

RESOURCE STRING title_res {str="Welcome to GAUGEDEM";}

RESOURCE ACLIST_ARRAY escape_ac
    {
    button=
        {
        PUSH_BUT
            {
            keycode=W_KEY_ESCAPE;
            str="Cancel";
            }
        };
    }

RESOURCE DIALOG gauge_dl_res
    {
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            class=C_TEXTWIN;
            flags=DLGBOX_ITEM_CENTRE|DLGBOX_ITEM_DEAD;
            info=TXTMESS
                {
                flags=IN_TEXTWIN_AL_CENTRE;
                str="Loading data";
                };
            },
        CONTROL
            {
            class=C_DONEWN;
            },
        CONTROL
            {
            class=C_ACLIST;
            info=ACLIST
                {
                rid=escape_ac;
                };
            }
        };
    }


