From d8e855aa5c355454729dfe3be12c97b951c8c66c Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 27 Aug 2010 13:06:20 +0200 Subject: docview: add application icon and version info - under Windows. --- docview/images/docview-48x48.ico | Bin 0 -> 9662 bytes docview/src/docview.lpi | 6 +++++- docview/src/docview.lpr | 3 +++ docview/src/docview.rc | 29 +++++++++++++++++++++++++++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 docview/images/docview-48x48.ico create mode 100644 docview/src/docview.rc (limited to 'docview') diff --git a/docview/images/docview-48x48.ico b/docview/images/docview-48x48.ico new file mode 100644 index 00000000..653d64f9 Binary files /dev/null and b/docview/images/docview-48x48.ico differ diff --git a/docview/src/docview.lpi b/docview/src/docview.lpi index e20633f2..5e71947c 100644 --- a/docview/src/docview.lpi +++ b/docview/src/docview.lpi @@ -28,7 +28,7 @@ - + @@ -180,6 +180,10 @@ + + + + diff --git a/docview/src/docview.lpr b/docview/src/docview.lpr index 8698965d..e193401f 100644 --- a/docview/src/docview.lpr +++ b/docview/src/docview.lpr @@ -14,6 +14,9 @@ ACLStringUtility, RichTextDocumentUnit, RichTextView, RichTextLayoutUnit, RichTextDisplayUnit, dvconstants, dvHelpers, frm_configuration, HelpBitmap, frm_text; +{$IFDEF WINDOWS} + {$R docview.rc} +{$ENDIF} procedure MainProc; var diff --git a/docview/src/docview.rc b/docview/src/docview.rc new file mode 100644 index 00000000..ab1ccf16 --- /dev/null +++ b/docview/src/docview.rc @@ -0,0 +1,29 @@ +MAINICON ICON "../images/docview-48x48.ico" + +1 VERSIONINFO +FILEVERSION 0, 7, 137, 0 +PRODUCTVERSION 0, 7, 137, 0 +FILEFLAGSMASK 0 +FILEOS 0x40000 +FILETYPE 1 +{ + BLOCK "StringFileInfo" + { + BLOCK "040904E4" + { + VALUE "CompanyName", "fpGUI Toolkit" + VALUE "FileDescription", "fpGUI's INF Documentation Viewer" + VALUE "FileVersion", "0.7.137" + VALUE "InternalName", "docview" + VALUE "LegalCopyright", "GNU Public License" + VALUE "OriginalFilename", "docview" + VALUE "ProductName", "fpGUI Toolkit" + VALUE "ProductVersion", "0.7.0" + } + } + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x409, 0x4E4 + } +} + -- cgit v1.2.3-54-g00ecf