|
|
On 29 Apr 2006, at 8:32, Anonymous wrote:
Hi all,
Is someone can show me how to scroll some text lines
whith a Fl_Scrollbar widget ?
If you specifically want to manipulate text, it would be much simpler
to use a Fl_Browser or Fl_Text_Editor widget, which takes care of
handling the scroll bars, etc., for you automatically.
There are examples of both in the test directory, try copying one of
those examples and extending it to match your needs... see the files
test/browser.cxx or test/editor.cxx
--
Ian
[ Direct Link to Message ] | |
|
| |