summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-06-08 12:51:38 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-06-08 12:51:38 +0000
commit5d7f42585b49d75e99b6f12bcb4011148a8a4b47 (patch)
tree92ead4067f0d37e7c35be2be4e212283433e763d /FL
parentfbeb7fc7756fb788a5862eba4e9730f035f48643 (diff)
Fix test for OpenGL libraries - not == xno, but != xyes.
Add some other NEdit text display data that wasn't in the current implementation (wrap + line number stuff). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Text_Display.H14
1 files changed, 12 insertions, 2 deletions
diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H
index 02b638f89..754cc10cb 100644
--- a/FL/Fl_Text_Display.H
+++ b/FL/Fl_Text_Display.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Text_Display.H,v 1.4.2.6 2002/05/21 11:14:57 easysw Exp $"
+// "$Id: Fl_Text_Display.H,v 1.4.2.7 2002/06/08 12:51:38 easysw Exp $"
//
// Header file for Fl_Text_Display class.
//
@@ -219,10 +219,20 @@ class Fl_Text_Display: public Fl_Group {
uchar textfont_;
uchar textsize_;
unsigned textcolor_;
+
+ // The following are not presently used from the original NEdit
+ // code, but are being put here so that future versions of
+ // Fl_Text_Display can implement wrapping and line numbers
+ // without breaking binary compatibility.
+ int mLineNumLeft, mLineNumWidth;
+ /* Line number margin and width */
+ int mContinuousWrap; /* Wrap long lines when displaying */
+ int mWrapMargin; /* Margin in # of char positions for
+ wrapping in continuousWrap mode */
};
#endif
//
-// End of "$Id: Fl_Text_Display.H,v 1.4.2.6 2002/05/21 11:14:57 easysw Exp $".
+// End of "$Id: Fl_Text_Display.H,v 1.4.2.7 2002/06/08 12:51:38 easysw Exp $".
//