diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-09-27 18:24:54 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-09-27 18:24:54 +0000 |
commit | 8eb1030c56d6a1228d3145b247f75c733576e511 (patch) | |
tree | b07af847fe22e6ea153e1c0088a257f72dd9f02f /src/corelib/gdi/gfx_utils_impl.inc | |
parent | 1c50f4279f89d41dd1d85964645217860f5c0b9c (diff) | |
download | fpGUI-8eb1030c56d6a1228d3145b247f75c733576e511.tar.xz |
* Rename all corelib units to the new naming convention.
* Updated the UI Designer to use the new unit names.
Diffstat (limited to 'src/corelib/gdi/gfx_utils_impl.inc')
-rw-r--r-- | src/corelib/gdi/gfx_utils_impl.inc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/corelib/gdi/gfx_utils_impl.inc b/src/corelib/gdi/gfx_utils_impl.inc deleted file mode 100644 index 3862dc23..00000000 --- a/src/corelib/gdi/gfx_utils_impl.inc +++ /dev/null @@ -1,26 +0,0 @@ -{%mainunit gfx_utils.pas} - -uses - Registry, Shellapi; - -// GDI specific implementations of encoding functions - -function fpgToOSEncoding(aString: TfpgString): string; -begin - Result := Utf8ToAnsi(aString); -end; - -function fpgFromOSEncoding(aString: string): TfpgString; -begin - Result := AnsiToUtf8(aString); -end; - -procedure fpgOpenURL(const aURL: TfpgString); -begin - try - ShellExecute(0, 'open', PChar(aURL), nil, nil, 0) ; - except - // do nothing - end; -end; - |