comparison foosdk/sdk/foobar2000/helpers-mac/NSView+embed.h @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
comparison
equal deleted inserted replaced
0:e9bb126753e7 1:20d02a178406
1 #import <Cocoa/Cocoa.h>
2
3 #if 0
4 @interface NSView (embed)
5 - (void) embedInView: (NSView*) superview; // uses autoresizingMask
6 - (void) embedInViewV2: (NSView*) superview; // adds autolayout constraints
7 @end
8 #endif
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 void NSViewEmbed( NSView * superview, NSView * childview );
15 void NSViewEmbedConstraints( NSView * superview, NSView * childview );
16
17 #ifdef __cplusplus
18 } // extern "C"
19 #endif