Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0)

project(PiP)

add_compile_options(-fobjc-arc -Wno-deprecated-declarations -Wno-format)
add_compile_options(-fobjc-arc -Wno-deprecated-declarations -Wno-format -mmacosx-version-min=14.0)

set(frameworks AVFoundation Cocoa VideoToolbox AudioToolbox CoreMedia QuartzCore OpenGL Metal MetalKit PIP SkyLight ScreenCaptureKit)
list(TRANSFORM frameworks PREPEND "-framework ")
Expand Down
4 changes: 4 additions & 0 deletions pip/preferences.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ typedef enum{
NSObject* getPref(NSString* key);
NSObject* getPrefOption(NSString* key);
void setPref(NSString* key, NSObject* val);
NSArray* getDisplayList(void);
NSString* getDisplayNameForId(CGDirectDisplayID displayId);
void setCustomDisplayName(CGDirectDisplayID displayId, NSString* name);
void showDisplayNamesPanel(void);

@interface Preferences : NSPanel<NSWindowDelegate, NSTableViewDelegate, NSTableViewDataSource>

Expand Down
Loading