summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@users.sourceforge.net>2007-03-07 15:53:00 +0000
committerGraeme Geldenhuys <graemeg@users.sourceforge.net>2007-03-07 15:53:00 +0000
commit6615b82afe97f92af4d1c0f7fb2e6b82b44c7ace (patch)
tree4408ca138fce1f5c9b7c8809c0c47f64b1d8841a /gfx
parente6714f4d892945103ef0e0339f101f958b40baf4 (diff)
downloadfpGUI-6615b82afe97f92af4d1c0f7fb2e6b82b44c7ace.tar.xz
* Extending the StyleManager to behave like a class factory. All Style classes will register with the factory and the factory will create the styles as needed.
Diffstat (limited to 'gfx')
-rw-r--r--gfx/fpgfx.pas2
-rw-r--r--gfx/gfxbase.pas5
-rw-r--r--gfx/x11/gfx_x11.pas2
-rw-r--r--gfx/x11/gfxinterface.pas2
4 files changed, 6 insertions, 5 deletions
diff --git a/gfx/fpgfx.pas b/gfx/fpgfx.pas
index f5befce6..2ad60511 100644
--- a/gfx/fpgfx.pas
+++ b/gfx/fpgfx.pas
@@ -3,7 +3,7 @@
fpGFX - Main unit for the core drawing engine of fpGUI
- Copyright (C) 2000 - 2006 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2007 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/gfx/gfxbase.pas b/gfx/gfxbase.pas
index 7ca51cb0..40800d67 100644
--- a/gfx/gfxbase.pas
+++ b/gfx/gfxbase.pas
@@ -1373,13 +1373,14 @@ procedure TFCustomApplication.Run;
begin
DoBreakRun := False;
- if gCommandLineParams.IsParam('?') then
+ if gCommandLineParams.IsParam('?') or gCommandLineParams.IsParam('help') then
begin
+ writeln(' ');
writeln(' The following parameters are supported by fpGUI applications.');
writeln(' ');
writeln(' -? Shows this help');
writeln(' -display fpGUI/X11 only: sets the display to use');
- writeln(' -style Overrides the default (autodetected) GUI style');
+ writeln(' -style Overrides the default (auto detected) GUI style');
writeln(' ');
DoBreakRun := True;
end;
diff --git a/gfx/x11/gfx_x11.pas b/gfx/x11/gfx_x11.pas
index 1f217621..80a1fadb 100644
--- a/gfx/x11/gfx_x11.pas
+++ b/gfx/x11/gfx_x11.pas
@@ -3,7 +3,7 @@
GFX_X11 - X11/XLib target implementation
- Copyright (C) 2000 - 2006 See the file AUTHORS, included in this
+ Copyright (C) 2006 - 2007 See the file AUTHORS, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
diff --git a/gfx/x11/gfxinterface.pas b/gfx/x11/gfxinterface.pas
index ed1664c4..c35db50c 100644
--- a/gfx/x11/gfxinterface.pas
+++ b/gfx/x11/gfxinterface.pas
@@ -3,7 +3,7 @@
GFXInterface - Default target selection unit for X11 target
- Copyright (C) 2000 - 2006 See the file AUTHORS, included in this
+ Copyright (C) 2006 - 2007 See the file AUTHORS, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,