This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresource.rc
107 lines (89 loc) · 2.76 KB
/
resource.rc
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#include <windows.h>
#include "./include/resource.h"
#pragma code_page(65001)
/////////////////////////////////////////////////////////////////////////////
// 日本語 (日本) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
ID_MENU MENU
BEGIN
POPUP "ファイル(&F)"
BEGIN
MENUITEM "設定(&S)...", IDM_SETTING
MENUITEM SEPARATOR
MENUITEM "終了(&E)", IDM_EXIT
END
POPUP "機能(&U)"
BEGIN
MENUITEM "フォーカスモード(&F)", IDM_FOCUSMODE
MENUITEM "アプリタイマー(&T)", IDM_APPTIMER
MENUITEM SEPARATOR
MENUITEM "常駐(&R)", IDM_RESIDENT
MENUITEM "スタートアップ(&S)", IDM_STARTUP
END
POPUP "ヘルプ(&H)"
BEGIN
MENUITEM "このアプリについて(&A)...", IDM_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDM_FILE "ファイル(&F)"
IDM_USERBILITY "機能(&U)"
IDM_HELP "ヘルプ(&H)"
END
#endif // 日本語 (日本) resources
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
ID_MENU MENU
BEGIN
POPUP "File(&F)"
BEGIN
MENUITEM "Settings(&S)...", IDM_SETTING
MENUITEM SEPARATOR
MENUITEM "Exit(&E)", IDM_EXIT
END
POPUP "Usability(&U)"
BEGIN
MENUITEM "Focus Mode(&F)", IDM_FOCUSMODE
MENUITEM "App Timer(&T)", IDM_APPTIMER
MENUITEM SEPARATOR
MENUITEM "Resident(&R)", IDM_RESIDENT
MENUITEM "Start up(&S)", IDM_STARTUP
END
POPUP "Help(&H)"
BEGIN
MENUITEM "About this App(&A)...", IDM_ABOUT
END
END
STRINGTABLE
BEGIN
IDM_FILE "File(&F)"
IDM_USERBILITY "Uservility(&U)"
IDM_HELP "Help(&H)"
END
#endif
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
APPICON ICON "./resources/appicon.ico"
IDD_ABOUT DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "このアプリについて"
FONT 18, "MS Pゴシック"
BEGIN
ICON APPICON,IDC_STATIC,20,20,20,20
LTEXT "YYScreenTime_win ver.α0.3",IDC_STATIC,50,14,114,8,SS_NOPREFIX
LTEXT "Copyright (C) yy-tromb 2023",IDC_STATIC,50,26,114,8
DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP
END