summaryrefslogtreecommitdiff
path: root/src/corelib/gdi
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-27 21:50:06 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-27 21:50:06 +0000
commit9059c000d334becd0c7b08eb50aa88ce2ca78905 (patch)
tree264853634b8a2aaf8e69d9adb2ca7b798c32ebfa /src/corelib/gdi
parent3664cd44e2aadad9c06d3d1c00469f67f5e087fd (diff)
downloadfpGUI-9059c000d334becd0c7b08eb50aa88ce2ca78905.tar.xz
* Created two new units called: gfx_pofiles.pas and gfx_translations.pas. They are used for reading PO files and translating the resourcestrings.
* TranslateResourceStrings are now called in TfpgApplication.InternalInit(). * Added a new include file for gfx_utils unit. It's a include file for common code across platforms.
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r--src/corelib/gdi/fpgfx_package.lpk10
-rw-r--r--src/corelib/gdi/fpgfx_package.pas2
-rw-r--r--src/corelib/gdi/gfx_utils.pas4
3 files changed, 14 insertions, 2 deletions
diff --git a/src/corelib/gdi/fpgfx_package.lpk b/src/corelib/gdi/fpgfx_package.lpk
index 17591fc7..afac8510 100644
--- a/src/corelib/gdi/fpgfx_package.lpk
+++ b/src/corelib/gdi/fpgfx_package.lpk
@@ -26,7 +26,7 @@
<License Value="Modified LGPL
"/>
<Version Minor="6" Release="1"/>
- <Files Count="16">
+ <Files Count="18">
<Item1>
<Filename Value="..\gfxbase.pas"/>
<UnitName Value="gfxbase"/>
@@ -91,6 +91,14 @@
<Filename Value="..\gfx_constants.pas"/>
<UnitName Value="gfx_constants"/>
</Item16>
+ <Item17>
+ <Filename Value="..\gfx_pofiles.pas"/>
+ <UnitName Value="gfx_pofiles"/>
+ </Item17>
+ <Item18>
+ <Filename Value="..\gfx_translations.pas"/>
+ <UnitName Value="gfx_translations"/>
+ </Item18>
</Files>
<RequiredPkgs Count="1">
<Item1>
diff --git a/src/corelib/gdi/fpgfx_package.pas b/src/corelib/gdi/fpgfx_package.pas
index 12c6944c..0753d2ee 100644
--- a/src/corelib/gdi/fpgfx_package.pas
+++ b/src/corelib/gdi/fpgfx_package.pas
@@ -10,7 +10,7 @@ uses
gfxbase, fpgfx, gfx_gdi, gfx_stdimages, gfx_imgfmt_bmp, gfx_widget,
gfx_UTF8utils, gfx_extinterpolation, gfx_cmdlineparams, gfx_utils,
gfx_popupwindow, gfx_impl, gfx_command_intf, gfx_wuline, gfx_imagelist,
- gfx_constants;
+ gfx_constants, gfx_pofiles, gfx_translations;
implementation
diff --git a/src/corelib/gdi/gfx_utils.pas b/src/corelib/gdi/gfx_utils.pas
index f5822fc6..3b23dff8 100644
--- a/src/corelib/gdi/gfx_utils.pas
+++ b/src/corelib/gdi/gfx_utils.pas
@@ -14,6 +14,10 @@ uses
implementation
+// the common code for all platforms
+{$I gfx_utils_impl.inc}
+
+
// File utils
function ExtractTargetSymLinkPath(ALink: string): string;
begin