#include <windows.h>
#include "resource.h"

CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "application.manifest"

IDR_MENU MENU
BEGIN
	POPUP "&File"
	BEGIN
		MENUITEM "&Refresh", ID_FILE_REFRESH
		MENUITEM "E&xit", ID_FILE_EXIT
	END
	POPUP "&Help"
	BEGIN
		MENUITEM "&About", ID_FILE_ABOUT
	END
END

IDR_POPUPMENU MENU DISCARDABLE
BEGIN
	POPUP "Episode Menu"
	BEGIN
		MENUITEM "&Watch", ID_WATCH
		MENUITEM "&Toggle", ID_TOGGLE
		MENUITEM "&Forget", ID_FORGET
		MENUITEM "&Lookup", ID_LOOKUP
	END
END

#define VPAD	7
#define HPAD	9
#define ABOUTW	190
#define ABOUTH	40
#define OKW	48
#define OKH	16

IDD_ABOUT DIALOGEX DISCARDABLE 20, 20, ABOUTW, ABOUTH
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "MS Shell Dlg 2"
BEGIN
	DEFPUSHBUTTON	"&OK", IDOK, ABOUTW-OKW-HPAD, ABOUTH-OKH-VPAD, OKW, OKH
	LTEXT		TEXT("Episode Browser\r\nCopyright 2021 John Ankarstr�m"),
			IDC_ABOUTTEXT, HPAD, VPAD, ABOUTW-OKW-HPAD*2, ABOUTH-VPAD
END