summaryrefslogtreecommitdiff
path: root/src/forms_compatability.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-08-06 03:17:43 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-08-06 03:17:43 +0000
commit28c0d4ffa1ccd9828f00be1c96405484b5e5d681 (patch)
tree1d3b2b901ccbfdf6e50168f7ff51dd7954b50c3c /src/forms_compatability.cxx
parent7ebaf77cdcbcadb4706c87f1662730a4687caf20 (diff)
Symbols are now supported by main label drawing code - @@ to insert a
single @. Currently only 1 symbol per label, at the beginning or end of the label string, with the remaining text (and image) getting formatted as usual. The size of the symbol == lines * labelsize, unless there is no text in which case the size == height of label area. Fl_Menu_Item::draw() didn't clear the image field in the Fl_Label structure. Removed Fl::enable_symbols(), which is now the default. Dropped FL_IMAGE_LABEL, FL_PIXMAP_LABEL, and FL_BITMAP_LABEL types, which are no longer needed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/forms_compatability.cxx')
-rwxr-xr-xsrc/forms_compatability.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/forms_compatability.cxx b/src/forms_compatability.cxx
index a420b44bc..8847e1446 100755
--- a/src/forms_compatability.cxx
+++ b/src/forms_compatability.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: forms_compatability.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $"
+// "$Id: forms_compatability.cxx,v 1.5.2.3.2.1 2001/08/06 03:17:43 easysw Exp $"
//
// Forms compatibility functions for the Fast Light Tool Kit (FLTK).
//
@@ -89,8 +89,6 @@ char fl_modal_next; // set by fl_freeze_forms()
void fl_show_form(Fl_Window *f,int place,int b,const char *n) {
- Fl::enable_symbols();
-
f->label(n);
if (!b) f->clear_border();
if (fl_modal_next || b==FL_TRANSIENT) {f->set_modal(); fl_modal_next = 0;}
@@ -204,5 +202,5 @@ char *fl_show_simple_input(const char *str1, const char *defstr) {
}
//
-// End of "$Id: forms_compatability.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $".
+// End of "$Id: forms_compatability.cxx,v 1.5.2.3.2.1 2001/08/06 03:17:43 easysw Exp $".
//