Well, this fixes the tab display oddities that Marcus and Stephen were
seeing. It took a long time to figure out, so I'm not sure how worthwhile
it was ...
andy
2000-11-24 Andy Piper <andy(a)xemacs.org>
* xlwtabsP.h: add visible flag, realRows and remove displayChildren.
* xlwtabs.c (TabVisible): new macro. Consults visible flag.
(TabsInit): remove displayChildren, add realRows.
(TabsConstraintInitialize): ditto.
(TabsResize): ditto.
(TabsGeometryManager): ditto.
(TabsChangeManaged): ditto.
(TabsSelect): ditto.
(TabsPage): ditto.
(TabsHighlight): ditto.
(DrawTabs): ditto.
(TabLayout): Caclulate rows for all children and whether they
should be visible or not..
(TabsShuffleRows): shuffle rows based on both real and displayed
rows. Adjust visibility of all children.
(PreferredSize): ditto.
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd