mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
Use modern name for macOS
In a few places I left references to the old name where appropriate. There are also many CMake references to "OSX" that we have to keep using since CMake does not offer alternative names for those variables and target properties.
This commit is contained in:
parent
b298b728f5
commit
ddfb7f6cb0
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -29,8 +29,8 @@ jobs:
|
|||||||
- { name: Linux GCC, os: ubuntu-22.04, flags: -DSFML_RUN_DISPLAY_TESTS=ON -GNinja }
|
- { name: Linux GCC, os: ubuntu-22.04, flags: -DSFML_RUN_DISPLAY_TESTS=ON -GNinja }
|
||||||
- { name: Linux Clang, os: ubuntu-22.04, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DSFML_RUN_DISPLAY_TESTS=ON -GNinja , gcovr_options: '--gcov-executable="llvm-cov-$CLANG_VERSION gcov"' }
|
- { name: Linux Clang, os: ubuntu-22.04, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DSFML_RUN_DISPLAY_TESTS=ON -GNinja , gcovr_options: '--gcov-executable="llvm-cov-$CLANG_VERSION gcov"' }
|
||||||
- { name: Linux Intel oneAPI, os: ubuntu-22.04, flags: -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -GNinja }
|
- { name: Linux Intel oneAPI, os: ubuntu-22.04, flags: -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -GNinja }
|
||||||
- { name: MacOS, os: macos-12, flags: -GNinja }
|
- { name: macOS, os: macos-12, flags: -GNinja }
|
||||||
- { name: MacOS Xcode, os: macos-12, flags: -GXcode }
|
- { name: macOS Xcode, os: macos-12, flags: -GXcode }
|
||||||
- { name: iOS, os: macos-12, flags: -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 }
|
- { name: iOS, os: macos-12, flags: -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 }
|
||||||
- { name: iOS Xcode, os: macos-12, flags: -DCMAKE_SYSTEM_NAME=iOS -GXcode -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO }
|
- { name: iOS Xcode, os: macos-12, flags: -DCMAKE_SYSTEM_NAME=iOS -GXcode -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO }
|
||||||
config:
|
config:
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
- platform: { name: Windows VS2022, os: windows-2022 }
|
- platform: { name: Windows VS2022, os: windows-2022 }
|
||||||
config: { name: OpenGL ES, flags: -DSFML_USE_MESA3D=TRUE -DBUILD_SHARED_LIBS=TRUE -DSFML_OPENGL_ES=ON }
|
config: { name: OpenGL ES, flags: -DSFML_USE_MESA3D=TRUE -DBUILD_SHARED_LIBS=TRUE -DSFML_OPENGL_ES=ON }
|
||||||
type: { name: Debug, flags: -DCMAKE_BUILD_TYPE=Debug -DSFML_ENABLE_COVERAGE=TRUE }
|
type: { name: Debug, flags: -DCMAKE_BUILD_TYPE=Debug -DSFML_ENABLE_COVERAGE=TRUE }
|
||||||
- platform: { name: MacOS, os: macos-12 }
|
- platform: { name: macOS, os: macos-12 }
|
||||||
config: { name: Frameworks, flags: -GNinja -DSFML_BUILD_FRAMEWORKS=TRUE -DBUILD_SHARED_LIBS=TRUE }
|
config: { name: Frameworks, flags: -GNinja -DSFML_BUILD_FRAMEWORKS=TRUE -DBUILD_SHARED_LIBS=TRUE }
|
||||||
- platform: { name: Android, os: ubuntu-22.04 }
|
- platform: { name: Android, os: ubuntu-22.04 }
|
||||||
config: { name: x86, flags: -GNinja -DCMAKE_ANDROID_ARCH_ABI=x86 -DCMAKE_SYSTEM_NAME=Android -DSFML_BUILD_TEST_SUITE=FALSE -DCMAKE_ANDROID_NDK=$GITHUB_WORKSPACE/android-ndk-r23b -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang -DCMAKE_ANDROID_STL_TYPE=c++_shared -DCMAKE_ANDROID_API=26 }
|
config: { name: x86, flags: -GNinja -DCMAKE_ANDROID_ARCH_ABI=x86 -DCMAKE_SYSTEM_NAME=Android -DSFML_BUILD_TEST_SUITE=FALSE -DCMAKE_ANDROID_NDK=$GITHUB_WORKSPACE/android-ndk-r23b -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang -DCMAKE_ANDROID_STL_TYPE=c++_shared -DCMAKE_ANDROID_API=26 }
|
||||||
@ -73,7 +73,7 @@ jobs:
|
|||||||
config: { name: Static DRM, flags: -GNinja -DBUILD_SHARED_LIBS=FALSE -DSFML_USE_DRM=TRUE -DSFML_RUN_DISPLAY_TESTS=FALSE }
|
config: { name: Static DRM, flags: -GNinja -DBUILD_SHARED_LIBS=FALSE -DSFML_USE_DRM=TRUE -DSFML_RUN_DISPLAY_TESTS=FALSE }
|
||||||
- platform: { name: Linux GCC, os: ubuntu-22.04 }
|
- platform: { name: Linux GCC, os: ubuntu-22.04 }
|
||||||
config: { name: Shared DRM, flags: -GNinja -DBUILD_SHARED_LIBS=TRUE -DSFML_USE_DRM=TRUE -DSFML_RUN_DISPLAY_TESTS=FALSE }
|
config: { name: Shared DRM, flags: -GNinja -DBUILD_SHARED_LIBS=TRUE -DSFML_USE_DRM=TRUE -DSFML_RUN_DISPLAY_TESTS=FALSE }
|
||||||
- platform: { name: MacOS , os: macos-12 }
|
- platform: { name: macOS , os: macos-12 }
|
||||||
config: { name: System Deps, flags: -GNinja -DBUILD_SHARED_LIBS=TRUE -DSFML_USE_SYSTEM_DEPS=TRUE }
|
config: { name: System Deps, flags: -GNinja -DBUILD_SHARED_LIBS=TRUE -DSFML_USE_SYSTEM_DEPS=TRUE }
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
|
@ -58,7 +58,7 @@ if(SFML_BUILD_WINDOW)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# macOS specific options
|
# macOS specific options
|
||||||
if(SFML_OS_MACOSX OR SFML_OS_IOS)
|
if(SFML_OS_MACOS OR SFML_OS_IOS)
|
||||||
# add an option to build frameworks instead of dylibs (release only)
|
# add an option to build frameworks instead of dylibs (release only)
|
||||||
sfml_set_option(SFML_BUILD_FRAMEWORKS FALSE BOOL "TRUE to build SFML as frameworks libraries (release only), FALSE to build according to BUILD_SHARED_LIBS")
|
sfml_set_option(SFML_BUILD_FRAMEWORKS FALSE BOOL "TRUE to build SFML as frameworks libraries (release only), FALSE to build according to BUILD_SHARED_LIBS")
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ if(SFML_OS_WINDOWS OR SFML_OS_IOS)
|
|||||||
set(DEFAULT_INSTALL_MISC_DIR .)
|
set(DEFAULT_INSTALL_MISC_DIR .)
|
||||||
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD)
|
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD)
|
||||||
set(DEFAULT_INSTALL_MISC_DIR share/SFML)
|
set(DEFAULT_INSTALL_MISC_DIR share/SFML)
|
||||||
elseif(SFML_OS_MACOSX)
|
elseif(SFML_OS_MACOS)
|
||||||
set(DEFAULT_INSTALL_MISC_DIR /usr/local/share/SFML)
|
set(DEFAULT_INSTALL_MISC_DIR /usr/local/share/SFML)
|
||||||
elseif(SFML_OS_ANDROID)
|
elseif(SFML_OS_ANDROID)
|
||||||
set(DEFAULT_INSTALL_MISC_DIR ${CMAKE_ANDROID_NDK}/sources/third_party/sfml)
|
set(DEFAULT_INSTALL_MISC_DIR ${CMAKE_ANDROID_NDK}/sources/third_party/sfml)
|
||||||
@ -186,8 +186,8 @@ if(SFML_OS_WINDOWS)
|
|||||||
include(cmake/Mesa3D.cmake)
|
include(cmake/Mesa3D.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# setup Mac OS X stuff
|
# setup macOS stuff
|
||||||
if(SFML_OS_MACOSX)
|
if(SFML_OS_MACOS)
|
||||||
# SFML_BUILD_FRAMEWORKS needs two things:
|
# SFML_BUILD_FRAMEWORKS needs two things:
|
||||||
# first, it's available only for release
|
# first, it's available only for release
|
||||||
# (because cmake currently doesn't allow specifying a custom framework name so XXX-d is not possible)
|
# (because cmake currently doesn't allow specifying a custom framework name so XXX-d is not possible)
|
||||||
@ -249,8 +249,8 @@ if(SFML_ENABLE_PCH AND BUILD_SHARED_LIBS)
|
|||||||
message(FATAL_ERROR "Precompiled headers are currently not supported for shared library builds")
|
message(FATAL_ERROR "Precompiled headers are currently not supported for shared library builds")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SFML_ENABLE_PCH AND SFML_OS_MACOSX)
|
if(SFML_ENABLE_PCH AND SFML_OS_MACOS)
|
||||||
message(FATAL_ERROR "Precompiled headers are currently not supported in MacOS builds")
|
message(FATAL_ERROR "Precompiled headers are currently not supported in macOS builds")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# setup the install rules
|
# setup the install rules
|
||||||
@ -389,36 +389,36 @@ if(SFML_OS_WINDOWS)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
elseif(SFML_OS_MACOSX)
|
elseif(SFML_OS_MACOS)
|
||||||
# install extlibs dependencies only when used
|
# install extlibs dependencies only when used
|
||||||
if(SFML_BUILD_GRAPHICS)
|
if(SFML_BUILD_GRAPHICS)
|
||||||
if(FREETYPE_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks/freetype.framework")
|
if(FREETYPE_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks/freetype.framework")
|
||||||
install(DIRECTORY extlibs/libs-osx/Frameworks/freetype.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(DIRECTORY extlibs/libs-macos/Frameworks/freetype.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SFML_BUILD_AUDIO)
|
if(SFML_BUILD_AUDIO)
|
||||||
if(FLAC_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks/FLAC.framework")
|
if(FLAC_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks/FLAC.framework")
|
||||||
install(DIRECTORY extlibs/libs-osx/Frameworks/FLAC.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(DIRECTORY extlibs/libs-macos/Frameworks/FLAC.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OGG_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks/ogg.framework")
|
if(OGG_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks/ogg.framework")
|
||||||
install(DIRECTORY extlibs/libs-osx/Frameworks/ogg.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(DIRECTORY extlibs/libs-macos/Frameworks/ogg.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(VORBIS_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks/vorbis.framework")
|
if(VORBIS_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks/vorbis.framework")
|
||||||
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbis.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(DIRECTORY extlibs/libs-macos/Frameworks/vorbis.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(VORBISENC_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks/vorbisenc.framework")
|
if(VORBISENC_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks/vorbisenc.framework")
|
||||||
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbisenc.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(DIRECTORY extlibs/libs-macos/Frameworks/vorbisenc.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(VORBISFILE_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks/vorbisfile.framework")
|
if(VORBISFILE_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks/vorbisfile.framework")
|
||||||
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbisfile.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(DIRECTORY extlibs/libs-macos/Frameworks/vorbisfile.framework DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OPENAL_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks/OpenAL.framework")
|
if(OPENAL_LIBRARY STREQUAL "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks/OpenAL.framework")
|
||||||
install(DIRECTORY "${OPENAL_LIBRARY}" DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(DIRECTORY "${OPENAL_LIBRARY}" DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
@ -50,8 +50,8 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "iOS")
|
|||||||
# use the OpenGL ES implementation on iOS
|
# use the OpenGL ES implementation on iOS
|
||||||
set(OPENGL_ES 1)
|
set(OPENGL_ES 1)
|
||||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
|
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
|
||||||
set(SFML_OS_MACOSX 1)
|
set(SFML_OS_MACOS 1)
|
||||||
# don't use the OpenGL ES implementation on Mac OS X
|
# don't use the OpenGL ES implementation on macOS
|
||||||
set(OPENGL_ES 0)
|
set(OPENGL_ES 0)
|
||||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Android")
|
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Android")
|
||||||
set(SFML_OS_ANDROID 1)
|
set(SFML_OS_ANDROID 1)
|
||||||
|
@ -28,7 +28,7 @@ function(sfml_set_stdlib target)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SFML_OS_MACOSX)
|
if(SFML_OS_MACOS)
|
||||||
if(${CMAKE_GENERATOR} MATCHES "Xcode")
|
if(${CMAKE_GENERATOR} MATCHES "Xcode")
|
||||||
sfml_set_xcode_property(${target} CLANG_CXX_LIBRARY "libc++")
|
sfml_set_xcode_property(${target} CLANG_CXX_LIBRARY "libc++")
|
||||||
elseif(NOT SFML_COMPILER_CLANG)
|
elseif(NOT SFML_COMPILER_CLANG)
|
||||||
@ -193,7 +193,7 @@ macro(sfml_add_library module)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# build frameworks or dylibs
|
# build frameworks or dylibs
|
||||||
if((SFML_OS_MACOSX OR SFML_OS_IOS) AND BUILD_SHARED_LIBS AND NOT THIS_STATIC)
|
if((SFML_OS_MACOS OR SFML_OS_IOS) AND BUILD_SHARED_LIBS AND NOT THIS_STATIC)
|
||||||
if(SFML_BUILD_FRAMEWORKS)
|
if(SFML_BUILD_FRAMEWORKS)
|
||||||
# adapt target to build frameworks instead of dylibs
|
# adapt target to build frameworks instead of dylibs
|
||||||
set_target_properties(${target} PROPERTIES
|
set_target_properties(${target} PROPERTIES
|
||||||
|
@ -16,7 +16,7 @@ if(SFML_STATIC_LIBRARIES)
|
|||||||
elseif(${CMAKE_SYSTEM_NAME} MATCHES "iOS")
|
elseif(${CMAKE_SYSTEM_NAME} MATCHES "iOS")
|
||||||
set(FIND_SFML_OS_IOS 1)
|
set(FIND_SFML_OS_IOS 1)
|
||||||
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
set(FIND_SFML_OS_MACOSX 1)
|
set(FIND_SFML_OS_MACOS 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# start with an empty list
|
# start with an empty list
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
# find doxygen
|
# find doxygen
|
||||||
if(SFML_OS_MACOSX)
|
if(SFML_OS_MACOS)
|
||||||
# Add some path to search doxygen in more directories.
|
# Add some path to search doxygen in more directories.
|
||||||
set(ADDITIONAL_PATHS
|
set(ADDITIONAL_PATHS
|
||||||
/Developer/Applications/Doxygen.app/Contents/Resources
|
/Developer/Applications/Doxygen.app/Contents/Resources
|
||||||
|
@ -34,7 +34,7 @@ if(SFML_BUILD_GRAPHICS)
|
|||||||
if(NOT SFML_USE_DRM)
|
if(NOT SFML_USE_DRM)
|
||||||
add_subdirectory(X11)
|
add_subdirectory(X11)
|
||||||
endif()
|
endif()
|
||||||
elseif(SFML_OS_MACOSX AND ${CMAKE_GENERATOR} MATCHES "Xcode")
|
elseif(SFML_OS_MACOS AND ${CMAKE_GENERATOR} MATCHES "Xcode")
|
||||||
add_subdirectory(cocoa)
|
add_subdirectory(cocoa)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
- (std::wstring)tostdwstring
|
- (std::wstring)tostdwstring
|
||||||
{
|
{
|
||||||
// According to Wikipedia, Mac OS X is Little Endian on x86 and x86-64
|
// According to Wikipedia, macOS is Little Endian on x86 and x86-64
|
||||||
// https://en.wikipedia.org/wiki/Endianness
|
// https://en.wikipedia.org/wiki/Endianness
|
||||||
NSData* asData = [self dataUsingEncoding:NSUTF32LittleEndianStringEncoding];
|
NSData* asData = [self dataUsingEncoding:NSUTF32LittleEndianStringEncoding];
|
||||||
return std::wstring(static_cast<const wchar_t*>([asData bytes]), [asData length] / sizeof(wchar_t));
|
return std::wstring(static_cast<const wchar_t*>([asData bytes]), [asData length] / sizeof(wchar_t));
|
||||||
|
@ -11,6 +11,6 @@ sfml_add_example(island GUI_APP
|
|||||||
target_include_directories(island SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/examples/island)
|
target_include_directories(island SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/examples/island)
|
||||||
|
|
||||||
# link against pthread
|
# link against pthread
|
||||||
if(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_MACOSX)
|
if(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_MACOS)
|
||||||
target_link_libraries(island PRIVATE pthread)
|
target_link_libraries(island PRIVATE pthread)
|
||||||
endif()
|
endif()
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
#elif TARGET_OS_MAC
|
#elif TARGET_OS_MAC
|
||||||
|
|
||||||
// MacOS
|
// macOS
|
||||||
#define SFML_SYSTEM_MACOS
|
#define SFML_SYSTEM_MACOS
|
||||||
|
|
||||||
#else
|
#else
|
||||||
@ -139,7 +139,7 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else // Linux, FreeBSD, Mac OS X
|
#else // Linux, FreeBSD, macOS
|
||||||
|
|
||||||
#define SFML_API_EXPORT __attribute__((__visibility__("default")))
|
#define SFML_API_EXPORT __attribute__((__visibility__("default")))
|
||||||
#define SFML_API_IMPORT __attribute__((__visibility__("default")))
|
#define SFML_API_IMPORT __attribute__((__visibility__("default")))
|
||||||
|
@ -55,29 +55,29 @@ public:
|
|||||||
/// Refer to the following table to determine which cursor
|
/// Refer to the following table to determine which cursor
|
||||||
/// is available on which platform.
|
/// is available on which platform.
|
||||||
///
|
///
|
||||||
/// Type | Linux | Mac OS X | Windows |
|
/// Type | Linux | macOS | Windows |
|
||||||
/// ------------------------------------|:-----:|:--------:|:--------:|
|
/// ------------------------------------|:-----:|:-----:|:--------:|
|
||||||
/// sf::Cursor::Arrow | yes | yes | yes |
|
/// sf::Cursor::Arrow | yes | yes | yes |
|
||||||
/// sf::Cursor::ArrowWait | no | no | yes |
|
/// sf::Cursor::ArrowWait | no | no | yes |
|
||||||
/// sf::Cursor::Wait | yes | no | yes |
|
/// sf::Cursor::Wait | yes | no | yes |
|
||||||
/// sf::Cursor::Text | yes | yes | yes |
|
/// sf::Cursor::Text | yes | yes | yes |
|
||||||
/// sf::Cursor::Hand | yes | yes | yes |
|
/// sf::Cursor::Hand | yes | yes | yes |
|
||||||
/// sf::Cursor::SizeHorizontal | yes | yes | yes |
|
/// sf::Cursor::SizeHorizontal | yes | yes | yes |
|
||||||
/// sf::Cursor::SizeVertical | yes | yes | yes |
|
/// sf::Cursor::SizeVertical | yes | yes | yes |
|
||||||
/// sf::Cursor::SizeTopLeftBottomRight | no | yes* | yes |
|
/// sf::Cursor::SizeTopLeftBottomRight | no | yes* | yes |
|
||||||
/// sf::Cursor::SizeBottomLeftTopRight | no | yes* | yes |
|
/// sf::Cursor::SizeBottomLeftTopRight | no | yes* | yes |
|
||||||
/// sf::Cursor::SizeLeft | yes | yes** | yes** |
|
/// sf::Cursor::SizeLeft | yes | yes** | yes** |
|
||||||
/// sf::Cursor::SizeRight | yes | yes** | yes** |
|
/// sf::Cursor::SizeRight | yes | yes** | yes** |
|
||||||
/// sf::Cursor::SizeTop | yes | yes** | yes** |
|
/// sf::Cursor::SizeTop | yes | yes** | yes** |
|
||||||
/// sf::Cursor::SizeBottom | yes | yes** | yes** |
|
/// sf::Cursor::SizeBottom | yes | yes** | yes** |
|
||||||
/// sf::Cursor::SizeTopLeft | yes | yes** | yes** |
|
/// sf::Cursor::SizeTopLeft | yes | yes** | yes** |
|
||||||
/// sf::Cursor::SizeTopRight | yes | yes** | yes** |
|
/// sf::Cursor::SizeTopRight | yes | yes** | yes** |
|
||||||
/// sf::Cursor::SizeBottomLeft | yes | yes** | yes** |
|
/// sf::Cursor::SizeBottomLeft | yes | yes** | yes** |
|
||||||
/// sf::Cursor::SizeBottomRight | yes | yes** | yes** |
|
/// sf::Cursor::SizeBottomRight | yes | yes** | yes** |
|
||||||
/// sf::Cursor::SizeAll | yes | no | yes |
|
/// sf::Cursor::SizeAll | yes | no | yes |
|
||||||
/// sf::Cursor::Cross | yes | yes | yes |
|
/// sf::Cursor::Cross | yes | yes | yes |
|
||||||
/// sf::Cursor::Help | yes | yes* | yes |
|
/// sf::Cursor::Help | yes | yes* | yes |
|
||||||
/// sf::Cursor::NotAllowed | yes | yes | yes |
|
/// sf::Cursor::NotAllowed | yes | yes | yes |
|
||||||
///
|
///
|
||||||
/// * These cursor types are undocumented so may not
|
/// * These cursor types are undocumented so may not
|
||||||
/// be available on all versions, but have been tested on 10.13
|
/// be available on all versions, but have been tested on 10.13
|
||||||
|
@ -49,7 +49,7 @@ using WindowHandle = unsigned long;
|
|||||||
|
|
||||||
#elif defined(SFML_SYSTEM_MACOS)
|
#elif defined(SFML_SYSTEM_MACOS)
|
||||||
|
|
||||||
// Window handle is NSWindow or NSView (void*) on Mac OS X - Cocoa
|
// Window handle is NSWindow or NSView (void*) on macOS - Cocoa
|
||||||
using WindowHandle = void*;
|
using WindowHandle = void*;
|
||||||
|
|
||||||
#elif defined(SFML_SYSTEM_IOS)
|
#elif defined(SFML_SYSTEM_IOS)
|
||||||
@ -83,13 +83,13 @@ using WindowHandle = "platform-specific";
|
|||||||
/// ----------------|------------------------------------------------------------
|
/// ----------------|------------------------------------------------------------
|
||||||
/// Windows | \p HWND
|
/// Windows | \p HWND
|
||||||
/// Linux/FreeBSD | \p %Window
|
/// Linux/FreeBSD | \p %Window
|
||||||
/// Mac OS X | either \p NSWindow* or \p NSView*, disguised as \p void*
|
/// macOS | either \p NSWindow* or \p NSView*, disguised as \p void*
|
||||||
/// iOS | \p UIWindow*
|
/// iOS | \p UIWindow*
|
||||||
/// Android | \p ANativeWindow*
|
/// Android | \p ANativeWindow*
|
||||||
///
|
///
|
||||||
/// \par Mac OS X Specification
|
/// \par macOS Specification
|
||||||
///
|
///
|
||||||
/// On Mac OS X, a sf::Window can be created either from an
|
/// On macOS, a sf::Window can be created either from an
|
||||||
/// existing \p NSWindow* or an \p NSView*. When the window
|
/// existing \p NSWindow* or an \p NSView*. When the window
|
||||||
/// is created from a window, SFML will use its content view
|
/// is created from a window, SFML will use its content view
|
||||||
/// as the OpenGL area. sf::Window::getSystemHandle() will
|
/// as the OpenGL area. sf::Window::getSystemHandle() will
|
||||||
|
@ -57,11 +57,11 @@ set(CODECS_SRC
|
|||||||
)
|
)
|
||||||
source_group("codecs" FILES ${CODECS_SRC})
|
source_group("codecs" FILES ${CODECS_SRC})
|
||||||
|
|
||||||
# let CMake know about our additional audio libraries paths (on Windows and OSX)
|
# let CMake know about our additional audio libraries paths (on Windows and macOS)
|
||||||
if(SFML_OS_WINDOWS)
|
if(SFML_OS_WINDOWS)
|
||||||
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/AL")
|
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/AL")
|
||||||
elseif(SFML_OS_MACOSX)
|
elseif(SFML_OS_MACOS)
|
||||||
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks")
|
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks")
|
||||||
elseif(SFML_OS_ANDROID)
|
elseif(SFML_OS_ANDROID)
|
||||||
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/AL")
|
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/AL")
|
||||||
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/android")
|
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/android")
|
||||||
|
@ -246,7 +246,7 @@ unsigned int SoundRecorder::getChannelCount() const
|
|||||||
bool SoundRecorder::isAvailable()
|
bool SoundRecorder::isAvailable()
|
||||||
{
|
{
|
||||||
return (priv::AudioDevice::isExtensionSupported("ALC_EXT_CAPTURE") != AL_FALSE) ||
|
return (priv::AudioDevice::isExtensionSupported("ALC_EXT_CAPTURE") != AL_FALSE) ||
|
||||||
(priv::AudioDevice::isExtensionSupported("ALC_EXT_capture") != AL_FALSE); // "bug" in Mac OS X 10.5 and 10.6
|
(priv::AudioDevice::isExtensionSupported("ALC_EXT_capture") != AL_FALSE); // "bug" in macOS 10.5 and 10.6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,9 +20,9 @@ if(SFML_OS_WINDOWS)
|
|||||||
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-msvc-universal/x64")
|
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-msvc-universal/x64")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
elseif(SFML_OS_MACOSX)
|
elseif(SFML_OS_MACOS)
|
||||||
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers")
|
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers")
|
||||||
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/lib/")
|
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/lib/")
|
||||||
elseif(SFML_OS_IOS)
|
elseif(SFML_OS_IOS)
|
||||||
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers")
|
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers")
|
||||||
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-ios/")
|
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-ios/")
|
||||||
|
@ -101,9 +101,9 @@ target_include_directories(sfml-graphics SYSTEM PRIVATE "${PROJECT_SOURCE_DIR}/e
|
|||||||
# let CMake know about our additional graphics libraries paths
|
# let CMake know about our additional graphics libraries paths
|
||||||
if(SFML_OS_WINDOWS)
|
if(SFML_OS_WINDOWS)
|
||||||
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/freetype2")
|
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/freetype2")
|
||||||
elseif(SFML_OS_MACOSX)
|
elseif(SFML_OS_MACOS)
|
||||||
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/freetype2")
|
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/freetype2")
|
||||||
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-osx/Frameworks")
|
list(APPEND CMAKE_LIBRARY_PATH "${PROJECT_SOURCE_DIR}/extlibs/libs-macos/Frameworks")
|
||||||
elseif(SFML_OS_IOS)
|
elseif(SFML_OS_IOS)
|
||||||
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/freetype2")
|
list(APPEND CMAKE_INCLUDE_PATH "${PROJECT_SOURCE_DIR}/extlibs/headers/freetype2")
|
||||||
elseif(SFML_OS_ANDROID)
|
elseif(SFML_OS_ANDROID)
|
||||||
|
@ -115,7 +115,7 @@ void Socket::create(SocketHandle handle)
|
|||||||
<< "all your TCP packets will be buffered" << std::endl;
|
<< "all your TCP packets will be buffered" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// On Mac OS X, disable the SIGPIPE signal on disconnection
|
// On macOS, disable the SIGPIPE signal on disconnection
|
||||||
#ifdef SFML_SYSTEM_MACOS
|
#ifdef SFML_SYSTEM_MACOS
|
||||||
if (setsockopt(m_socket, SOL_SOCKET, SO_NOSIGPIPE, reinterpret_cast<char*>(&yes), sizeof(yes)) == -1)
|
if (setsockopt(m_socket, SOL_SOCKET, SO_NOSIGPIPE, reinterpret_cast<char*>(&yes), sizeof(yes)) == -1)
|
||||||
{
|
{
|
||||||
|
@ -81,7 +81,7 @@ if(SFML_OS_ANDROID)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# setup dependencies
|
# setup dependencies
|
||||||
if(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_MACOSX)
|
if(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_MACOS)
|
||||||
target_link_libraries(sfml-system PRIVATE pthread)
|
target_link_libraries(sfml-system PRIVATE pthread)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -166,58 +166,58 @@ elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
source_group("unix" FILES ${PLATFORM_SRC})
|
source_group("unix" FILES ${PLATFORM_SRC})
|
||||||
elseif(SFML_OS_MACOSX)
|
elseif(SFML_OS_MACOS)
|
||||||
enable_language(OBJC OBJCXX)
|
enable_language(OBJC OBJCXX)
|
||||||
set(PLATFORM_SRC
|
set(PLATFORM_SRC
|
||||||
${SRCROOT}/OSX/cpp_objc_conversion.h
|
${SRCROOT}/macOS/cpp_objc_conversion.h
|
||||||
${SRCROOT}/OSX/cpp_objc_conversion.mm
|
${SRCROOT}/macOS/cpp_objc_conversion.mm
|
||||||
${SRCROOT}/OSX/cg_sf_conversion.hpp
|
${SRCROOT}/macOS/cg_sf_conversion.hpp
|
||||||
${SRCROOT}/OSX/cg_sf_conversion.mm
|
${SRCROOT}/macOS/cg_sf_conversion.mm
|
||||||
${SRCROOT}/OSX/CursorImpl.hpp
|
${SRCROOT}/macOS/CursorImpl.hpp
|
||||||
${SRCROOT}/OSX/CursorImpl.mm
|
${SRCROOT}/macOS/CursorImpl.mm
|
||||||
${SRCROOT}/OSX/ClipboardImpl.hpp
|
${SRCROOT}/macOS/ClipboardImpl.hpp
|
||||||
${SRCROOT}/OSX/ClipboardImpl.mm
|
${SRCROOT}/macOS/ClipboardImpl.mm
|
||||||
${SRCROOT}/OSX/InputImpl.mm
|
${SRCROOT}/macOS/InputImpl.mm
|
||||||
${SRCROOT}/OSX/InputImpl.hpp
|
${SRCROOT}/macOS/InputImpl.hpp
|
||||||
${SRCROOT}/OSX/HIDInputManager.hpp
|
${SRCROOT}/macOS/HIDInputManager.hpp
|
||||||
${SRCROOT}/OSX/HIDInputManager.mm
|
${SRCROOT}/macOS/HIDInputManager.mm
|
||||||
${SRCROOT}/OSX/HIDJoystickManager.hpp
|
${SRCROOT}/macOS/HIDJoystickManager.hpp
|
||||||
${SRCROOT}/OSX/HIDJoystickManager.cpp
|
${SRCROOT}/macOS/HIDJoystickManager.cpp
|
||||||
${SRCROOT}/OSX/JoystickImpl.cpp
|
${SRCROOT}/macOS/JoystickImpl.cpp
|
||||||
${SRCROOT}/OSX/JoystickImpl.hpp
|
${SRCROOT}/macOS/JoystickImpl.hpp
|
||||||
${SRCROOT}/OSX/NSImage+raw.h
|
${SRCROOT}/macOS/NSImage+raw.h
|
||||||
${SRCROOT}/OSX/NSImage+raw.mm
|
${SRCROOT}/macOS/NSImage+raw.mm
|
||||||
${SRCROOT}/OSX/Scaling.h
|
${SRCROOT}/macOS/Scaling.h
|
||||||
${SRCROOT}/OSX/SensorImpl.cpp
|
${SRCROOT}/macOS/SensorImpl.cpp
|
||||||
${SRCROOT}/OSX/SensorImpl.hpp
|
${SRCROOT}/macOS/SensorImpl.hpp
|
||||||
${SRCROOT}/OSX/SFApplication.h
|
${SRCROOT}/macOS/SFApplication.h
|
||||||
${SRCROOT}/OSX/SFApplication.m
|
${SRCROOT}/macOS/SFApplication.m
|
||||||
${SRCROOT}/OSX/SFApplicationDelegate.h
|
${SRCROOT}/macOS/SFApplicationDelegate.h
|
||||||
${SRCROOT}/OSX/SFApplicationDelegate.m
|
${SRCROOT}/macOS/SFApplicationDelegate.m
|
||||||
${SRCROOT}/OSX/SFContext.hpp
|
${SRCROOT}/macOS/SFContext.hpp
|
||||||
${SRCROOT}/OSX/SFContext.mm
|
${SRCROOT}/macOS/SFContext.mm
|
||||||
${SRCROOT}/OSX/SFKeyboardModifiersHelper.h
|
${SRCROOT}/macOS/SFKeyboardModifiersHelper.h
|
||||||
${SRCROOT}/OSX/SFKeyboardModifiersHelper.mm
|
${SRCROOT}/macOS/SFKeyboardModifiersHelper.mm
|
||||||
${SRCROOT}/OSX/SFOpenGLView.h
|
${SRCROOT}/macOS/SFOpenGLView.h
|
||||||
${SRCROOT}/OSX/SFOpenGLView.mm
|
${SRCROOT}/macOS/SFOpenGLView.mm
|
||||||
${SRCROOT}/OSX/SFOpenGLView+keyboard.mm
|
${SRCROOT}/macOS/SFOpenGLView+keyboard.mm
|
||||||
${SRCROOT}/OSX/SFOpenGLView+keyboard_priv.h
|
${SRCROOT}/macOS/SFOpenGLView+keyboard_priv.h
|
||||||
${SRCROOT}/OSX/SFOpenGLView+mouse.mm
|
${SRCROOT}/macOS/SFOpenGLView+mouse.mm
|
||||||
${SRCROOT}/OSX/SFOpenGLView+mouse_priv.h
|
${SRCROOT}/macOS/SFOpenGLView+mouse_priv.h
|
||||||
${SRCROOT}/OSX/SFSilentResponder.h
|
${SRCROOT}/macOS/SFSilentResponder.h
|
||||||
${SRCROOT}/OSX/SFSilentResponder.m
|
${SRCROOT}/macOS/SFSilentResponder.m
|
||||||
${SRCROOT}/OSX/SFWindow.h
|
${SRCROOT}/macOS/SFWindow.h
|
||||||
${SRCROOT}/OSX/SFWindow.m
|
${SRCROOT}/macOS/SFWindow.m
|
||||||
${SRCROOT}/OSX/SFWindowController.h
|
${SRCROOT}/macOS/SFWindowController.h
|
||||||
${SRCROOT}/OSX/SFWindowController.mm
|
${SRCROOT}/macOS/SFWindowController.mm
|
||||||
${SRCROOT}/OSX/SFViewController.h
|
${SRCROOT}/macOS/SFViewController.h
|
||||||
${SRCROOT}/OSX/SFViewController.mm
|
${SRCROOT}/macOS/SFViewController.mm
|
||||||
${SRCROOT}/OSX/VideoModeImpl.cpp
|
${SRCROOT}/macOS/VideoModeImpl.cpp
|
||||||
${SRCROOT}/OSX/WindowImplCocoa.hpp
|
${SRCROOT}/macOS/WindowImplCocoa.hpp
|
||||||
${SRCROOT}/OSX/WindowImplCocoa.mm
|
${SRCROOT}/macOS/WindowImplCocoa.mm
|
||||||
${SRCROOT}/OSX/WindowImplDelegateProtocol.h
|
${SRCROOT}/macOS/WindowImplDelegateProtocol.h
|
||||||
${SRCROOT}/OSX/AutoreleasePoolWrapper.hpp
|
${SRCROOT}/macOS/AutoreleasePoolWrapper.hpp
|
||||||
${SRCROOT}/OSX/AutoreleasePoolWrapper.mm
|
${SRCROOT}/macOS/AutoreleasePoolWrapper.mm
|
||||||
)
|
)
|
||||||
source_group("mac" FILES ${PLATFORM_SRC})
|
source_group("mac" FILES ${PLATFORM_SRC})
|
||||||
elseif(SFML_OS_IOS)
|
elseif(SFML_OS_IOS)
|
||||||
@ -294,7 +294,7 @@ target_include_directories(sfml-window SYSTEM PRIVATE "${PROJECT_SOURCE_DIR}/ext
|
|||||||
|
|
||||||
# When static linking on macOS, we need to add this flag for objective C to work
|
# When static linking on macOS, we need to add this flag for objective C to work
|
||||||
# https://developer.apple.com/library/archive/qa/qa1490/_index.html
|
# https://developer.apple.com/library/archive/qa/qa1490/_index.html
|
||||||
if ((NOT BUILD_SHARED_LIBS) AND SFML_OS_MACOSX)
|
if ((NOT BUILD_SHARED_LIBS) AND SFML_OS_MACOS)
|
||||||
target_link_libraries(sfml-window PRIVATE -ObjC)
|
target_link_libraries(sfml-window PRIVATE -ObjC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@ -335,7 +335,7 @@ elseif(SFML_OS_WINDOWS)
|
|||||||
target_link_libraries(sfml-window PRIVATE winmm gdi32)
|
target_link_libraries(sfml-window PRIVATE winmm gdi32)
|
||||||
elseif(SFML_OS_FREEBSD)
|
elseif(SFML_OS_FREEBSD)
|
||||||
target_link_libraries(sfml-window PRIVATE usbhid)
|
target_link_libraries(sfml-window PRIVATE usbhid)
|
||||||
elseif(SFML_OS_MACOSX)
|
elseif(SFML_OS_MACOS)
|
||||||
target_link_libraries(sfml-window PRIVATE "-framework Foundation" "-framework AppKit" "-framework IOKit" "-framework Carbon")
|
target_link_libraries(sfml-window PRIVATE "-framework Foundation" "-framework AppKit" "-framework IOKit" "-framework Carbon")
|
||||||
elseif(SFML_OS_IOS)
|
elseif(SFML_OS_IOS)
|
||||||
target_link_libraries(sfml-window PUBLIC "-framework Foundation" "-framework UIKit" "-framework CoreGraphics" "-framework QuartzCore" "-framework CoreMotion")
|
target_link_libraries(sfml-window PUBLIC "-framework Foundation" "-framework UIKit" "-framework CoreGraphics" "-framework QuartzCore" "-framework CoreMotion")
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <SFML/Window/Unix/ClipboardImpl.hpp>
|
#include <SFML/Window/Unix/ClipboardImpl.hpp>
|
||||||
#endif
|
#endif
|
||||||
#elif defined(SFML_SYSTEM_MACOS)
|
#elif defined(SFML_SYSTEM_MACOS)
|
||||||
#include <SFML/Window/OSX/ClipboardImpl.hpp>
|
#include <SFML/Window/macOS/ClipboardImpl.hpp>
|
||||||
#elif defined(SFML_SYSTEM_IOS)
|
#elif defined(SFML_SYSTEM_IOS)
|
||||||
#include <SFML/Window/iOS/ClipboardImpl.hpp>
|
#include <SFML/Window/iOS/ClipboardImpl.hpp>
|
||||||
#elif defined(SFML_SYSTEM_ANDROID)
|
#elif defined(SFML_SYSTEM_ANDROID)
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <SFML/Window/Unix/CursorImpl.hpp>
|
#include <SFML/Window/Unix/CursorImpl.hpp>
|
||||||
#endif
|
#endif
|
||||||
#elif defined(SFML_SYSTEM_MACOS)
|
#elif defined(SFML_SYSTEM_MACOS)
|
||||||
#include <SFML/Window/OSX/CursorImpl.hpp>
|
#include <SFML/Window/macOS/CursorImpl.hpp>
|
||||||
#elif defined(SFML_SYSTEM_IOS)
|
#elif defined(SFML_SYSTEM_IOS)
|
||||||
#include <SFML/Window/iOS/CursorImpl.hpp>
|
#include <SFML/Window/iOS/CursorImpl.hpp>
|
||||||
#elif defined(SFML_SYSTEM_ANDROID)
|
#elif defined(SFML_SYSTEM_ANDROID)
|
||||||
|
@ -86,7 +86,7 @@ using ContextType = sf::priv::GlxContext;
|
|||||||
|
|
||||||
#elif defined(SFML_SYSTEM_MACOS)
|
#elif defined(SFML_SYSTEM_MACOS)
|
||||||
|
|
||||||
#include <SFML/Window/OSX/SFContext.hpp>
|
#include <SFML/Window/macOS/SFContext.hpp>
|
||||||
using ContextType = sf::priv::SFContext;
|
using ContextType = sf::priv::SFContext;
|
||||||
|
|
||||||
#elif defined(SFML_SYSTEM_IOS)
|
#elif defined(SFML_SYSTEM_IOS)
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <SFML/Window/Unix/InputImpl.hpp>
|
#include <SFML/Window/Unix/InputImpl.hpp>
|
||||||
#endif
|
#endif
|
||||||
#elif defined(SFML_SYSTEM_MACOS)
|
#elif defined(SFML_SYSTEM_MACOS)
|
||||||
#include <SFML/Window/OSX/InputImpl.hpp>
|
#include <SFML/Window/macOS/InputImpl.hpp>
|
||||||
#elif defined(SFML_SYSTEM_IOS)
|
#elif defined(SFML_SYSTEM_IOS)
|
||||||
#include <SFML/Window/iOS/InputImpl.hpp>
|
#include <SFML/Window/iOS/InputImpl.hpp>
|
||||||
#elif defined(SFML_SYSTEM_ANDROID)
|
#elif defined(SFML_SYSTEM_ANDROID)
|
||||||
|
@ -81,7 +81,7 @@ struct JoystickState
|
|||||||
|
|
||||||
#elif defined(SFML_SYSTEM_MACOS)
|
#elif defined(SFML_SYSTEM_MACOS)
|
||||||
|
|
||||||
#include <SFML/Window/OSX/JoystickImpl.hpp>
|
#include <SFML/Window/macOS/JoystickImpl.hpp>
|
||||||
|
|
||||||
#elif defined(SFML_SYSTEM_IOS)
|
#elif defined(SFML_SYSTEM_IOS)
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#elif defined(SFML_SYSTEM_MACOS)
|
#elif defined(SFML_SYSTEM_MACOS)
|
||||||
|
|
||||||
#include <SFML/Window/OSX/SensorImpl.hpp>
|
#include <SFML/Window/macOS/SensorImpl.hpp>
|
||||||
|
|
||||||
#elif defined(SFML_SYSTEM_IOS)
|
#elif defined(SFML_SYSTEM_IOS)
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ using VulkanImplType = sf::priv::VulkanImplX11;
|
|||||||
|
|
||||||
#elif defined(SFML_SYSTEM_MACOS)
|
#elif defined(SFML_SYSTEM_MACOS)
|
||||||
|
|
||||||
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
|
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
|
||||||
using WindowImplType = sf::priv::WindowImplCocoa;
|
using WindowImplType = sf::priv::WindowImplCocoa;
|
||||||
|
|
||||||
#define SFML_VULKAN_IMPLEMENTATION_NOT_AVAILABLE
|
#define SFML_VULKAN_IMPLEMENTATION_NOT_AVAILABLE
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <SFML/Window/OSX/AutoreleasePoolWrapper.hpp>
|
#include <SFML/Window/macOS/AutoreleasePoolWrapper.hpp>
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
@ -25,8 +25,8 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/OSX/AutoreleasePoolWrapper.hpp>
|
#include <SFML/Window/macOS/AutoreleasePoolWrapper.hpp>
|
||||||
#include <SFML/Window/OSX/ClipboardImpl.hpp>
|
#include <SFML/Window/macOS/ClipboardImpl.hpp>
|
||||||
|
|
||||||
#include <SFML/System/String.hpp>
|
#include <SFML/System/String.hpp>
|
||||||
|
|
@ -49,7 +49,7 @@ using NSCursorRef = void*;
|
|||||||
namespace sf::priv
|
namespace sf::priv
|
||||||
{
|
{
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Mac OS X implementation of Cursor
|
/// \brief macOS implementation of Cursor
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class CursorImpl
|
class CursorImpl
|
@ -26,9 +26,9 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/OSX/AutoreleasePoolWrapper.hpp>
|
#include <SFML/Window/macOS/AutoreleasePoolWrapper.hpp>
|
||||||
#include <SFML/Window/OSX/CursorImpl.hpp>
|
#include <SFML/Window/macOS/CursorImpl.hpp>
|
||||||
#import <SFML/Window/OSX/NSImage+raw.h>
|
#import <SFML/Window/macOS/NSImage+raw.h>
|
||||||
|
|
||||||
#import <AppKit/AppKit.h>
|
#import <AppKit/AppKit.h>
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/OSX/HIDInputManager.hpp>
|
#include <SFML/Window/macOS/HIDInputManager.hpp>
|
||||||
|
|
||||||
#include <SFML/System/Err.hpp>
|
#include <SFML/System/Err.hpp>
|
||||||
|
|
@ -26,8 +26,8 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/OSX/HIDInputManager.hpp>
|
#include <SFML/Window/macOS/HIDInputManager.hpp>
|
||||||
#include <SFML/Window/OSX/HIDJoystickManager.hpp>
|
#include <SFML/Window/macOS/HIDJoystickManager.hpp>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Private data
|
// Private data
|
@ -35,7 +35,7 @@
|
|||||||
namespace sf::priv
|
namespace sf::priv
|
||||||
{
|
{
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Mac OS X implementation of inputs (keyboard + mouse)
|
/// \brief macOS implementation of inputs (keyboard + mouse)
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class InputImpl
|
class InputImpl
|
@ -26,12 +26,12 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/OSX/AutoreleasePoolWrapper.hpp>
|
|
||||||
#include <SFML/Window/OSX/HIDInputManager.hpp>
|
|
||||||
#include <SFML/Window/OSX/InputImpl.hpp>
|
|
||||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
|
||||||
#include <SFML/Window/VideoMode.hpp>
|
#include <SFML/Window/VideoMode.hpp>
|
||||||
#include <SFML/Window/Window.hpp>
|
#include <SFML/Window/Window.hpp>
|
||||||
|
#include <SFML/Window/macOS/AutoreleasePoolWrapper.hpp>
|
||||||
|
#include <SFML/Window/macOS/HIDInputManager.hpp>
|
||||||
|
#include <SFML/Window/macOS/InputImpl.hpp>
|
||||||
|
#import <SFML/Window/macOS/SFOpenGLView.h>
|
||||||
|
|
||||||
#include <SFML/System/Err.hpp>
|
#include <SFML/System/Err.hpp>
|
||||||
|
|
@ -27,9 +27,9 @@
|
|||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/JoystickImpl.hpp>
|
#include <SFML/Window/JoystickImpl.hpp>
|
||||||
#include <SFML/Window/OSX/AutoreleasePoolWrapper.hpp>
|
#include <SFML/Window/macOS/AutoreleasePoolWrapper.hpp>
|
||||||
#include <SFML/Window/OSX/HIDInputManager.hpp>
|
#include <SFML/Window/macOS/HIDInputManager.hpp>
|
||||||
#include <SFML/Window/OSX/HIDJoystickManager.hpp>
|
#include <SFML/Window/macOS/HIDJoystickManager.hpp>
|
||||||
|
|
||||||
#include <SFML/System/Err.hpp>
|
#include <SFML/System/Err.hpp>
|
||||||
|
|
@ -40,7 +40,7 @@
|
|||||||
namespace sf::priv
|
namespace sf::priv
|
||||||
{
|
{
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Mac OS X implementation of joysticks
|
/// \brief macOS implementation of joysticks
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class JoystickImpl
|
class JoystickImpl
|
@ -26,7 +26,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/NSImage+raw.h>
|
#import <SFML/Window/macOS/NSImage+raw.h>
|
||||||
|
|
||||||
@implementation NSImage (raw)
|
@implementation NSImage (raw)
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/SFApplication.h>
|
#import <SFML/Window/macOS/SFApplication.h>
|
||||||
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/SFApplicationDelegate.h>
|
#import <SFML/Window/macOS/SFApplicationDelegate.h>
|
||||||
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
@ -56,7 +56,7 @@ using NSWindowRef = void*;
|
|||||||
namespace sf::priv
|
namespace sf::priv
|
||||||
{
|
{
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief OSX (Cocoa) implementation of OpenGL contexts
|
/// \brief macOS (Cocoa) implementation of OpenGL contexts
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
class SFContext : public GlContext
|
class SFContext : public GlContext
|
@ -26,9 +26,9 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/OSX/AutoreleasePoolWrapper.hpp>
|
#include <SFML/Window/macOS/AutoreleasePoolWrapper.hpp>
|
||||||
#include <SFML/Window/OSX/SFContext.hpp>
|
#include <SFML/Window/macOS/SFContext.hpp>
|
||||||
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
|
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
|
||||||
|
|
||||||
#include <SFML/System/Err.hpp>
|
#include <SFML/System/Err.hpp>
|
||||||
|
|
@ -26,8 +26,8 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/SFKeyboardModifiersHelper.h>
|
#import <SFML/Window/macOS/SFKeyboardModifiersHelper.h>
|
||||||
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
|
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
|
||||||
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
@ -26,10 +26,10 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/OSX/HIDInputManager.hpp> // For localizedKeys and nonLocalizedKeys
|
#include <SFML/Window/macOS/HIDInputManager.hpp> // For localizedKeys and nonLocalizedKeys
|
||||||
#import <SFML/Window/OSX/SFKeyboardModifiersHelper.h>
|
#import <SFML/Window/macOS/SFKeyboardModifiersHelper.h>
|
||||||
#import <SFML/Window/OSX/SFOpenGLView+keyboard_priv.h>
|
#import <SFML/Window/macOS/SFOpenGLView+keyboard_priv.h>
|
||||||
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
|
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
|
||||||
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
|
|
@ -27,7 +27,7 @@
|
|||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/Mouse.hpp>
|
#include <SFML/Window/Mouse.hpp>
|
||||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
#import <SFML/Window/macOS/SFOpenGLView.h>
|
||||||
|
|
||||||
#import <AppKit/AppKit.h>
|
#import <AppKit/AppKit.h>
|
||||||
|
|
@ -26,9 +26,9 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/SFOpenGLView+mouse_priv.h>
|
#import <SFML/Window/macOS/SFOpenGLView+mouse_priv.h>
|
||||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
#import <SFML/Window/macOS/SFOpenGLView.h>
|
||||||
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
|
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
@ -27,7 +27,7 @@
|
|||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <SFML/Window/Mouse.hpp>
|
#include <SFML/Window/Mouse.hpp>
|
||||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
#import <SFML/Window/macOS/SFOpenGLView.h>
|
||||||
|
|
||||||
#import <AppKit/AppKit.h>
|
#import <AppKit/AppKit.h>
|
||||||
|
|
@ -26,10 +26,10 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/SFOpenGLView+mouse_priv.h>
|
#import <SFML/Window/macOS/SFOpenGLView+mouse_priv.h>
|
||||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
#import <SFML/Window/macOS/SFOpenGLView.h>
|
||||||
#import <SFML/Window/OSX/SFSilentResponder.h>
|
#import <SFML/Window/macOS/SFSilentResponder.h>
|
||||||
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
|
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
|
||||||
|
|
||||||
#include <SFML/System/Err.hpp>
|
#include <SFML/System/Err.hpp>
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/SFSilentResponder.h>
|
#import <SFML/Window/macOS/SFSilentResponder.h>
|
||||||
|
|
||||||
@implementation SFSilentResponder
|
@implementation SFSilentResponder
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/WindowImplDelegateProtocol.h>
|
#import <SFML/Window/macOS/WindowImplDelegateProtocol.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// Predefine some classes
|
/// Predefine some classes
|
@ -26,10 +26,10 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/SFApplication.h>
|
#import <SFML/Window/macOS/SFApplication.h>
|
||||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
#import <SFML/Window/macOS/SFOpenGLView.h>
|
||||||
#import <SFML/Window/OSX/SFViewController.h>
|
#import <SFML/Window/macOS/SFViewController.h>
|
||||||
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
|
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
|
||||||
|
|
||||||
#include <SFML/System/Err.hpp>
|
#include <SFML/System/Err.hpp>
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/SFWindow.h>
|
#import <SFML/Window/macOS/SFWindow.h>
|
||||||
|
|
||||||
|
|
||||||
@implementation SFWindow
|
@implementation SFWindow
|
@ -26,8 +26,8 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/WindowImplDelegateProtocol.h>
|
|
||||||
#include <SFML/Window/VideoMode.hpp>
|
#include <SFML/Window/VideoMode.hpp>
|
||||||
|
#import <SFML/Window/macOS/WindowImplDelegateProtocol.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// Predefine some classes
|
/// Predefine some classes
|
@ -26,16 +26,16 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/NSImage+raw.h>
|
|
||||||
#import <SFML/Window/OSX/SFApplication.h>
|
|
||||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
|
||||||
#import <SFML/Window/OSX/SFWindow.h>
|
|
||||||
#import <SFML/Window/OSX/SFWindowController.h>
|
|
||||||
#import <SFML/Window/OSX/Scaling.h>
|
|
||||||
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
|
|
||||||
#include <SFML/Window/VideoMode.hpp>
|
#include <SFML/Window/VideoMode.hpp>
|
||||||
#include <SFML/Window/WindowHandle.hpp>
|
#include <SFML/Window/WindowHandle.hpp>
|
||||||
#include <SFML/Window/WindowStyle.hpp>
|
#include <SFML/Window/WindowStyle.hpp>
|
||||||
|
#import <SFML/Window/macOS/NSImage+raw.h>
|
||||||
|
#import <SFML/Window/macOS/SFApplication.h>
|
||||||
|
#import <SFML/Window/macOS/SFOpenGLView.h>
|
||||||
|
#import <SFML/Window/macOS/SFWindow.h>
|
||||||
|
#import <SFML/Window/macOS/SFWindowController.h>
|
||||||
|
#import <SFML/Window/macOS/Scaling.h>
|
||||||
|
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
|
||||||
|
|
||||||
#include <SFML/System/Err.hpp>
|
#include <SFML/System/Err.hpp>
|
||||||
|
|
@ -26,7 +26,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#import <SFML/Window/OSX/WindowImplDelegateProtocol.h>
|
#import <SFML/Window/macOS/WindowImplDelegateProtocol.h>
|
||||||
|
|
||||||
#import <AppKit/AppKit.h>
|
#import <AppKit/AppKit.h>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user