summaryrefslogtreecommitdiff
path: root/src/Fl_Dial.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2012-07-24 04:37:22 +0000
committerMatthias Melcher <fltk@matthiasm.com>2012-07-24 04:37:22 +0000
commit398acd9c2a73d0d5c69bb51f7f3497e229fb367c (patch)
tree1c7466ccccbe5dd68b23eb459ba4e045491df7fd /src/Fl_Dial.cxx
parente607c90877e3d2dbf352d0f794c6c81c6d264b4e (diff)
STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Dial.cxx')
-rw-r--r--src/Fl_Dial.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Fl_Dial.cxx b/src/Fl_Dial.cxx
index 1b6202bee..a29163ddc 100644
--- a/src/Fl_Dial.cxx
+++ b/src/Fl_Dial.cxx
@@ -18,10 +18,13 @@
#include <FL/Fl.H>
#include <FL/Fl_Dial.H>
+#include <FL/Fl_Fill_Dial.H>
+#include <FL/Fl_Line_Dial.H>
#include <FL/fl_draw.H>
#include <stdlib.h>
#include <FL/math.h>
+
// All angles are measured with 0 to the right and counter-clockwise
/**
Draws dial at given position and size.
@@ -152,6 +155,20 @@ Fl_Dial::Fl_Dial(int X, int Y, int W, int H, const char* l)
a2 = 315;
}
+
+Fl_Fill_Dial::Fl_Fill_Dial(int X,int Y,int W,int H, const char *L)
+: Fl_Dial(X,Y,W,H,L) {
+ type(FL_FILL_DIAL);
+}
+
+
+Fl_Line_Dial::Fl_Line_Dial(int X,int Y,int W,int H, const char *L)
+: Fl_Dial(X,Y,W,H,L)
+{
+ type(FL_LINE_DIAL);
+}
+
+
//
// End of "$Id$".
//