mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:20:38 +00:00
Refactor layout core methods implementation to use ivars
This commit is contained in:
parent
571ad7a613
commit
75fcf49b62
5 changed files with 62 additions and 82 deletions
|
@ -180,6 +180,8 @@ PACKAGE_SCOPE
|
|||
BOOL _is_hidden;
|
||||
BOOL _in_live_resize;
|
||||
BOOL _needsLayout;
|
||||
BOOL _needsUpdateConstraints;
|
||||
BOOL _translatesAutoresizingMaskIntoConstraints;
|
||||
|
||||
NSUInteger _autoresizingMask;
|
||||
NSFocusRingType _focusRingType;
|
||||
|
@ -656,6 +658,20 @@ PACKAGE_SCOPE
|
|||
-(BOOL) needsLayout;
|
||||
-(void) setNeedsLayout: (BOOL)needsLayout;
|
||||
#endif
|
||||
|
||||
#if GS_HAS_DECLARED_PROPERTIES
|
||||
@property (nonatomic) BOOL needsUpdateConstraints;
|
||||
#else
|
||||
- (BOOL) needsUpdateConstraints;
|
||||
- (void) setNeedsUpdateConstraints: (BOOL)needsUpdateConstraints;
|
||||
#endif
|
||||
|
||||
#if GS_HAS_DECLARED_PROPERTIES
|
||||
@property BOOL translatesAutoresizingMaskIntoConstraints;
|
||||
#else
|
||||
- (BOOL) translatesAutoresizingMaskIntoConstraints;
|
||||
- (void) setTranslatesAutoresizingMaskIntoConstraints: (BOOL)translatesAutoresizingMaskIntoConstraints;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue