summaryrefslogtreecommitdiff
path: root/FL/Fl_Input_.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2009-04-15 08:35:28 +0000
committerMatthias Melcher <fltk@matthiasm.com>2009-04-15 08:35:28 +0000
commitd3206f01ec18e61e8cd9c7e88b02a6313ab227fa (patch)
treeada81f236fbf8b967f5de8d45b39ad23cbd75d7f /FL/Fl_Input_.H
parentb214cef3a8d2d9ecf0df7bef7d10dcdfbca4d9d3 (diff)
More Fl_Input keyboard fixes / OS X transparency for RGBA data / some utf8 reorganisation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Input_.H')
-rw-r--r--FL/Fl_Input_.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H
index e72062c2f..dbddbd895 100644
--- a/FL/Fl_Input_.H
+++ b/FL/Fl_Input_.H
@@ -145,7 +145,7 @@ public:
Same as value()[n], but may be faster in plausible
implementations. No bounds checking is done.
*/
-char index(int i) const {return value_[i];}
+ char index(int i) const {return value_[i];}
/**
Returns the number of characters in value(). This
may be greater than strlen(value()) if there are nul
@@ -265,6 +265,10 @@ char index(int i) const {return value_[i];}
*/
void wrap(int b) { if (b) type((uchar)(type() | FL_INPUT_WRAP));
else type((uchar)(type() & ~FL_INPUT_WRAP)); }
+ /**
+ Return the number of lines displayed on a single page.
+ */
+ int linesPerPage();
};
#endif