Add private views for storing things in different gravity settings

This commit is contained in:
Gregory John Casamento 2021-05-17 01:06:59 -04:00
parent d415a75a03
commit a2b48d2103
2 changed files with 75 additions and 9 deletions

View file

@ -1,7 +1,7 @@
/* Definition of class NSStackView
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
By: Gregory John Casamento <greg.casamento@gmail.com>
Date: 08-08-2020
This file is part of the GNUstep Library.
@ -82,10 +82,16 @@ static const CGFloat NSStackViewSpacingUseDefault = FLT_MAX;
NSMutableArray *_arrangedSubviews;
NSMutableArray *_detachedViews;
NSMutableArray *_views;
// Gravity
NSView *_topGravity;
NSView *_leadingGravity;
NSView *_centerGravity;
NSView *_bottomGravity;
NSView *_trailingGravity;
NSMapTable *_customSpacingMap;
NSMapTable *_gravityMap;
NSMapTable *_visiblePriorityMap;
NSMapTable *_clippingMap;
}
// Properties