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/gui/treeviewtest | |
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/gui/treeviewtest')
-rw-r--r-- | examples/gui/treeviewtest/treeviewtest.lpi | 5 | ||||
-rw-r--r-- | examples/gui/treeviewtest/treeviewtest.lpr | 14 |
2 files changed, 9 insertions, 10 deletions
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); |