summaryrefslogtreecommitdiff
path: root/src/fl_labeltype.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-12-02 15:39:39 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-12-02 15:39:39 +0000
commit849e11623e44a62599d62ba9425f7e96146f555d (patch)
treed36643917eb5f059da6073b8eb07f202d24b0105 /src/fl_labeltype.cxx
parentdb1205b420680cd6ee13372628cb4bbbb06f1e06 (diff)
Changes from Carl to get rid of default_ variables...
git-svn-id: file:///fltk/svn/fltk/trunk@106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_labeltype.cxx')
-rw-r--r--src/fl_labeltype.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/fl_labeltype.cxx b/src/fl_labeltype.cxx
index d094a2759..b9f8ace53 100644
--- a/src/fl_labeltype.cxx
+++ b/src/fl_labeltype.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_labeltype.cxx,v 1.3 1998/10/21 14:20:53 mike Exp $"
+// "$Id: fl_labeltype.cxx,v 1.4 1998/12/02 15:39:37 mike Exp $"
//
// Label drawing routines for the Fast Light Tool Kit (FLTK).
//
@@ -102,17 +102,12 @@ void Fl_Widget::draw_label(int X, int Y, int W, int H) const {
draw_label(X,Y,W,H,align());
}
-Fl_Font Fl_Widget::default_font_;
-int Fl_Widget::default_size_;
-
// Anybody can call this to force the label to draw anywhere:
extern char fl_draw_shortcut;
void Fl_Widget::draw_label(int X, int Y, int W, int H, Fl_Align a) const {
if (flags()&SHORTCUT_LABEL) fl_draw_shortcut = 1;
Fl_Label l1 = label_;
if (!active_r()) l1.color |= 8;
- if (l1.font<4) l1.font |= default_font_;
- l1.size += default_size_;
l1.draw(X,Y,W,H,a);
fl_draw_shortcut = 0;
}
@@ -121,10 +116,6 @@ void Fl_Widget::draw_label(int X, int Y, int W, int H, Fl_Align a) const {
// Fl_Input_ code:
#include <FL/Fl_Input_.H>
-Fl_Boxtype Fl_Input_::default_box_ = FL_DOWN_BOX;
-Fl_Font Fl_Input_::default_font_;
-int Fl_Input_::default_size_;
-
//
-// End of "$Id: fl_labeltype.cxx,v 1.3 1998/10/21 14:20:53 mike Exp $".
+// End of "$Id: fl_labeltype.cxx,v 1.4 1998/12/02 15:39:37 mike Exp $".
//