added bitmaps and icons

svn path=/trunk/boinc/; revision=477
This commit is contained in:
Seth Cooper 2002-10-06 01:13:50 +00:00
parent 15f07119c4
commit b656446afb
3 changed files with 31 additions and 9 deletions

Binary file not shown.

View File

@ -9,6 +9,8 @@
#define IDD_ABOUTBOX 108 #define IDD_ABOUTBOX 108
#define IDB_LOGOSM 110 #define IDB_LOGOSM 110
#define IDR_POPUP 111 #define IDR_POPUP 111
#define IDI_ICON 114
#define IDI_ICONSM 115
#define IDC_LOGIN_URL 1000 #define IDC_LOGIN_URL 1000
#define IDC_LOGIN_AUTH 1002 #define IDC_LOGIN_AUTH 1002
#define ID_ACCT_LOGIN 40001 #define ID_ACCT_LOGIN 40001
@ -22,7 +24,7 @@
// //
#ifdef APSTUDIO_INVOKED #ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS #ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 112 #define _APS_NEXT_RESOURCE_VALUE 115
#define _APS_NEXT_COMMAND_VALUE 40014 #define _APS_NEXT_COMMAND_VALUE 40014
#define _APS_NEXT_CONTROL_VALUE 1005 #define _APS_NEXT_CONTROL_VALUE 1005
#define _APS_NEXT_SYMED_VALUE 101 #define _APS_NEXT_SYMED_VALUE 101

View File

@ -52,15 +52,17 @@ END
// Dialog // Dialog
// //
IDD_LOGIN DIALOG DISCARDABLE 0, 0, 186, 90 IDD_LOGIN DIALOG DISCARDABLE 0, 0, 231, 70
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Login" CAPTION "Login"
FONT 8, "MS Sans Serif" FONT 8, "MS Sans Serif"
BEGIN BEGIN
DEFPUSHBUTTON "OK",IDOK,129,7,50,14 DEFPUSHBUTTON "OK",IDOK,174,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14 PUSHBUTTON "Cancel",IDCANCEL,174,24,50,14
EDITTEXT IDC_LOGIN_URL,31,18,40,14,ES_AUTOHSCROLL EDITTEXT IDC_LOGIN_URL,66,7,96,14,ES_AUTOHSCROLL
EDITTEXT IDC_LOGIN_AUTH,34,50,40,14,ES_AUTOHSCROLL EDITTEXT IDC_LOGIN_AUTH,65,32,98,14,ES_AUTOHSCROLL
LTEXT "URL:",IDC_STATIC,7,7,18,8
LTEXT "Authentication:",IDC_STATIC,7,32,48,8
END END
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 230, 65 IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 230, 65
@ -70,7 +72,7 @@ FONT 8, "MS Sans Serif"
BEGIN BEGIN
DEFPUSHBUTTON "OK",IDOK,173,7,50,14 DEFPUSHBUTTON "OK",IDOK,173,7,50,14
LTEXT "Info about BOINC goes here.",IDC_STATIC,56,17,96,31 LTEXT "Info about BOINC goes here.",IDC_STATIC,56,17,96,31
CONTROL 110,IDC_STATIC,"Static",SS_BITMAP,17,16,33,31 CONTROL 110,IDC_STATIC,"Static",SS_BITMAP,13,17,33,31
END END
@ -85,9 +87,9 @@ BEGIN
IDD_LOGIN, DIALOG IDD_LOGIN, DIALOG
BEGIN BEGIN
LEFTMARGIN, 7 LEFTMARGIN, 7
RIGHTMARGIN, 179 RIGHTMARGIN, 224
TOPMARGIN, 7 TOPMARGIN, 7
BOTTOMMARGIN, 83 BOTTOMMARGIN, 63
END END
IDD_ABOUTBOX, DIALOG IDD_ABOUTBOX, DIALOG
@ -145,6 +147,24 @@ BEGIN
END END
END END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_LOGO BITMAP DISCARDABLE "res\\boinc.bmp"
IDB_LOGOSM BITMAP DISCARDABLE "res\\boincsm.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON ICON DISCARDABLE "res\\icon.ico"
IDI_ICONSM ICON DISCARDABLE "res\\iconsm.ico"
#endif // English (U.S.) resources #endif // English (U.S.) resources
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////