home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!ukma!netsys!decwrl!concert!samba!usenet
- From: Kevin.Gamiel@launchpad.unc.edu (Kevin Gamiel)
- Subject: Re: DEVGUIDE: how to handle *many* rectbuttons (or not)
- Message-ID: <1992Nov9.200318.4393@samba.oit.unc.edu>
- Keywords: devguide, olit, rectbutton
- Sender: usenet@samba.oit.unc.edu
- Nntp-Posting-Host: lambada.oit.unc.edu
- Organization: University of North Carolina Extended Bulletin Board Service
- References: <joagre.721080110@London>
- Date: Mon, 9 Nov 1992 20:03:18 GMT
- Lines: 27
-
-
- -We are constructing a scheduler for our department that
- -is going to show 160-320 lectures at once as rectangles
- -showing lecture, lecturer, lecture room.
- -We are going to build the interface with devguide using the
- -OLIT widget set and we ask ourselves:
-
- -Should we...
-
- -1. Represent all lectures as rectbuttons with a bitmapped content
- - and thus using the built in check for mouse-clicks in a button?
-
- -2. Build all rectangles on a canvas with Xlib drawing calls and do
- - our own mouse tracking?
-
- If you choose #2, have fun! I obviously don't know the specifics for your
- design, but why not have a scrolling list box that contains the lectures
- and as each lecture is selected, display any bitmaps, text, audio, etc.
- associated with that lecture? This is an off-the-shelf design that would
- give you more flexibility as well as speedy implementation.
-
- Kevin
- --
- The opinions expressed are not necessarily those of the University of
- North Carolina at Chapel Hill, the Campus Office for Information
- Technology, or the Experimental Bulletin Board Service.
- internet: laUNChpad.unc.edu or 152.2.22.80
-