#include <windows.h>
#include "banner.h"
#include "wre_rc.h"
#include "wremsgs.gh"

#undef pick
#undef sp
#define pick( a, b ) a, [ b ]
#define sp( a, b ) a

STRINGTABLE
BEGIN
    #include "wre.msg"
END

#include "wre.men"

WREAccelTable ACCELERATORS
BEGIN
    VK_DELETE,    IDM_DELETE,       VIRTKEY
    VK_F1,        IDM_HELP,         VIRTKEY
    VK_RETURN,    IDM_RES_EDIT,     VIRTKEY
    "X",          IDM_CUT,          CONTROL, VIRTKEY
    "C",          IDM_COPY,         CONTROL, VIRTKEY
    "V",          IDM_PASTE,        CONTROL, VIRTKEY
    "N",          IDM_NEW,          CONTROL, VIRTKEY
    "O",          IDM_OPEN,         CONTROL, VIRTKEY
    "S",          IDM_SAVE,         CONTROL, VIRTKEY
END

/* icons */
WREIcon      ICON wre.ico
ResIcon      ICON restext.ico

/* private clipboard format bitmap */
PrivateFmt   BITMAP clip.bmp

/* aboutbox bitmap */
AboutLogo    BITMAP logo4.bmp

/* ribbon bitmaps */
New          BITMAP new.bmp
Open         BITMAP open.bmp
Save         BITMAP save.bmp

Cut          BITMAP cut.bmp
Copy         BITMAP copy.bmp
Paste        BITMAP paste.bmp

/* resource type toolbar bitmaps */
AccelU       BITMAP accel.bmp
AccelD       BITMAP acceld.bmp
BitmapU      BITMAP bmp.bmp
BitmapD      BITMAP bmpd.bmp
CursorU      BITMAP cur.bmp
CursorD      BITMAP curd.bmp
DialogU      BITMAP dlg.bmp
DialogD      BITMAP dlgd.bmp
FontU        BITMAP font.bmp
FontD        BITMAP fontd.bmp
IconU        BITMAP icon.bmp
IconD        BITMAP icond.bmp
MenuU        BITMAP menu.bmp
MenuD        BITMAP menud.bmp
StringU      BITMAP str.bmp
StringD      BITMAP strd.bmp
UPUser       BITMAP user.bmp
UserD        BITMAP userd.bmp

#ifdef __NT__
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE "appmanif.xml"
#endif

#include "about.dlg"
#include "del.dlg"
#include "paste.dlg"
#include "renam.dlg"
#include "res.dlg"

