summaryrefslogtreecommitdiff
path: root/examples/gfx/imgtest
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@users.sourceforge.net>2007-04-05 12:07:37 +0000
committerGraeme Geldenhuys <graemeg@users.sourceforge.net>2007-04-05 12:07:37 +0000
commit57848ff4bf8b9acf2d610a3eee6776fc6d57f0bc (patch)
treee04847dc1804ed20ab09b7d9a7f762ce17928f0d /examples/gfx/imgtest
parent38020d5baa685bb03910b02f057c2179db149723 (diff)
downloadfpGUI-57848ff4bf8b9acf2d610a3eee6776fc6d57f0bc.tar.xz
* Fixed bug in gfx_gdi with DoDrawImageRect. Only the first palette color could be set, then an AV occured.
* Fixed many include file headers * Reimplemented the images for CheckBox, RadiouButton and button Arrows in the TBasicStyle class. X11 stil has some palette issues, so manual drawing still occurs.
Diffstat (limited to 'examples/gfx/imgtest')
-rw-r--r--examples/gfx/imgtest/imgtest.pas4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/gfx/imgtest/imgtest.pas b/examples/gfx/imgtest/imgtest.pas
index 329f9cbf..06b5b3f3 100644
--- a/examples/gfx/imgtest/imgtest.pas
+++ b/examples/gfx/imgtest/imgtest.pas
@@ -16,6 +16,10 @@
program ImgTest;
+{$ifdef fpc}
+ {$mode objfpc}{$H+}
+{$endif}
+
uses
cmem,
Classes,