aboutsummaryrefslogtreecommitdiff
path: root/c/resource.rc
blob: f25bb63087f3f5da1e5a2177dd3b7201edcbf4c7 (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
70
71
#include <windows.h>
#include "resource.h"

CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "application.manifest"

IDR_MENU MENU
BEGIN
	POPUP "&File"
	BEGIN
		POPUP "&Fetch"
		BEGIN
			MENUITEM "&General Data", IDM_FILE_FETCH_DATA
			MENUITEM "&Screenwriters", IDM_FILE_FETCH_SCREENWRITERS
			MENUITEM "&Cancel", IDM_FILE_FETCH_CANCEL, GRAYED
		END
		MENUITEM "&Refresh", IDM_FILE_REFRESH
		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 Locally", IDM_WATCH_LOCALLY
		MENUITEM "Watch &Online", IDM_WATCH_ONLINE
		MENUITEM "&Toggle", IDM_TOGGLE
		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		"Episode Browser\r\nCopyright 2021 John Ankarström",
IDC_ABOUTTEXT, HPAD, VPAD, ABOUTW-OKW-HPAD-HPAD, ABOUTH-VPAD
END