From 011d229cc5da218c280d1cd8af998bfaad04e0bd Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 6 Nov 2009 20:38:08 +0100 Subject: Adding various resources and manifest files to enable XP look when using UI under mingw32. --- src/lua-interface.rc | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/lua-interface.rc (limited to 'src/lua-interface.rc') diff --git a/src/lua-interface.rc b/src/lua-interface.rc new file mode 100644 index 0000000..5a8c1a3 --- /dev/null +++ b/src/lua-interface.rc @@ -0,0 +1,44 @@ +LUA_ICON ICON "lua.ico" + +1 VERSIONINFO + FILEVERSION 0,7,0,0 + PRODUCTVERSION 0,7,0,0 +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "http://www.nobis-crew.org/lua-interface\0" + VALUE "CompanyName", "Nobis\0" + VALUE "FileDescription", "lua-interface\0" + VALUE "FileVersion", "0.7.0\0" + VALUE "LegalCopyright", "Copyright © 2003-2009 Nicolas ""Pixel"" Noble\0" + VALUE "OriginalFilename", "lua-interface.dll\0" + VALUE "ProductName", "lua-interface\0" + VALUE "ProductVersion", "0.7.0\0" + END + END +END + +CURSOR_PEN CURSOR "pen.cur" + +/* To avoid the inclusion of */ +#define WS_CHILD 0x40000000L +#define WS_VISIBLE 0x10000000L +#define WS_CLIPSIBLINGS 0x04000000L +#define DS_3DLOOK 0x0004L +#define DS_CONTROL 0x0400L +#define SS_OWNERDRAW 0x0000000DL +#define WS_EX_STATICEDGE 0x00020000L + +#define IUP_PREVIEWCANVAS 3000 + +iupPreviewDlg DIALOG DISCARDABLE 0, 0, 250, 95 +STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | DS_3DLOOK | DS_CONTROL +FONT 8, "MS Shell Dlg" +BEGIN + CONTROL "", IUP_PREVIEWCANVAS, "STATIC", SS_OWNERDRAW, 70, 0, 120, 90, WS_EX_STATICEDGE +END + +/* The following line will enable Windows XP Visual Styles */ +1 24 "lua-interface.manifest" -- cgit v1.2.3