🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1581

Tabs

#1581
From: Jim Hemmer
Date: Wed, 27 Jan 1993 14:44
26 lines
1558 bytes
I am trying to define a class Tab which would be used as
a special Character and would be placed in an LRComposition
with other Character instances  (see src/examples/preview/main.c)
Tab stops would be defined at specific horizontal locations.  

The problem is the width of a Tab instance is dependent on its
Horizontal position in the LRComposition.  For instance if a 
Tab is placed at 2 inch and the Tab instances location is 1.5 inch, 
the Tab's width would be (2 inch - 1.5 inch) = .5 inch.

When the LRCompositor requests the Tab's width, via ::request,
the horizontal location is unknown.

Any feedback on how Tab could be implemented would be appreciated.
-- 

================================
| Hughes STX Corporation       |
| EROS Data Center             |
| Sioux Falls, SD 57198        |
|                              |
| att: 605-594-6862            |
| fax: 605-594-6589            |
| hemmer@sg2.cr.usgs.gov       |
================================
Technical Details
Message-ID: <9301271444.AA13599@sg2.cr.usgs.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usenet.coe.montana.edu!saimiri.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!spool.mu.edu!agate!stanford.edu!SG2.CR.USGS.GOV!hemmer

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usenet.coe.montana.edu!saimiri.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!spool.mu.edu!agate!stanford.edu!SG2.CR.USGS.GOV!hemmer
From: hemmer@SG2.CR.USGS.GOV (Jim Hemmer)
Subject: Tabs
Message-ID: <9301271444.AA13599@sg2.cr.usgs.gov>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 27 Jan 1993 14:44:19 GMT
Lines: 28