summaryrefslogtreecommitdiff
path: root/src/Fl_Text_Display.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-05-21 11:14:59 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-05-21 11:14:59 +0000
commit23cfc372a0dab95c688190f49614c1b9090cc435 (patch)
treea68cce3f557d44c3a09a497f3f102ed30ee10ce3 /src/Fl_Text_Display.cxx
parent0104b4abc53eaf2d77c7407a01d09a886885d92e (diff)
Fix links inside PRE
Make style data const in Fl_Text_Display. Use INT input only when step() is an integral value. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Display.cxx')
-rw-r--r--src/Fl_Text_Display.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx
index 4be0e9aed..74303de78 100644
--- a/src/Fl_Text_Display.cxx
+++ b/src/Fl_Text_Display.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Text_Display.cxx,v 1.12.2.13 2002/04/11 11:52:42 easysw Exp $"
+// "$Id: Fl_Text_Display.cxx,v 1.12.2.14 2002/05/21 11:14:59 easysw Exp $"
//
// Copyright 2001-2002 by Bill Spitzak and others.
// Original code Copyright Mark Edel. Permission to distribute under
@@ -167,7 +167,7 @@ void Fl_Text_Display::buffer( Fl_Text_Buffer *buf ) {
*/
void
Fl_Text_Display::highlight_data(Fl_Text_Buffer *styleBuffer,
- Style_Table_Entry *styleTable,
+ const Style_Table_Entry *styleTable,
int nStyles, char unfinishedStyle,
Unfinished_Style_Cb unfinishedHighlightCB,
void *cbArg ) {
@@ -1036,7 +1036,7 @@ void Fl_Text_Display::draw_vline(int visLineNum, int leftClip, int rightClip,
*/
void Fl_Text_Display::draw_string( int style, int X, int Y, int toX,
const char *string, int nChars ) {
- Style_Table_Entry * styleRec;
+ const Style_Table_Entry * styleRec;
/* Draw blank area rather than text, if that was the request */
if ( style & FILL_MASK ) {
@@ -1958,5 +1958,5 @@ int Fl_Text_Display::handle(int event) {
//
-// End of "$Id: Fl_Text_Display.cxx,v 1.12.2.13 2002/04/11 11:52:42 easysw Exp $".
+// End of "$Id: Fl_Text_Display.cxx,v 1.12.2.14 2002/05/21 11:14:59 easysw Exp $".
//