home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / atari / st / tech / 5603 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.3 KB

  1. Path: sparky!uunet!mcsun!uknet!gdt!aber!hrs
  2. From: hrs@aber.ac.uk (Herbert Martin Sauro)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Scrollable list boxes
  5. Message-ID: <1992Nov12.140816.14051@aber.ac.uk>
  6. Date: 12 Nov 92 14:08:16 GMT
  7. Organization: University of Wales, Aberystwyth
  8. Lines: 19
  9.  
  10. I am writing an application were I need scrollable list boxes in dialog
  11. boxes (eg. like the file selector list). Rather than write my own I was
  12. wondering whether anybody has any code already written to do this? Failing
  13. that what is the best strategy for writing a scrollable list? I have worked
  14. out that in order to make the scrolling fast and smooth I need to do some
  15. blitting, i.e.\ blit n-1 of the entries (n=no of items in scroll window)
  16. and write out the new line either at the top or bottom of the
  17. list. And what is the best strategy to write a smooth moving slider which
  18. will sit next to the list box? I have managed to write a relatively
  19. smooth moving slider but it's not perfect.
  20.  
  21. Once I've written it I'll send the source to a.a
  22.  
  23. Herb
  24. -- 
  25. /******************************************************************************
  26. Herbert Sauro                                   e-mail: hrs@aber.ac.uk
  27. Biological Sciences                              phone: +44 970 622353
  28. Univesity College of Wales                                                    
  29.