On Wed, Nov 28, 2001 at 06:23:52PM +0000, Angus Leeming wrote: > I think that it's clear that you should modify spaceTop() so that it returns > a new struct: > struct SomeSensibleName { > VSpace value; > VSpace stretch; > VSpace shrink; > }; > > Then we can access the data we require direct (and modify it easily!)
You might like to check out LyxGlueLength::plusValue() and friends ;) Also check out kde/qt2 code for this. regards john -- "They're talking about a submanifold of space which is a 2-dimensional torus whose cross-sectional radii are on the order of a millimeter. Please make some minimal attempt to understand what's being discussed before declaring it 'drivel'." - AC, /.