mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:50:37 +00:00
NSScrollView: create stubs for inset properties
Create stubs for the content/scroller inset properties in NSScrollView.
This commit is contained in:
parent
ecb4178417
commit
62ec654335
2 changed files with 66 additions and 0 deletions
|
@ -164,6 +164,23 @@ typedef NSInteger NSScrollElasticity;
|
|||
- (void)setAllowsMagnification:(BOOL)m;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
|
||||
#if GS_HAS_DECLARED_PROPERTIES
|
||||
@property BOOL automaticallyAdjustsContentInsets;
|
||||
@property NSEdgeInsets contentInsets;
|
||||
@property NSEdgeInsets scrollerInsets;
|
||||
#else
|
||||
- (BOOL)automaticallyAdjustsContentInsets;
|
||||
- (void)setAutomaticallyAdjustsContentInsets: (BOOL)adjusts;
|
||||
|
||||
- (NSEdgeInsets)contentInsets;
|
||||
- (void)setContentInsets:(NSEdgeInsets)edgeInsets;
|
||||
|
||||
- (NSEdgeInsets)scrollerInsets;
|
||||
- (void)setScrollerInsets:(NSEdgeInsets)insets;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Updating display after scrolling */
|
||||
- (void)reflectScrolledClipView:(NSClipView*)aClipView;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue