diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-18 11:13:15 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-18 11:13:15 +0100 |
commit | a10be118b597f9a2f8cf364f62d7296f1ef357e2 (patch) | |
tree | b386c437c9909ab14f3710fdb3742c8e07755c7c | |
parent | 8d8cb4045a1f9bf3354f6752462b5e1955e470c0 (diff) | |
download | fpGUI-a10be118b597f9a2f8cf364f62d7296f1ef357e2.tar.xz |
Moved some constants from fpg_main to fpg_constants unit.
-rw-r--r-- | src/corelib/fpg_constants.pas | 9 | ||||
-rw-r--r-- | src/corelib/fpg_main.pas | 13 | ||||
-rw-r--r-- | src/reportengine/u_pdf.pas | 7 | ||||
-rw-r--r-- | src/reportengine/u_report.pas | 1 |
4 files changed, 15 insertions, 15 deletions
diff --git a/src/corelib/fpg_constants.pas b/src/corelib/fpg_constants.pas index d83f855b..96e45c30 100644 --- a/src/corelib/fpg_constants.pas +++ b/src/corelib/fpg_constants.pas @@ -100,6 +100,15 @@ const FPG_BOOKMARKS_FILE = 'bookmarks.ini'; FPG_BOOKMARK_SECTION = 'bookmarks'; + // Used for the internal message queue + cMessageQueueSize = 2048; + + // version and name constants + {$I VERSION_FILE.inc} // this includes the auto generated: fpGUI_Version = xxx + fpGUIName = 'fpGUI Toolkit'; + fpGUIWebsite = 'http://fpgui.sourceforge.net/'; + + txtWordDelims: set of char = [' ', #9, #13, #10]; diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas index 1535a00c..e8ade865 100644 --- a/src/corelib/fpg_main.pas +++ b/src/corelib/fpg_main.pas @@ -31,6 +31,7 @@ interface uses Classes, SysUtils, + fpg_constants, fpg_base, fpg_interface, fpg_impl; @@ -62,17 +63,6 @@ const AllAnchors = [anLeft, anRight, anTop, anBottom]; TextFlagsDflt = [txtLeft, txtTop]; - // Used for the internal message queue - cMessageQueueSize = 2048; - - // version and name constants - {$I VERSION_FILE.inc} // this includes the auto generated: fpGUI_Version = xxx - fpGUIName = 'fpGUI Toolkit'; - fpGUIWebsite = 'http://fpgui.sourceforge.net/'; - -const - txtWordDelims: set of char = [' ', #9, #13, #10]; - type { ******************************************* @@ -469,7 +459,6 @@ uses fpg_imgfmt_bmp, fpg_stdimages, fpg_translations, - fpg_constants, fpg_widget, fpg_dialogs, fpg_hint, diff --git a/src/reportengine/u_pdf.pas b/src/reportengine/u_pdf.pas index 6dc927b7..f1faf700 100644 --- a/src/reportengine/u_pdf.pas +++ b/src/reportengine/u_pdf.pas @@ -29,9 +29,7 @@ uses Classes, SysUtils, StrUtils, - fpg_main, - fpg_base, - fpg_dialogs; + fpg_base; type TPdfObjet = class(TObject) @@ -333,7 +331,10 @@ var implementation uses + fpg_main, + fpg_dialogs, fpg_utils, + fpg_constants, U_Report, U_Command; diff --git a/src/reportengine/u_report.pas b/src/reportengine/u_report.pas index 2927d676..ce10275f 100644 --- a/src/reportengine/u_report.pas +++ b/src/reportengine/u_report.pas @@ -490,6 +490,7 @@ const implementation uses + fpg_constants, U_Visu; const |