Re: Scrollable class?

Vernon Mauery <[email protected]> Fri, 10 Oct 2003 09:55:25 -0600
Newsgroups gmane.comp.embedded.stk.gui.devel
Message-ID <[email protected]>
On Fri, 2003-10-10 at 08:24, Darren Vincent Hart wrote:
> Team,
> 
> As I have been working on scroll_box and scroll_bar I have had some
> concerns / thoughts I want some feedback on.
> 
> As things are now, a scroll_box is simply a viewport with 2
> scroll_bars.  This works great for images and maybe spreadsheets, but
> not much else.  It seems to me that the things we will want in a
> scrollbox are: text_area, list, spreadsheet?, viewport... anything
> else?  Would it make sense to create a "scrollable" base class and have
> each of these derive from that?  That way a scroll_box would be able to
> use the scroll_models of each of the concrete scrollable classes, rather
> than just that of viewport.  (You can't place a list or text_area in a
> viewport and get the expected results).
> 
> Thoughts / Flames / Comments ?

I think a scrollable class might be a good idea.  Especially since each
scrollable might want to behave slightly different than the rest, but
they could all have the same basic interface to deal with them.

> Darren
> 
> 
> _______________________________________________
> Libstk mailing list
> [email protected]
> http://www.dvhart.com/cgi-bin/mailman/listinfo/libstk
-- 
Vernon Mauery

Performace Evaluation Lab
Computer Science Department
Brigham Young University

[email protected]
http://pel.cs.byu.edu/research/Pods/
Work: 801-422-5799
Cell: 801-362-9659