资源文件

========

wid
This commit is contained in:
Mr.Wid 2013-04-04 14:14:26 +08:00
parent 716288f45e
commit 997fe7d7e0
2 changed files with 137 additions and 0 deletions

22
resource.h Normal file
View File

@ -0,0 +1,22 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by resources.rc
//
#define IDI_ICON_GAME 101
#define IDD_HELP_FORM 101
#define IDR_GAME_START 102
#define IDR_EATING 103
#define IDR_READY 104
#define IDR_GO 105
#define IDC_BTN_OK 1000
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 106
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

115
resources.rc Normal file
View File

@ -0,0 +1,115 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Chinese (Öйú) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON_GAME ICON DISCARDABLE "icon_game.ico"
/////////////////////////////////////////////////////////////////////////////
//
// WAVE
//
IDR_GAME_START WAVE DISCARDABLE "sounds\\start.wav"
IDR_EATING WAVE DISCARDABLE "sounds\\eating.wav"
IDR_READY WAVE DISCARDABLE "sounds\\ready.wav"
IDR_GO WAVE DISCARDABLE "sounds\\go.wav"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_HELP_FORM DIALOG DISCARDABLE 0, 0, 212, 127
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP
FONT 12, "ºÚÌå"
BEGIN
LTEXT "°ïÖú",IDC_STATIC,20,15,40,10
DEFPUSHBUTTON "È·¶¨",IDC_BTN_OK,95,100,35,15,BS_CENTER
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_HELP_FORM, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 205
TOPMARGIN, 7
BOTTOMMARGIN, 120
END
END
#endif // APSTUDIO_INVOKED
#endif // Chinese (Öйú) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED