🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.interviews
1 messages
1 total messages Started by Jim Hemmer Wed, 27 Jan 1993 14:44
Tabs
#1581
Author: 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       |
================================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads