summaryrefslogtreecommitdiff
path: root/prototypes/fpgui2/tests
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-01-14 18:08:11 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-01-14 18:08:11 +0000
commite87fb75ceacdd647ad507ff2704f839838f93d87 (patch)
tree74fb1393488c14a3eeaf388fe2e6204dce747e79 /prototypes/fpgui2/tests
parentecfb462fd56c4508b1e66a4c7fde09097e80f8d8 (diff)
downloadfpGUI-e87fb75ceacdd647ad507ff2704f839838f93d87.tar.xz
* Removed a debug writeln statement from gui_edit unit.
* Added the extra interpolation unit to fpgfx.pas so it can be auto compiled from the scripts in the src directory. * Added the missing extrafpc.cfg files from some example projects. * Renamed some of the examples main units to have the lpr extension. Consistancy with the other projects. * FreeBSD is now an official supported platform. I've compiled and ran all example and prototype projects. Everything works perfectly.
Diffstat (limited to 'prototypes/fpgui2/tests')
-rw-r--r--prototypes/fpgui2/tests/drawtest.lpr2
-rw-r--r--prototypes/fpgui2/tests/edittest.lpr (renamed from prototypes/fpgui2/tests/edittest.dpr)6
-rw-r--r--prototypes/fpgui2/tests/extrafpc.cfg5
3 files changed, 9 insertions, 4 deletions
diff --git a/prototypes/fpgui2/tests/drawtest.lpr b/prototypes/fpgui2/tests/drawtest.lpr
index a96d927b..5d55ebae 100644
--- a/prototypes/fpgui2/tests/drawtest.lpr
+++ b/prototypes/fpgui2/tests/drawtest.lpr
@@ -43,7 +43,7 @@ begin
Canvas.DrawString(10, 60+(Canvas.Font.Height*2), 'ending points.');
// final image
- Canvas.DrawString(10, 195-Canvas.Font.Height, 'The final images should look line this:');
+ Canvas.DrawString(10, 195-Canvas.Font.Height, 'The final images should look like this:');
Canvas.DrawImage(100, 200, finalimg);
// blank rectangle image
diff --git a/prototypes/fpgui2/tests/edittest.dpr b/prototypes/fpgui2/tests/edittest.lpr
index aa2c5290..ff289206 100644
--- a/prototypes/fpgui2/tests/edittest.dpr
+++ b/prototypes/fpgui2/tests/edittest.lpr
@@ -327,11 +327,11 @@ end;
procedure TMainForm.btn3Click(Sender: TObject);
begin
ShowMessage('Do you really want to quit this application?' + #10 +
- 'We can always keep playing and quite at a later date.' +
+ 'We can always keep playing and quit at a later date.' +
#10#10 +
- 'This is a very long line that must be split automatically, ' +
+ 'This is a new paragraph and very long line that must be split automatically, ' +
'and it should have done so. If not, there is a bug in the code. It ' +
- 'has also been optimized to wordwrap and not split words in half.'
+ 'has also been optimized to wordwrap and not split words over two lines.'
, 'My cool message title');
end;
diff --git a/prototypes/fpgui2/tests/extrafpc.cfg b/prototypes/fpgui2/tests/extrafpc.cfg
new file mode 100644
index 00000000..073dc4b6
--- /dev/null
+++ b/prototypes/fpgui2/tests/extrafpc.cfg
@@ -0,0 +1,5 @@
+-FUunits
+-Fu../../../lib
+-Xs
+-XX
+-CX