[xiph-cvs] cvs commit: win32-tools/oggdrop fish.ico Script.rc main.c oggdrop.dsp resource.h
Jack Moffitt
jack at xiph.org
Fri Nov 17 19:30:21 PST 2000
jack 00/11/17 19:30:20
Modified: oggdrop Script.rc main.c oggdrop.dsp resource.h
Added: oggdrop fish.ico
Log:
now we have a cute little icon.
jack.
Revision Changes Path
1.2 +9 -0 win32-tools/oggdrop/Script.rc
Index: Script.rc
===================================================================
RCS file: /usr/local/cvsroot/win32-tools/oggdrop/Script.rc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Script.rc 2000/11/07 09:01:40 1.1
+++ Script.rc 2000/11/18 03:30:20 1.2
@@ -89,6 +89,15 @@
MENUITEM SEPARATOR
END
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_ICON1 ICON DISCARDABLE "fish.ico"
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
1.2 +1 -1 win32-tools/oggdrop/main.c
Index: main.c
===================================================================
RCS file: /usr/local/cvsroot/win32-tools/oggdrop/main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- main.c 2000/11/07 09:01:39 1.1
+++ main.c 2000/11/18 03:30:20 1.2
@@ -38,7 +38,7 @@
wndclass.cbClsExtra = 0;
wndclass.cbWndExtra = 0;
wndclass.hInstance = hInstance;
- wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
+ wndclass.hIcon = LoadIcon(hinst, MAKEINTRESOURCE(IDI_ICON1));
wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);
wndclass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
wndclass.lpszMenuName = NULL;
1.2 +4 -0 win32-tools/oggdrop/oggdrop.dsp
Index: oggdrop.dsp
===================================================================
RCS file: /usr/local/cvsroot/win32-tools/oggdrop/oggdrop.dsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- oggdrop.dsp 2000/11/07 09:01:39 1.1
+++ oggdrop.dsp 2000/11/18 03:30:20 1.2
@@ -134,6 +134,10 @@
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# Begin Source File
+SOURCE=.\fish.ico
+# End Source File
+# Begin Source File
+
SOURCE=.\Script.rc
# End Source File
# End Group
1.2 +2 -1 win32-tools/oggdrop/resource.h
Index: resource.h
===================================================================
RCS file: /usr/local/cvsroot/win32-tools/oggdrop/resource.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- resource.h 2000/11/07 09:01:39 1.1
+++ resource.h 2000/11/18 03:30:20 1.2
@@ -15,6 +15,7 @@
#define IDB_TF11 122
#define IDB_TF01 123
#define IDR_MENU1 124
+#define IDI_ICON1 130
#define IDM_QUIT 40005
#define IDM_BITRATE128 40006
#define IDM_BITRATE256 40007
@@ -28,7 +29,7 @@
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 1
-#define _APS_NEXT_RESOURCE_VALUE 126
+#define _APS_NEXT_RESOURCE_VALUE 132
#define _APS_NEXT_COMMAND_VALUE 40012
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
1.1 win32-tools/oggdrop/fish.ico
Index: fish.ico
===================================================================
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list