summaryrefslogtreecommitdiff
path: root/uidesigner
diff options
context:
space:
mode:
Diffstat (limited to 'uidesigner')
-rw-r--r--uidesigner/newformdesigner.pas2
-rw-r--r--uidesigner/vfddesigner.pas2
-rw-r--r--uidesigner/vfdeditors.pas2
-rw-r--r--uidesigner/vfdfile.pas24
-rw-r--r--uidesigner/vfdformparser.pas2
-rw-r--r--uidesigner/vfdforms.pas2
-rw-r--r--uidesigner/vfdmain.pas2
-rw-r--r--uidesigner/vfdpropeditgrid.pas2
-rw-r--r--uidesigner/vfdprops.pas2
-rw-r--r--uidesigner/vfdresizer.pas2
-rw-r--r--uidesigner/vfdutils.pas2
-rw-r--r--uidesigner/vfdwidgetclass.pas2
-rw-r--r--uidesigner/vfdwidgets.pas2
13 files changed, 23 insertions, 25 deletions
diff --git a/uidesigner/newformdesigner.pas b/uidesigner/newformdesigner.pas
index 59a2aae2..037f46b7 100644
--- a/uidesigner/newformdesigner.pas
+++ b/uidesigner/newformdesigner.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfddesigner.pas b/uidesigner/vfddesigner.pas
index a9d5daa7..992815cc 100644
--- a/uidesigner/vfddesigner.pas
+++ b/uidesigner/vfddesigner.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdeditors.pas b/uidesigner/vfdeditors.pas
index b9e8cce9..5d8492f2 100644
--- a/uidesigner/vfdeditors.pas
+++ b/uidesigner/vfdeditors.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdfile.pas b/uidesigner/vfdfile.pas
index 2c63890a..9928d28a 100644
--- a/uidesigner/vfdfile.pas
+++ b/uidesigner/vfdfile.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
@@ -83,12 +83,13 @@ var
s: string;
begin
s :=
- ' T' + formname + ' = class(TfpgForm)' + LineEnding +
- ' public' + LineEnding +
- ' {@VFD_HEAD_BEGIN: ' + formname + '}' + LineEnding +
- formheadblock +
- ' {@VFD_HEAD_END: ' + formname + '}' + LineEnding +
- ' procedure AfterCreate; override;' + LineEnding
+ ' T' + formname + ' = class(TfpgForm)' + LineEnding +
+ ' private' + LineEnding +
+ ' {@VFD_HEAD_BEGIN: ' + formname + '}' + LineEnding
+ + formheadblock +
+ ' {@VFD_HEAD_END: ' + formname + '}' + LineEnding +
+ ' public' + LineEnding +
+ ' procedure AfterCreate; override;' + LineEnding
+ ' end;' + LineEnding + LineEnding;
NewFormsDecl := NewFormsDecl + s;
end;
@@ -100,9 +101,11 @@ begin
s := LineEnding + LineEnding +
'procedure T' + formname + '.AfterCreate;' + LineEnding +
'begin' + LineEnding +
+ ' {%region ''Auto-generated GUI code'' -fold}' + LineEnding +
' {@VFD_BODY_BEGIN: ' + formname + '}' + LineEnding +
formbody +
' {@VFD_BODY_END: ' + formname + '}' + LineEnding +
+ ' {%endregion}' + LineEnding +
'end;' + LineEnding;
NewFormsImpl := NewFormsImpl + s;
end;
@@ -351,12 +354,7 @@ begin
'{$mode objfpc}{$H+}' + LineEnding + LineEnding +
'interface' + LineEnding + LineEnding +
'uses' + LineEnding +
- ' SysUtils, Classes, fpg_base, fpg_main, fpg_widget,' + LineEnding +
- ' fpg_edit, fpg_form, fpg_label, fpg_button,' + LineEnding +
- ' fpg_listbox, fpg_memo, fpg_combobox, fpg_basegrid, fpg_grid, ' + LineEnding +
- ' fpg_dialogs, fpg_checkbox, fpg_tree, fpg_trackbar, ' + LineEnding +
- ' fpg_progressbar, fpg_radiobutton, fpg_tab, fpg_menu,' + LineEnding +
- ' fpg_panel, fpg_popupcalendar, fpg_gauge;' + LineEnding + LineEnding +
+ ' SysUtils, Classes, fpg_base, fpg_main, fpg_form;' + LineEnding + LineEnding +
'type' + LineEnding + LineEnding +
'{@VFD_NEWFORM_DECL}' + LineEnding + LineEnding +
'implementation' + LineEnding + LineEnding +
diff --git a/uidesigner/vfdformparser.pas b/uidesigner/vfdformparser.pas
index 172de33c..df34b5f8 100644
--- a/uidesigner/vfdformparser.pas
+++ b/uidesigner/vfdformparser.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdforms.pas b/uidesigner/vfdforms.pas
index 8987c49d..3dd53115 100644
--- a/uidesigner/vfdforms.pas
+++ b/uidesigner/vfdforms.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdmain.pas b/uidesigner/vfdmain.pas
index a310acfd..043d42ca 100644
--- a/uidesigner/vfdmain.pas
+++ b/uidesigner/vfdmain.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdpropeditgrid.pas b/uidesigner/vfdpropeditgrid.pas
index 4eab4255..75ccd196 100644
--- a/uidesigner/vfdpropeditgrid.pas
+++ b/uidesigner/vfdpropeditgrid.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdprops.pas b/uidesigner/vfdprops.pas
index 8d52c4d9..90dd29e4 100644
--- a/uidesigner/vfdprops.pas
+++ b/uidesigner/vfdprops.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdresizer.pas b/uidesigner/vfdresizer.pas
index 32aec2e8..03e83618 100644
--- a/uidesigner/vfdresizer.pas
+++ b/uidesigner/vfdresizer.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdutils.pas b/uidesigner/vfdutils.pas
index a97cf432..851cd518 100644
--- a/uidesigner/vfdutils.pas
+++ b/uidesigner/vfdutils.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdwidgetclass.pas b/uidesigner/vfdwidgetclass.pas
index b2dd6e6d..0fe62171 100644
--- a/uidesigner/vfdwidgetclass.pas
+++ b/uidesigner/vfdwidgetclass.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/uidesigner/vfdwidgets.pas b/uidesigner/vfdwidgets.pas
index a60427d0..61b56dec 100644
--- a/uidesigner/vfdwidgets.pas
+++ b/uidesigner/vfdwidgets.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2009 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,