A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/UInt2048/CyberKit/commit/688c678f5a3204926f6e005f75f23433bf565153 below:

Corrections · UInt2048/CyberKit@688c678 · GitHub

File tree Expand file treeCollapse file tree 4 files changed

+14

-2

lines changed

Filter options

Expand file treeCollapse file tree 4 files changed

+14

-2

lines changed Original file line number Diff line number Diff line change

@@ -73,9 +73,14 @@ DestinationColorSpace NativeImage::colorSpace() const

73 73

void NativeImage::draw(GraphicsContext& context, const FloatSize& imageSize, const FloatRect& destinationRect, const FloatRect& sourceRect, const ImagePaintingOptions& options)

74 74

{

75 75

auto isHDRColorSpace = [](CGColorSpaceRef colorSpace) -> bool {

76 +

#if !PLATFORM(IOS) || __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000

76 77

ALLOW_DEPRECATED_DECLARATIONS_BEGIN

77 78

return CGColorSpaceIsHDR(colorSpace);

78 79

ALLOW_DEPRECATED_DECLARATIONS_END

80 +

#else

81 +

UNUSED_PARAM(colorSpace);

82 +

return false;

83 +

#endif

79 84

};

80 85 81 86

auto isHDRNativeImage = [&](const NativeImage& image) -> bool {

Original file line number Diff line number Diff line change

@@ -1197,7 +1197,7 @@ - (void)_restorePageStateToUnobscuredCenter:(std::optional<CyberCore::FloatPoint

1197 1197 1198 1198

- (RefPtr<CyberKit::ViewSnapshot>)_takeViewSnapshot

1199 1199

{

1200 -

#if HAVE(CORE_ANIMATION_RENDER_SERVER) && 0

1200 +

#if HAVE(CORE_ANIMATION_RENDER_SERVER)

1201 1201

float deviceScale = CyberCore::screenScaleFactor();

1202 1202

CyberCore::FloatSize snapshotSize(self.bounds.size);

1203 1203

snapshotSize.scale(deviceScale);

Original file line number Diff line number Diff line change

@@ -212,17 +212,21 @@ - (void)dealloc

212 212

- (void)setSupportedOrientations:(UIInterfaceOrientationMask)supportedOrientations

213 213

{

214 214

_supportedOrientations = supportedOrientations;

215 +

#if !PLATFORM(IOS) || __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000

215 216

if (@available(iOS 16.0, *)) {

216 217

[self setNeedsUpdateOfSupportedInterfaceOrientations];

217 218

}

219 +

#endif

218 220

}

219 221 220 222

- (void)resetSupportedOrientations

221 223

{

222 224

_supportedOrientations = std::nullopt;

225 +

#if !PLATFORM(IOS) || __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000

223 226

if (@available(iOS 16.0, *)) {

224 227

[self setNeedsUpdateOfSupportedInterfaceOrientations];

225 228

}

229 +

#endif

226 230

}

227 231 228 232

- (UIInterfaceOrientationMask)supportedInterfaceOrientations

Original file line number Diff line number Diff line change

@@ -1135,7 +1135,10 @@

1135 1135

#define HAVE_AUDIOSESSION_PROCESSASSERTION 1

1136 1136

#endif

1137 1137 1138 -

#if PLATFORM(COCOA)

1138 +

#if (PLATFORM(MAC) \

1139 +

|| ((PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000) \

1140 +

|| (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MAX_ALLOWED >= 90000) \

1141 +

|| (PLATFORM(APPLETV) && __TV_OS_VERSION_MAX_ALLOWED >= 160000))

1139 1142

#define HAVE_NSTEXTLIST_MARKER_FORMATS 1

1140 1143

#endif

1141 1144

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4