mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:10:37 +00:00
NS{Cell,View}: implement stubs for layout direction handling
Implement stubs for the layout direction properties in NSCell and NSView. Currently, they default to left-to-right layouting.
This commit is contained in:
parent
05c58fe023
commit
758d524547
4 changed files with 44 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
|
||||
#import <AppKit/NSGraphicsContext.h>
|
||||
#import <AppKit/NSResponder.h>
|
||||
#import <AppKit/NSUserInterfaceLayout.h>
|
||||
|
||||
@class NSArray;
|
||||
@class NSAttributedString;
|
||||
|
@ -628,6 +629,15 @@ PACKAGE_SCOPE
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_8, GS_API_LATEST)
|
||||
#if GS_HAS_DECLARED_PROPERTIES
|
||||
@property NSUserInterfaceLayoutDirection userInterfaceLayoutDirection;
|
||||
#else
|
||||
- (NSUserInterfaceLayoutDirection) userInterfaceLayoutDirection;
|
||||
- (void) setUserInterfaceLayoutDirection: (NSUserInterfaceLayoutDirection)dir;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue