aboutsummaryrefslogtreecommitdiff
path: root/c/resource.rc
blob: c6e1246e2c1f140f327e9a876766a72d926f5c3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#include <windows.h>
#include "resource.h"

CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "application.manifest"

IDR_MENU MENU
BEGIN
	POPUP "&File"
	BEGIN
		MENUITEM "&Fetch", IDM_FILE_FETCH
		MENUITEM "Fetch Screen&writers", IDM_FILE_SCREENWRITERS
		MENUITEM "&Refresh", IDM_FILE_REFRESH
		MENUITEM "Re&set", IDM_FILE_RESET
		MENUITEM "E&xit", IDM_FILE_EXIT
	END
	POPUP "&View"
	BEGIN
		MENUITEM "&Watched", IDM_VIEW_WATCHED, CHECKED
		MENUITEM "&TV Originals", IDM_VIEW_TV_ORIGINAL, CHECKED
		MENUITEM "Other &Screenwriters", IDM_VIEW_OTHERS, CHECKED
	END
	POPUP "&Help"
	BEGIN
		MENUITEM "&About", IDM_FILE_ABOUT
	END
END

IDR_POPUPMENU MENU DISCARDABLE
BEGIN
	POPUP "Episode Menu"
	BEGIN
		MENUITEM "&Watch", IDM_WATCH
		MENUITEM "&Toggle", IDM_TOGGLE
		MENUITEM "&Forget", IDM_FORGET
		MENUITEM "&Lookup", IDM_LOOKUP
		MENUITEM "Wi&ki", IDM_WIKI
		POPUP "&Rate"
		BEGIN
			MENUITEM "&10", IDM_RATE10
			MENUITEM "&9", IDM_RATE9
			MENUITEM "&8", IDM_RATE8
			MENUITEM "&7", IDM_RATE7
			MENUITEM "&6", IDM_RATE6
			MENUITEM "&5", IDM_RATE5
			MENUITEM "&4", IDM_RATE4
			MENUITEM "&3", IDM_RATE3
			MENUITEM "&2", IDM_RATE2
			MENUITEM "&1", IDM_RATE1
			MENUITEM "&-", IDM_RATE0
		END
	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