summaryrefslogtreecommitdiff
path: root/gui/windowsstyle.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@users.sourceforge.net>2007-03-08 14:47:04 +0000
committerGraeme Geldenhuys <graemeg@users.sourceforge.net>2007-03-08 14:47:04 +0000
commit41c63d039e88f4aa3e2bc74d28f0e4b892ac0fe1 (patch)
tree1d65306fdff90b1e82d3538a82a976dcf2cef1ff /gui/windowsstyle.pas
parent6615b82afe97f92af4d1c0f7fb2e6b82b44c7ace (diff)
downloadfpGUI-41c63d039e88f4aa3e2bc74d28f0e4b892ac0fe1.tar.xz
* Reworked the Style Manager to behave like a factory pattern.
* New and custom styles can now register themselves with the gStyleManager * I've split all the concrete styles into seperate units. * I've rename the TStyle to TStyleAbs which more clearly shows what it is. * Renamed TDefaultStyle to TBasicStyle to show that it it implements the basic drawing routines for a style and is recommended for custom styles to descend from.
Diffstat (limited to 'gui/windowsstyle.pas')
-rw-r--r--gui/windowsstyle.pas39
1 files changed, 39 insertions, 0 deletions
diff --git a/gui/windowsstyle.pas b/gui/windowsstyle.pas
new file mode 100644
index 00000000..550d490b
--- /dev/null
+++ b/gui/windowsstyle.pas
@@ -0,0 +1,39 @@
+{
+ fpGUI - Free Pascal GUI Library
+
+ Windows style implementation
+
+ 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,
+ for details about redistributing fpGUI.
+
+ 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.
+}
+
+unit WindowsStyle;
+
+{$mode objfpc}{$H+}
+
+interface
+
+uses
+ Classes
+ ,SysUtils
+ ,fpGUI
+ ;
+
+
+type
+
+ TWindowsStyle = class(TBasicStyle)
+ end;
+
+implementation
+
+
+end.
+