diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-08-27 13:06:20 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-08-27 13:06:20 +0200 |
commit | d8e855aa5c355454729dfe3be12c97b951c8c66c (patch) | |
tree | eea67bdd9421ce02405b58808c9e492ef8635ce3 /docview | |
parent | 41336db4593f4ef94e6eec6c7a78f278f1125f87 (diff) | |
download | fpGUI-d8e855aa5c355454729dfe3be12c97b951c8c66c.tar.xz |
docview: add application icon and version info - under Windows.
Diffstat (limited to 'docview')
-rw-r--r-- | docview/images/docview-48x48.ico | bin | 0 -> 9662 bytes | |||
-rw-r--r-- | docview/src/docview.lpi | 6 | ||||
-rw-r--r-- | docview/src/docview.lpr | 3 | ||||
-rw-r--r-- | docview/src/docview.rc | 29 |
4 files changed, 37 insertions, 1 deletions
diff --git a/docview/images/docview-48x48.ico b/docview/images/docview-48x48.ico Binary files differnew file mode 100644 index 00000000..653d64f9 --- /dev/null +++ b/docview/images/docview-48x48.ico 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 @@ <PackageName Value="fpgui_toolkit"/> </Item1> </RequiredPackages> - <Units Count="31"> + <Units Count="32"> <Unit0> <Filename Value="docview.lpr"/> <IsPartOfProject Value="True"/> @@ -180,6 +180,10 @@ <IsPartOfProject Value="True"/> <UnitName Value="frm_text"/> </Unit30> + <Unit31> + <Filename Value="docview.rc"/> + <IsPartOfProject Value="True"/> + </Unit31> </Units> </ProjectOptions> <CompilerOptions> 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 @@ uses 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
+ }
+}
+
|