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 /src/corelib | |
parent | 8d8cb4045a1f9bf3354f6752462b5e1955e470c0 (diff) | |
download | fpGUI-a10be118b597f9a2f8cf364f62d7296f1ef357e2.tar.xz |
Moved some constants from fpg_main to fpg_constants unit.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/fpg_constants.pas | 9 | ||||
-rw-r--r-- | src/corelib/fpg_main.pas | 13 |
2 files changed, 10 insertions, 12 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, |