summaryrefslogtreecommitdiff
path: root/iup/etc
diff options
context:
space:
mode:
Diffstat (limited to 'iup/etc')
-rwxr-xr-xiup/etc/iup.rc30
1 files changed, 23 insertions, 7 deletions
diff --git a/iup/etc/iup.rc b/iup/etc/iup.rc
index 49c324d..785e7ad 100755
--- a/iup/etc/iup.rc
+++ b/iup/etc/iup.rc
@@ -1,8 +1,12 @@
-TECGRAF_ICON ICON "tecgraf.ico"
+TECGRAF_ICON ICON "tecgraf.ico" /* the first icon will also defines the executable icon in Explorer */
+CURSOR_PEN CURSOR "pen.cur"
+
+/****************************************************/
+/* Applications can change or remove this */
1 VERSIONINFO
- FILEVERSION 3,0,0,0
- PRODUCTVERSION 3,0,0,0
+ FILEVERSION 3,1,0,0
+ PRODUCTVERSION 3,1,0,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
@@ -11,16 +15,17 @@ BEGIN
VALUE "Comments", "www.tecgraf.puc-rio.br/iup\0"
VALUE "CompanyName", "Tecgraf/PUC-Rio\0"
VALUE "FileDescription", "IUP - Portable User Interface\0"
- VALUE "FileVersion", "3.0.0\0"
+ VALUE "FileVersion", "3.1.0\0"
VALUE "LegalCopyright", "Copyright © 1994-2010 Tecgraf, PUC-Rio.\0"
VALUE "OriginalFilename", "iup.dll\0"
VALUE "ProductName", "IUP for Windows\0"
- VALUE "ProductVersion", "3.0.0\0"
+ VALUE "ProductVersion", "3.1.0\0"
END
END
END
-CURSOR_PEN CURSOR "pen.cur"
+/****************************************************/
+/* Used by IupFileDlg when SHOWPREVIEW=Yes */
/* To avoid the inclusion of <winuser.h> */
#define WS_CHILD 0x40000000L
@@ -40,5 +45,16 @@ BEGIN
CONTROL "", IUP_PREVIEWCANVAS, "STATIC", SS_OWNERDRAW, 70, 0, 120, 90, WS_EX_STATICEDGE
END
-/* The following line will enable Windows XP Visual Styles */
+/****************************************************/
+/* The following lines will enable Windows XP/Vista Visual Styles */
+
+/* don't add this if building the DLL */
+#ifndef IUP_DLL
+#ifdef TEC_64
+1 24 "iup64.manifest"
+#else
1 24 "iup.manifest"
+#endif
+#endif
+
+/****************************************************/