diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-10-01 15:11:44 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-10-01 15:11:44 +0000 |
commit | 62d36211682ba17dd0d618a4f3aee2e42ca72767 (patch) | |
tree | 30729241fe2c1a67388100b096805e0b015380f5 /examples | |
parent | 9bc7fd4fff51fa7f25414cdebe01e8dff75b9617 (diff) | |
download | fpGUI-62d36211682ba17dd0d618a4f3aee2e42ca72767.tar.xz |
* Updated all demos to use the new unit names.
* Updated all packages like ide addons, fpcunit etc to use the new unit names.
Diffstat (limited to 'examples')
77 files changed, 225 insertions, 306 deletions
diff --git a/examples/apps/fpcunit/fpg_guitestrunner.pas b/examples/apps/fpcunit/fpg_guitestrunner.pas index b7003231..ca1a7f81 100644 --- a/examples/apps/fpcunit/fpg_guitestrunner.pas +++ b/examples/apps/fpcunit/fpg_guitestrunner.pas @@ -7,11 +7,11 @@ interface uses SysUtils, Classes, // fpGUI toolkit - gfxbase, fpgfx, gui_edit, gfx_widget, gui_form, gui_label, gui_button, - gui_listbox, gui_memo, gui_combobox, gui_basegrid, gui_grid, - gui_dialogs, gui_checkbox, gui_tree, gui_trackbar, gui_progressbar, - gui_radiobutton, gui_tab, gui_menu, gui_panel, gui_popupcalendar, - gui_gauge, gui_splitter, gfx_imagelist, + fpg_base, fpg_main, fpg_edit, fpg_widget, fpg_form, fpg_label, fpg_button, + fpg_listbox, fpg_memo, fpg_combobox, fpg_basegrid, fpg_grid, + fpg_dialogs, fpg_checkbox, fpg_tree, fpg_trackbar, fpg_progressbar, + fpg_radiobutton, fpg_tab, fpg_menu, fpg_panel, fpg_popupcalendar, + fpg_gauge, fpg_splitter, fpg_imagelist, // FPCUnit support fpcunit, testregistry, testdecorator; @@ -83,7 +83,7 @@ type implementation uses - gfx_imgfmt_bmp; + fpg_imgfmt_bmp; {@VFD_NEWFORM_IMPL} diff --git a/examples/corelib/canvastest/fpgcanvas.lpi b/examples/corelib/canvastest/fpgcanvas.lpi index 3bc36356..56117be1 100644 --- a/examples/corelib/canvastest/fpgcanvas.lpi +++ b/examples/corelib/canvastest/fpgcanvas.lpi @@ -41,10 +41,9 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> + <Version Value="8"/> <CodeGeneration> <SmartLinkUnit Value="True"/> - <Generate Value="Faster"/> </CodeGeneration> <Linking> <LinkSmart Value="True"/> diff --git a/examples/corelib/canvastest/fpgcanvas.lpr b/examples/corelib/canvastest/fpgcanvas.lpr index bf721f28..5db95e09 100644 --- a/examples/corelib/canvastest/fpgcanvas.lpr +++ b/examples/corelib/canvastest/fpgcanvas.lpr @@ -7,10 +7,10 @@ uses cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, - gfxbase, - fpgfx, - gui_form, - gfx_imgfmt_bmp; + fpg_base, + fpg_main, + fpg_form, + fpg_imgfmt_bmp; type diff --git a/examples/corelib/eventtest/eventtest.lpi b/examples/corelib/eventtest/eventtest.lpi index b1ac640a..b982410c 100644 --- a/examples/corelib/eventtest/eventtest.lpi +++ b/examples/corelib/eventtest/eventtest.lpi @@ -40,7 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> + <Version Value="8"/> <CodeGeneration> <SmartLinkUnit Value="True"/> <Optimizations> diff --git a/examples/corelib/eventtest/eventtest.lpr b/examples/corelib/eventtest/eventtest.lpr index bdd69c68..baac5d80 100644 --- a/examples/corelib/eventtest/eventtest.lpr +++ b/examples/corelib/eventtest/eventtest.lpr @@ -6,7 +6,10 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, SysUtils, GFXBase, fpGFX, gfx_widget; + Classes, SysUtils, + fpg_base, + fpg_main, + fpg_widget; const diff --git a/examples/corelib/helloworld/helloworld.lpi b/examples/corelib/helloworld/helloworld.lpi index fccf438a..1b678005 100644 --- a/examples/corelib/helloworld/helloworld.lpi +++ b/examples/corelib/helloworld/helloworld.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/corelib/helloworld/helloworld.pas b/examples/corelib/helloworld/helloworld.pas index ef8eee98..be6b99c3 100644 --- a/examples/corelib/helloworld/helloworld.pas +++ b/examples/corelib/helloworld/helloworld.pas @@ -1,9 +1,7 @@ { - fpGUI - Free Pascal GUI Library + fpGUI - Free Pascal GUI Toolkit - HelloWorld - GFX Hello World application - - Copyright (C) 2007 See the file AUTHORS.txt, included in this + Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this distribution, for details of the copyright. See the file COPYING.modifiedLGPL, included in this distribution, @@ -12,6 +10,9 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + Description: + A simple hello world application that only uses canvas painting. } program HelloWorld; @@ -19,10 +20,9 @@ program HelloWorld; {$mode objfpc}{$H+} uses - Classes - ,fpGFX - ,GFXBase - , fpgui_toolkit; + Classes, + fpg_base, + fpg_main; const HelloWorldString: String = 'Hello, world!'; diff --git a/examples/gui/alignment/aligntest.lpi b/examples/gui/alignment/aligntest.lpi index 3dd0cfa7..586b7b90 100644 --- a/examples/gui/alignment/aligntest.lpi +++ b/examples/gui/alignment/aligntest.lpi @@ -39,14 +39,11 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> + <Version Value="8"/> <SearchPaths> <IncludeFiles Value="../src/"/> <OtherUnitFiles Value="../src/"/> </SearchPaths> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/alignment/aligntest.lpr b/examples/gui/alignment/aligntest.lpr index 47b5adcd..e0fe2506 100644 --- a/examples/gui/alignment/aligntest.lpr +++ b/examples/gui/alignment/aligntest.lpr @@ -4,7 +4,7 @@ program aligntest; uses Classes, SysUtils, - fpgfx, gfxbase, gfx_widget, gui_form, gui_label; + fpg_base, fpg_main, fpg_widget, fpg_form, fpg_label; type TMainForm = class(TfpgForm) diff --git a/examples/gui/alignment_resize/alignment_resize.lpi b/examples/gui/alignment_resize/alignment_resize.lpi index 0da35584..e22fcc29 100644 --- a/examples/gui/alignment_resize/alignment_resize.lpi +++ b/examples/gui/alignment_resize/alignment_resize.lpi @@ -43,10 +43,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/alignment_resize/alignment_resize.lpr b/examples/gui/alignment_resize/alignment_resize.lpr index b78745f4..916fab48 100644 --- a/examples/gui/alignment_resize/alignment_resize.lpr +++ b/examples/gui/alignment_resize/alignment_resize.lpr @@ -6,8 +6,9 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, SysUtils, fpgfx, gfxbase, gui_form, gui_button, gui_panel, gui_label, - gui_radiobutton, gui_memo; + Classes, SysUtils, + fpg_base, fpg_main, fpg_form, fpg_button, fpg_panel, fpg_label, + fpg_radiobutton, fpg_memo; type diff --git a/examples/gui/animation/anim_test.lpi b/examples/gui/animation/anim_test.lpi index 0dad2a2c..b7506331 100644 --- a/examples/gui/animation/anim_test.lpi +++ b/examples/gui/animation/anim_test.lpi @@ -41,10 +41,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/animation/anim_test.lpr b/examples/gui/animation/anim_test.lpr index 10cf9286..79a2bbb8 100644 --- a/examples/gui/animation/anim_test.lpr +++ b/examples/gui/animation/anim_test.lpr @@ -8,8 +8,8 @@ uses {$ENDIF}{$ENDIF} Classes, SysUtils, // fpGUI - fpgfx, gui_form, gfxbase, gui_button, - gui_label, gui_trackbar, gui_animation; + fpg_base, fpg_main, fpg_form, fpg_button, + fpg_label, fpg_trackbar, fpg_animation; type diff --git a/examples/gui/bevel/beveltest.lpi b/examples/gui/bevel/beveltest.lpi index c42423c9..c29961c6 100644 --- a/examples/gui/bevel/beveltest.lpi +++ b/examples/gui/bevel/beveltest.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/bevel/beveltest.lpr b/examples/gui/bevel/beveltest.lpr index 3b7deb9d..f3e1a23c 100644 --- a/examples/gui/bevel/beveltest.lpr +++ b/examples/gui/bevel/beveltest.lpr @@ -8,11 +8,11 @@ uses {$ENDIF}{$ENDIF} Classes, typinfo, - fpgfx, - gui_form, - gui_button, - gui_panel, - gui_label; + fpg_main, + fpg_form, + fpg_button, + fpg_panel, + fpg_label; type TMainForm = class(TfpgForm) diff --git a/examples/gui/calendar/calendartest.lpi b/examples/gui/calendar/calendartest.lpi index 20248a00..186cec27 100644 --- a/examples/gui/calendar/calendartest.lpi +++ b/examples/gui/calendar/calendartest.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CompilerPath Value="$(CompPath)"/> </Other> diff --git a/examples/gui/calendar/calendartest.lpr b/examples/gui/calendar/calendartest.lpr index a38e3727..3b614cb4 100644 --- a/examples/gui/calendar/calendartest.lpr +++ b/examples/gui/calendar/calendartest.lpr @@ -10,8 +10,9 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, SysUtils, gfxbase, fpgfx, gui_form, gui_popupcalendar, gui_edit, - gui_button, gui_label, gfx_popupwindow, gui_combobox, gui_checkbox, dateutils; + Classes, SysUtils, + fpg_base, fpg_main, fpg_form, fpg_popupcalendar, fpg_edit, + fpg_button, fpg_label, fpg_popupwindow, fpg_combobox, fpg_checkbox, dateutils; type TMainForm = class(TfpgForm) diff --git a/examples/gui/colorlistbox/colorlistboxtest.lpi b/examples/gui/colorlistbox/colorlistboxtest.lpi index 74da94d9..61d9d21e 100644 --- a/examples/gui/colorlistbox/colorlistboxtest.lpi +++ b/examples/gui/colorlistbox/colorlistboxtest.lpi @@ -47,10 +47,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Linking> <LinkSmart Value="True"/> </Linking> diff --git a/examples/gui/colorlistbox/colorlistboxtest.lpr b/examples/gui/colorlistbox/colorlistboxtest.lpr index 6bea991c..28bcc183 100644 --- a/examples/gui/colorlistbox/colorlistboxtest.lpr +++ b/examples/gui/colorlistbox/colorlistboxtest.lpr @@ -6,7 +6,7 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, fpgfx, frmMain; + Classes, fpg_main, frmMain; procedure MainProc; diff --git a/examples/gui/colorlistbox/frmMain.pas b/examples/gui/colorlistbox/frmMain.pas index cc700c4b..6903e1eb 100644 --- a/examples/gui/colorlistbox/frmMain.pas +++ b/examples/gui/colorlistbox/frmMain.pas @@ -5,12 +5,9 @@ unit frmMain; interface uses - SysUtils, Classes, gfxbase, fpgfx, gui_edit, - gfx_widget, gui_form, gui_label, gui_button, - gui_listbox, gui_memo, gui_combobox, gui_grid, - gui_dialogs, gui_checkbox, gui_tree, gui_trackbar, - gui_progressbar, gui_radiobutton, gui_tab, gui_menu, - gui_bevel, gui_popupcalendar, gui_gauge, gui_editcombo; + SysUtils, Classes, fpg_base, fpg_main, + fpg_widget, fpg_form, fpg_label, fpg_button, + fpg_listbox, fpg_combobox, fpg_dialogs, fpg_checkbox; type diff --git a/examples/gui/combobox/comboboxtest.lpi b/examples/gui/combobox/comboboxtest.lpi index c45931bd..45eaa7c1 100644 --- a/examples/gui/combobox/comboboxtest.lpi +++ b/examples/gui/combobox/comboboxtest.lpi @@ -51,13 +51,10 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> + <Version Value="8"/> <SearchPaths> <OtherUnitFiles Value="../common/"/> </SearchPaths> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/combobox/comboboxtest.lpr b/examples/gui/combobox/comboboxtest.lpr index a3a38da1..32765338 100644 --- a/examples/gui/combobox/comboboxtest.lpr +++ b/examples/gui/combobox/comboboxtest.lpr @@ -6,7 +6,7 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, fpgfx, frm_main; + Classes, fpg_main, frm_main; procedure MainProc; var diff --git a/examples/gui/combobox/frm_main.pas b/examples/gui/combobox/frm_main.pas index 0f91b314..e1a293df 100644 --- a/examples/gui/combobox/frm_main.pas +++ b/examples/gui/combobox/frm_main.pas @@ -5,12 +5,12 @@ unit frm_main; interface uses - SysUtils, Classes, gfxbase, fpgfx, gui_edit, - gfx_widget, gui_form, gui_label, gui_button, - gui_listbox, gui_memo, gui_combobox, gui_basegrid, gui_grid, - gui_dialogs, gui_checkbox, gui_tree, gui_trackbar, - gui_progressbar, gui_radiobutton, gui_tab, gui_menu, - gui_panel, gui_popupcalendar, gui_gauge, gui_editcombo; + SysUtils, Classes, fpg_base, fpg_main, fpg_edit, + fpg_widget, fpg_form, fpg_label, fpg_button, + fpg_listbox, fpg_memo, fpg_combobox, fpg_basegrid, fpg_grid, + fpg_dialogs, fpg_checkbox, fpg_tree, fpg_trackbar, + fpg_progressbar, fpg_radiobutton, fpg_tab, fpg_menu, + fpg_panel, fpg_popupcalendar, fpg_gauge, fpg_editcombo; type diff --git a/examples/gui/command_interface/commands.pas b/examples/gui/command_interface/commands.pas index aa948220..c487b0b1 100644 --- a/examples/gui/command_interface/commands.pas +++ b/examples/gui/command_interface/commands.pas @@ -9,8 +9,8 @@ unit commands; interface uses - gfx_command_intf, - gui_memo; + fpg_command_intf, + fpg_memo; type // non reference counted interface @@ -40,7 +40,7 @@ type implementation uses - fpgfx, SysUtils; + fpg_main, SysUtils; { TNullInterfacedObject } diff --git a/examples/gui/command_interface/frm_main.pas b/examples/gui/command_interface/frm_main.pas index 28bb18cf..bc330130 100644 --- a/examples/gui/command_interface/frm_main.pas +++ b/examples/gui/command_interface/frm_main.pas @@ -9,12 +9,12 @@ unit frm_main; interface uses - SysUtils, Classes, gfxbase, fpgfx, gui_edit, - gfx_widget, gui_form, gui_label, gui_button, - gui_listbox, gui_memo, gui_combobox, gui_grid, - gui_dialogs, gui_checkbox, gui_tree, gui_trackbar, - gui_progressbar, gui_radiobutton, gui_tab, gui_menu, - gui_bevel; + SysUtils, Classes, fpg_base, fpg_main, fpg_edit, + fpg_widget, fpg_form, fpg_label, fpg_button, + fpg_listbox, fpg_memo, fpg_combobox, fpg_grid, + fpg_dialogs, fpg_checkbox, fpg_tree, fpg_trackbar, + fpg_progressbar, fpg_radiobutton, fpg_tab, fpg_menu, + fpg_panel; type @@ -37,7 +37,7 @@ type implementation uses - gfx_command_intf, + fpg_command_intf, commands; {@VFD_NEWFORM_IMPL} diff --git a/examples/gui/command_interface/test.lpi b/examples/gui/command_interface/test.lpi index 1d0b0ee8..da19eca5 100644 --- a/examples/gui/command_interface/test.lpi +++ b/examples/gui/command_interface/test.lpi @@ -50,10 +50,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CompilerPath Value="$(CompPath)"/> </Other> diff --git a/examples/gui/command_interface/test.lpr b/examples/gui/command_interface/test.lpr index dcf20851..f1050002 100644 --- a/examples/gui/command_interface/test.lpr +++ b/examples/gui/command_interface/test.lpr @@ -6,7 +6,7 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, fpgfx, gui_form, frm_main, commands; + Classes, fpg_main, frm_main; procedure MainProc; diff --git a/examples/gui/dbtest/dbtest.lpi b/examples/gui/dbtest/dbtest.lpi index 847b0588..a7c9efb9 100644 --- a/examples/gui/dbtest/dbtest.lpi +++ b/examples/gui/dbtest/dbtest.lpi @@ -47,16 +47,13 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> + <Version Value="8"/> <Parsing> <SyntaxOptions> <AllowLabel Value="False"/> <CPPInline Value="False"/> </SyntaxOptions> </Parsing> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/dbtest/dbtest.lpr b/examples/gui/dbtest/dbtest.lpr index 28d2bd2b..1610cfe4 100644 --- a/examples/gui/dbtest/dbtest.lpr +++ b/examples/gui/dbtest/dbtest.lpr @@ -6,7 +6,7 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, fpgfx, frm_main; + Classes, fpg_main, frm_main; procedure MainProc; diff --git a/examples/gui/dbtest/frm_main.pas b/examples/gui/dbtest/frm_main.pas index b361ff92..70ca7964 100644 --- a/examples/gui/dbtest/frm_main.pas +++ b/examples/gui/dbtest/frm_main.pas @@ -5,9 +5,9 @@ unit frm_main; interface uses - SysUtils, Classes, fpgfx, - gfx_widget, gui_form, gui_label, gui_button, - gui_listbox, gui_bevel, fpgui_db, db, dbf{, dbf_fields}; + SysUtils, Classes, fpg_main, + fpg_widget, fpg_form, fpg_label, fpg_button, + fpg_listbox, fpg_panel, fpgui_db, db, dbf{, dbf_fields}; type diff --git a/examples/gui/edits/edittest.lpi b/examples/gui/edits/edittest.lpi index ee87a9f5..3938483b 100644 --- a/examples/gui/edits/edittest.lpi +++ b/examples/gui/edits/edittest.lpi @@ -41,10 +41,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/edits/edittest.lpr b/examples/gui/edits/edittest.lpr index fcced01b..937a66f4 100644 --- a/examples/gui/edits/edittest.lpr +++ b/examples/gui/edits/edittest.lpr @@ -6,8 +6,9 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, SysUtils, fpgfx, gui_form, gui_label, gui_edit, gui_button, gui_radiobutton, - gui_listbox, gfxbase, gui_checkbox; + Classes, SysUtils, + fpg_base, fpg_main, fpg_form, fpg_label, fpg_edit, fpg_button, fpg_radiobutton, + fpg_listbox, fpg_checkbox; type diff --git a/examples/gui/filedialog/filedialog.lpi b/examples/gui/filedialog/filedialog.lpi index d0831d76..2e971703 100644 --- a/examples/gui/filedialog/filedialog.lpi +++ b/examples/gui/filedialog/filedialog.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/filedialog/filedialog.lpr b/examples/gui/filedialog/filedialog.lpr index 53e79b9a..676100cc 100644 --- a/examples/gui/filedialog/filedialog.lpr +++ b/examples/gui/filedialog/filedialog.lpr @@ -7,13 +7,13 @@ uses cthreads, {$ENDIF}{$ENDIF} Classes, - gfxbase, - fpgfx, - gui_form, - gui_dialogs, - gui_button, - gui_edit, - gui_label; + fpg_base, + fpg_main, + fpg_form, + fpg_dialogs, + fpg_button, + fpg_edit, + fpg_label; type diff --git a/examples/gui/filegrid/filegrid.lpi b/examples/gui/filegrid/filegrid.lpi index a7ffda2f..1fc73d24 100644 --- a/examples/gui/filegrid/filegrid.lpi +++ b/examples/gui/filegrid/filegrid.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/filegrid/filegrid.lpr b/examples/gui/filegrid/filegrid.lpr index b9d24862..6ce51d21 100644 --- a/examples/gui/filegrid/filegrid.lpr +++ b/examples/gui/filegrid/filegrid.lpr @@ -8,12 +8,12 @@ uses {$ENDIF}{$ENDIF} Classes, SysUtils, - fpgfx, - gfxbase, - gui_form, - gui_grid, - gui_checkbox, - gui_button; + fpg_base, + fpg_main, + fpg_form, + fpg_grid, + fpg_checkbox, + fpg_button; type diff --git a/examples/gui/fontselect/fontselect.lpi b/examples/gui/fontselect/fontselect.lpi index 52192bab..7e9fd4a0 100644 --- a/examples/gui/fontselect/fontselect.lpi +++ b/examples/gui/fontselect/fontselect.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/fontselect/fontselect.lpr b/examples/gui/fontselect/fontselect.lpr index 640eec05..06b3486b 100644 --- a/examples/gui/fontselect/fontselect.lpr +++ b/examples/gui/fontselect/fontselect.lpr @@ -7,14 +7,14 @@ uses cthreads, {$ENDIF}{$ENDIF} Classes, - fpgfx, - gui_form, - gui_dialogs, - gui_button, - gui_listbox, - gui_edit, - gui_label, - gfx_constants; + fpg_main, + fpg_form, + fpg_dialogs, + fpg_button, + fpg_listbox, + fpg_edit, + fpg_label, + fpg_constants; resourcestring diff --git a/examples/gui/gauges/gaugetest.lpi b/examples/gui/gauges/gaugetest.lpi index 9f3bc7fe..60994bb5 100644 --- a/examples/gui/gauges/gaugetest.lpi +++ b/examples/gui/gauges/gaugetest.lpi @@ -39,16 +39,13 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> + <Version Value="8"/> <Parsing> <SyntaxOptions> <AllowLabel Value="False"/> <CPPInline Value="False"/> </SyntaxOptions> </Parsing> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/gauges/gaugetest.lpr b/examples/gui/gauges/gaugetest.lpr index 837dd414..3e7de4d4 100644 --- a/examples/gui/gauges/gaugetest.lpr +++ b/examples/gui/gauges/gaugetest.lpr @@ -6,19 +6,18 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, Sysutils - { you can add units after this }, - fpgfx, - gfxbase, - gui_form, - gui_button, - gui_progressbar, - gui_trackbar, - gui_label, - gfx_imgfmt_bmp, - gui_edit, - gui_bevel, - gui_gauge; + Classes, Sysutils, + fpg_base, + fpg_main, + fpg_form, + fpg_button, + fpg_progressbar, + fpg_trackbar, + fpg_label, + fpg_imgfmt_bmp, + fpg_edit, + fpg_panel, + fpg_gauge; type diff --git a/examples/gui/gridtest/gridtest.lpi b/examples/gui/gridtest/gridtest.lpi index c048eb69..4dcc44f4 100644 --- a/examples/gui/gridtest/gridtest.lpi +++ b/examples/gui/gridtest/gridtest.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/gridtest/gridtest.lpr b/examples/gui/gridtest/gridtest.lpr index fa36442d..c6753332 100644 --- a/examples/gui/gridtest/gridtest.lpr +++ b/examples/gui/gridtest/gridtest.lpr @@ -8,15 +8,15 @@ uses {$ENDIF}{$ENDIF} Classes, SysUtils, - gfxbase, - fpgfx, - gui_form, - gui_basegrid, - gui_grid, - gui_button, - gui_checkbox, - gui_tab, - gui_edit; + fpg_base, + fpg_main, + fpg_form, + fpg_basegrid, + fpg_grid, + fpg_button, + fpg_checkbox, + fpg_tab, + fpg_edit; type @@ -128,7 +128,7 @@ begin ADefaultDrawing := False; StringGrid.Canvas.SetColor(clGreen); fpgStyle.DrawDirectionArrow(StringGrid.Canvas, ARect.Left, ARect.Top, - ARect.Height, ARect.Height, 3); + ARect.Height, ARect.Height, adRight); StringGrid.Canvas.SetTextColor(clTeal); StringGrid.Canvas.DrawString(ARect.Height + ARect.Left + 2, ARect.Top, StringGrid.Cells[ACol, ARow]); end; diff --git a/examples/gui/hintwindow/edittest.lpr b/examples/gui/hintwindow/edittest.lpr index 3ed9aa24..5e9a97d8 100644 --- a/examples/gui/hintwindow/edittest.lpr +++ b/examples/gui/hintwindow/edittest.lpr @@ -6,8 +6,9 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, SysUtils, fpgfx, gui_form, gui_label, gui_edit, gui_button, gui_radiobutton, - gui_listbox, gfxbase, gui_checkbox, gui_panel, gui_hint; + Classes, SysUtils, + fpg_base, fpg_main, fpg_form, fpg_label, fpg_edit, fpg_button, + fpg_radiobutton, fpg_listbox, fpg_checkbox, fpg_panel, fpg_hint; type diff --git a/examples/gui/imgtest/bitmaptest.lpi b/examples/gui/imgtest/bitmaptest.lpi index 5b355bac..af74913a 100644 --- a/examples/gui/imgtest/bitmaptest.lpi +++ b/examples/gui/imgtest/bitmaptest.lpi @@ -41,14 +41,11 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> + <Version Value="8"/> <SearchPaths> <IncludeFiles Value="../source/"/> <OtherUnitFiles Value="../source/;../source/x11/;../gui/"/> </SearchPaths> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/imgtest/bitmaptest.lpr b/examples/gui/imgtest/bitmaptest.lpr index 39906e87..010ff886 100644 --- a/examples/gui/imgtest/bitmaptest.lpr +++ b/examples/gui/imgtest/bitmaptest.lpr @@ -9,10 +9,10 @@ program bitmaptest; uses Classes, SysUtils, - gfxbase, - fpgfx, - gfx_imgfmt_bmp, - gui_form; + fpg_base, + fpg_main, + fpg_imgfmt_bmp, + fpg_form; type diff --git a/examples/gui/listbox/frm_main.pas b/examples/gui/listbox/frm_main.pas index 9757bfc9..38b06d92 100644 --- a/examples/gui/listbox/frm_main.pas +++ b/examples/gui/listbox/frm_main.pas @@ -5,12 +5,13 @@ unit frm_main; interface uses - SysUtils, Classes, gfxbase, fpgfx, gui_edit, - gfx_widget, gui_form, gui_label, gui_button, - gui_listbox, gui_memo, gui_combobox, gui_basegrid, gui_grid, - gui_dialogs, gui_checkbox, gui_tree, gui_trackbar, - gui_progressbar, gui_radiobutton, gui_tab, gui_menu, - gui_panel, gui_popupcalendar, gui_gauge; + SysUtils, Classes, + fpg_base, fpg_main, fpg_edit, + fpg_widget, fpg_form, fpg_label, fpg_button, + fpg_listbox, fpg_memo, fpg_combobox, fpg_basegrid, fpg_grid, + fpg_dialogs, fpg_checkbox, fpg_tree, fpg_trackbar, + fpg_progressbar, fpg_radiobutton, fpg_tab, fpg_menu, + fpg_panel, fpg_popupcalendar, fpg_gauge; type diff --git a/examples/gui/listbox/listboxtest.lpi b/examples/gui/listbox/listboxtest.lpi index 84d73d9c..c7b0b465 100644 --- a/examples/gui/listbox/listboxtest.lpi +++ b/examples/gui/listbox/listboxtest.lpi @@ -46,10 +46,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/listbox/listboxtest.lpr b/examples/gui/listbox/listboxtest.lpr index f36e2ed8..9353a07c 100644 --- a/examples/gui/listbox/listboxtest.lpr +++ b/examples/gui/listbox/listboxtest.lpr @@ -6,7 +6,7 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, fpgfx, frm_main; + Classes, fpg_main, frm_main; procedure MainProc; var diff --git a/examples/gui/listviewtest/listviewtest.lpr b/examples/gui/listviewtest/listviewtest.lpr index b328aa2b..864687ad 100644 --- a/examples/gui/listviewtest/listviewtest.lpr +++ b/examples/gui/listviewtest/listviewtest.lpr @@ -3,8 +3,8 @@ program listviewtest; {$mode objfpc}{$H+} uses - Classes, fpgfx, sysutils , - gui_listview, gui_form, gui_button, gui_edit, gfxbase, gui_checkbox; + Classes, sysutils, + fpg_base, fpg_main, fpg_listview, fpg_form, fpg_button, fpg_edit, fpg_checkbox; type diff --git a/examples/gui/memo/memotest.lpi b/examples/gui/memo/memotest.lpi index 6052a169..51f39bef 100644 --- a/examples/gui/memo/memotest.lpi +++ b/examples/gui/memo/memotest.lpi @@ -41,10 +41,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Linking> <Debugging> <GenGProfCode Value="True"/> diff --git a/examples/gui/memo/memotest.lpr b/examples/gui/memo/memotest.lpr index e4eed10b..31f5799f 100644 --- a/examples/gui/memo/memotest.lpr +++ b/examples/gui/memo/memotest.lpr @@ -8,12 +8,12 @@ uses {$ENDIF}{$ENDIF} Classes, typinfo, - fpgfx, - gfxbase, - gui_form, - gui_button, - gui_label, - gui_memo; + fpg_base, + fpg_main, + fpg_form, + fpg_button, + fpg_label, + fpg_memo; type @@ -64,7 +64,7 @@ begin //memo.Lines.Delete(1); //memo.Lines.Text := 'Dude'+LineEnding+'What''s mine say?'+LineEnding;; //memo.Lines.Text := memo.Lines.Text + 'Sweet'+LineEnding; - //memo.lines.LoadFromFile('/home/andrew/programming/groupprojects/fpgui/src/gui/gui_memo.pas'); + //memo.lines.LoadFromFile('/home/andrew/programming/groupprojects/fpgui/src/gui/fpg_memo.pas'); //memo.lines.LoadFromFile('/usr/share/dict/cracklib-small'); {memo.lines.Add(memo.lines.text); memo.lines.Add(memo.lines.text); diff --git a/examples/gui/menutest/menutest.lpi b/examples/gui/menutest/menutest.lpi index f51d54c7..f3d307af 100644 --- a/examples/gui/menutest/menutest.lpi +++ b/examples/gui/menutest/menutest.lpi @@ -28,8 +28,7 @@ </RunParams> <RequiredPackages Count="1"> <Item1> - <PackageName Value="fpgui_package"/> - <MinVersion Minor="5" Valid="True"/> + <PackageName Value="fpgui_toolkit"/> </Item1> </RequiredPackages> <Units Count="1"> @@ -41,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Linking> <Debugging> <GenerateDebugInfo Value="True"/> diff --git a/examples/gui/menutest/menutest.lpr b/examples/gui/menutest/menutest.lpr index 4a8b9244..1db064fb 100644 --- a/examples/gui/menutest/menutest.lpr +++ b/examples/gui/menutest/menutest.lpr @@ -7,10 +7,10 @@ uses cthreads, {$ENDIF}{$ENDIF} Classes, - fpgfx, - gui_form, - gui_menu, - gui_edit; + fpg_main, + fpg_form, + fpg_menu, + fpg_edit; type TMainForm = class(TfpgForm) diff --git a/examples/gui/modalforms/modalforms.lpi b/examples/gui/modalforms/modalforms.lpi index ed6fa3a9..7f6f526a 100644 --- a/examples/gui/modalforms/modalforms.lpi +++ b/examples/gui/modalforms/modalforms.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/modalforms/modalforms.lpr b/examples/gui/modalforms/modalforms.lpr index 188985e9..99f53ab3 100644 --- a/examples/gui/modalforms/modalforms.lpr +++ b/examples/gui/modalforms/modalforms.lpr @@ -12,14 +12,14 @@ uses cthreads, {$ENDIF}{$ENDIF} Classes, - fpgfx, - gui_form, - gui_dialogs, - gui_button, - gui_label, - gui_popupcalendar, - gui_combobox, - gui_edit; + fpg_main, + fpg_form, + fpg_dialogs, + fpg_button, + fpg_label, + fpg_popupcalendar, + fpg_combobox, + fpg_edit; type // forward declaration diff --git a/examples/gui/panel/mainform.pas b/examples/gui/panel/mainform.pas index c9be22eb..98a8b55b 100644 --- a/examples/gui/panel/mainform.pas +++ b/examples/gui/panel/mainform.pas @@ -7,15 +7,15 @@ interface uses Classes, SysUtils, - fpgfx, - gfxbase, - gui_form, - gui_button, - gui_label, - gui_panel, - gui_radiobutton, - gui_combobox, - gui_checkbox; + fpg_base, + fpg_main, + fpg_form, + fpg_button, + fpg_label, + fpg_panel, + fpg_radiobutton, + fpg_combobox, + fpg_checkbox; type TfrmMain = class(TfpgForm) diff --git a/examples/gui/panel/panel_test.lpi b/examples/gui/panel/panel_test.lpi index ee25dc61..89378ec4 100644 --- a/examples/gui/panel/panel_test.lpi +++ b/examples/gui/panel/panel_test.lpi @@ -45,10 +45,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/panel/panel_test.lpr b/examples/gui/panel/panel_test.lpr index ff0f1fcd..8ae13fff 100644 --- a/examples/gui/panel/panel_test.lpr +++ b/examples/gui/panel/panel_test.lpr @@ -7,7 +7,7 @@ uses cthreads, {$ENDIF}{$ENDIF} Classes, - fpgfx, + fpg_main, MainForm; procedure MainProc; diff --git a/examples/gui/splashscreen/commands.pas b/examples/gui/splashscreen/commands.pas index aa948220..c487b0b1 100644 --- a/examples/gui/splashscreen/commands.pas +++ b/examples/gui/splashscreen/commands.pas @@ -9,8 +9,8 @@ unit commands; interface uses - gfx_command_intf, - gui_memo; + fpg_command_intf, + fpg_memo; type // non reference counted interface @@ -40,7 +40,7 @@ type implementation uses - fpgfx, SysUtils; + fpg_main, SysUtils; { TNullInterfacedObject } diff --git a/examples/gui/splashscreen/frm_main.pas b/examples/gui/splashscreen/frm_main.pas index 1c2548dd..6835b98a 100644 --- a/examples/gui/splashscreen/frm_main.pas +++ b/examples/gui/splashscreen/frm_main.pas @@ -9,12 +9,12 @@ unit frm_main; interface uses - SysUtils, Classes, gfxbase, fpgfx, gui_edit, - gfx_widget, gui_form, gui_label, gui_button, - gui_listbox, gui_memo, gui_combobox, gui_grid, - gui_dialogs, gui_checkbox, gui_tree, gui_trackbar, - gui_progressbar, gui_radiobutton, gui_tab, gui_menu, - gui_bevel; + SysUtils, Classes, fpg_base, fpg_main, fpg_edit, + fpg_widget, fpg_form, fpg_label, fpg_button, + fpg_listbox, fpg_memo, fpg_combobox, fpg_grid, + fpg_dialogs, fpg_checkbox, fpg_tree, fpg_trackbar, + fpg_progressbar, fpg_radiobutton, fpg_tab, fpg_menu, + fpg_panel; type @@ -37,7 +37,7 @@ type implementation uses - gfx_command_intf, + fpg_command_intf, commands; {@VFD_NEWFORM_IMPL} diff --git a/examples/gui/splashscreen/frm_splashscreen.pas b/examples/gui/splashscreen/frm_splashscreen.pas index 6001a8ee..46433ab0 100644 --- a/examples/gui/splashscreen/frm_splashscreen.pas +++ b/examples/gui/splashscreen/frm_splashscreen.pas @@ -5,12 +5,12 @@ unit frm_splashscreen; interface uses - SysUtils, Classes, gfxbase, fpgfx, gui_edit, - gfx_widget, gui_form, gui_label, gui_button, - gui_listbox, gui_memo, gui_combobox, gui_grid, - gui_dialogs, gui_checkbox, gui_tree, gui_trackbar, - gui_progressbar, gui_radiobutton, gui_tab, gui_menu, - gui_bevel, gui_popupcalendar, gui_gauge; + SysUtils, Classes, fpg_base, fpg_main, fpg_edit, + fpg_widget, fpg_form, fpg_label, fpg_button, + fpg_listbox, fpg_memo, fpg_combobox, fpg_grid, + fpg_dialogs, fpg_checkbox, fpg_tree, fpg_trackbar, + fpg_progressbar, fpg_radiobutton, fpg_tab, fpg_menu, + fpg_panel, fpg_popupcalendar, fpg_gauge; type diff --git a/examples/gui/splashscreen/test.lpi b/examples/gui/splashscreen/test.lpi index fdc9656c..d347a75a 100644 --- a/examples/gui/splashscreen/test.lpi +++ b/examples/gui/splashscreen/test.lpi @@ -55,10 +55,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/splashscreen/test.lpr b/examples/gui/splashscreen/test.lpr index 008d602b..296caa4f 100644 --- a/examples/gui/splashscreen/test.lpr +++ b/examples/gui/splashscreen/test.lpr @@ -6,7 +6,7 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, fpgfx, gui_form, frm_main, commands, frm_splashscreen; + Classes, fpg_main, fpg_form, frm_main, commands, frm_splashscreen; procedure MainProc; diff --git a/examples/gui/splitter/splitter_test.lpi b/examples/gui/splitter/splitter_test.lpi index b01ce023..431f5ffe 100644 --- a/examples/gui/splitter/splitter_test.lpi +++ b/examples/gui/splitter/splitter_test.lpi @@ -40,7 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> + <Version Value="8"/> <CodeGeneration> <SmartLinkUnit Value="True"/> <Checks> @@ -49,7 +49,6 @@ <OverflowChecks Value="True"/> <StackChecks Value="True"/> </Checks> - <Generate Value="Faster"/> </CodeGeneration> <Linking> <Debugging> diff --git a/examples/gui/splitter/splitter_test.lpr b/examples/gui/splitter/splitter_test.lpr index 82374f7a..9aff9293 100644 --- a/examples/gui/splitter/splitter_test.lpr +++ b/examples/gui/splitter/splitter_test.lpr @@ -6,9 +6,9 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - SysUtils, Classes, gfxbase, fpgfx, - gui_form, gui_memo, gui_listbox, - gui_panel, gui_progressbar, gui_splitter, gui_checkbox; + SysUtils, Classes, fpg_base, fpg_main, + fpg_form, fpg_memo, fpg_listbox, + fpg_panel, fpg_progressbar, fpg_splitter, fpg_checkbox; type { TfrmSplitterTest } diff --git a/examples/gui/sprites/spritedemo.lpi b/examples/gui/sprites/spritedemo.lpi index d1a1eff7..d5109e71 100644 --- a/examples/gui/sprites/spritedemo.lpi +++ b/examples/gui/sprites/spritedemo.lpi @@ -41,10 +41,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/sprites/spritedemo.lpr b/examples/gui/sprites/spritedemo.lpr index 12adc82c..5de6e813 100644 --- a/examples/gui/sprites/spritedemo.lpr +++ b/examples/gui/sprites/spritedemo.lpr @@ -7,7 +7,7 @@ uses cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, - gfxbase, fpgfx, gui_form, gfx_imgfmt_bmp; + fpg_base, fpg_main, fpg_form, fpg_imgfmt_bmp; type diff --git a/examples/gui/stdimages/stdimglist.lpi b/examples/gui/stdimages/stdimglist.lpi index 53d35a7e..d136ae4d 100644 --- a/examples/gui/stdimages/stdimglist.lpi +++ b/examples/gui/stdimages/stdimglist.lpi @@ -39,10 +39,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/stdimages/stdimglist.lpr b/examples/gui/stdimages/stdimglist.lpr index 1bcdcb91..c70f6a0d 100644 --- a/examples/gui/stdimages/stdimglist.lpr +++ b/examples/gui/stdimages/stdimglist.lpr @@ -4,7 +4,7 @@ program stdimglist; uses Classes, SysUtils, - fpgfx, gfxbase, gui_form, gfx_imgfmt_bmp, gui_button; + fpg_base, fpg_main, fpg_form, fpg_imgfmt_bmp, fpg_button; type diff --git a/examples/gui/tabtest/tabtest.lpi b/examples/gui/tabtest/tabtest.lpi index 5695f0ca..ac64bf44 100644 --- a/examples/gui/tabtest/tabtest.lpi +++ b/examples/gui/tabtest/tabtest.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/tabtest/tabtest.lpr b/examples/gui/tabtest/tabtest.lpr index e221e012..46d1a108 100644 --- a/examples/gui/tabtest/tabtest.lpr +++ b/examples/gui/tabtest/tabtest.lpr @@ -6,8 +6,9 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, fpgfx, gfx_widget, gfxbase, gui_form, gui_tab, gui_button, - gui_label, gui_edit, gui_checkbox, gui_combobox; + Classes, + fpg_main, fpg_base, fpg_widget, fpg_form, fpg_tab, fpg_button, + fpg_label, fpg_edit, fpg_checkbox, fpg_combobox; type TMainForm = class(TfpgForm) diff --git a/examples/gui/timertest/timertest.lpi b/examples/gui/timertest/timertest.lpi index c6e3b9ea..a27e074a 100644 --- a/examples/gui/timertest/timertest.lpi +++ b/examples/gui/timertest/timertest.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/timertest/timertest.lpr b/examples/gui/timertest/timertest.lpr index e4189a73..ab7c4fa6 100644 --- a/examples/gui/timertest/timertest.lpr +++ b/examples/gui/timertest/timertest.lpr @@ -6,7 +6,8 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, SysUtils, fpgfx, gfxbase, gui_form, gui_button, gui_label; + Classes, SysUtils, + fpg_base, fpg_main, fpg_form, fpg_button, fpg_label; type TMainForm = class(TfpgForm) diff --git a/examples/gui/treeviewtest/treeviewtest.lpi b/examples/gui/treeviewtest/treeviewtest.lpi index 9251c5f5..8941afce 100644 --- a/examples/gui/treeviewtest/treeviewtest.lpi +++ b/examples/gui/treeviewtest/treeviewtest.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits"/> <CompilerPath Value="$(CompPath)"/> diff --git a/examples/gui/treeviewtest/treeviewtest.lpr b/examples/gui/treeviewtest/treeviewtest.lpr index f45a07c5..f47f8c37 100644 --- a/examples/gui/treeviewtest/treeviewtest.lpr +++ b/examples/gui/treeviewtest/treeviewtest.lpr @@ -8,12 +8,12 @@ uses {$ENDIF}{$ENDIF} Classes, SysUtils, - fpgfx, - gui_form, - gui_tree, - gui_checkbox, - gfxbase, - gfx_imagelist; + fpg_base, + fpg_main, + fpg_form, + fpg_tree, + fpg_checkbox, + fpg_imagelist; type @@ -60,6 +60,8 @@ begin imagelist := TfpgImageList.Create; imagelist.AddItemFromFile(SetDirSeparators('../../../images/folder_16.bmp'), 0); imagelist.AddItemFromFile(SetDirSeparators('../../../images/menu_preferences_16.bmp'), 1); + imagelist.Item[1].Image.CreateMaskFromSample(0, 0); + imagelist.Item[1].Image.UpdateImage; // create a treeview tree := TfpgTreeView.Create(self); diff --git a/examples/gui/wulinetest/wuline_test.lpi b/examples/gui/wulinetest/wuline_test.lpi index 4a0111f6..7a54bb83 100644 --- a/examples/gui/wulinetest/wuline_test.lpi +++ b/examples/gui/wulinetest/wuline_test.lpi @@ -40,10 +40,7 @@ </Units> </ProjectOptions> <CompilerOptions> - <Version Value="5"/> - <CodeGeneration> - <Generate Value="Faster"/> - </CodeGeneration> + <Version Value="8"/> <Other> <CustomOptions Value="-FUunits "/> diff --git a/examples/gui/wulinetest/wuline_test.lpr b/examples/gui/wulinetest/wuline_test.lpr index 17b4ec3c..57632036 100644 --- a/examples/gui/wulinetest/wuline_test.lpr +++ b/examples/gui/wulinetest/wuline_test.lpr @@ -6,8 +6,9 @@ uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} - Classes, SysUtils, gfxbase, fpgfx, gui_form, gui_button, math, - gfx_imgfmt_bmp, gfx_wuline, gui_bevel, gui_radiobutton; + Classes, SysUtils, + fpg_base, fpg_main, fpg_form, fpg_button, math, + fpg_imgfmt_bmp, fpg_wuline, fpg_panel, fpg_radiobutton; type |