├── .devcontainer ├── Dockerfile ├── devcontainer.json └── library-scripts │ ├── common-debian.sh │ └── node-debian.sh ├── .github └── workflows │ └── swift.yml ├── .gitignore ├── LICENSE ├── Package.swift ├── README.md ├── Sources ├── CSDL2 │ ├── module.modulemap │ └── shim.h ├── SDL │ ├── BitMaskOption.swift │ ├── BlendMode.swift │ ├── Color.swift │ ├── CountableSet.swift │ ├── DisplayMode.swift │ ├── Error.swift │ ├── Event.swift │ ├── Palette.swift │ ├── PixelFormat.swift │ ├── Renderer.swift │ ├── SDL.swift │ ├── Surface.swift │ ├── Texture.swift │ ├── VideoDisplay.swift │ └── Window.swift └── SDLDemo │ └── App.swift └── Tests └── SDLTests └── SDLTests.swift /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/library-scripts/common-debian.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/.devcontainer/library-scripts/common-debian.sh -------------------------------------------------------------------------------- /.devcontainer/library-scripts/node-debian.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/.devcontainer/library-scripts/node-debian.sh -------------------------------------------------------------------------------- /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SDL 2 | Swift library for SDL2 3 | -------------------------------------------------------------------------------- /Sources/CSDL2/module.modulemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/CSDL2/module.modulemap -------------------------------------------------------------------------------- /Sources/CSDL2/shim.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/CSDL2/shim.h -------------------------------------------------------------------------------- /Sources/SDL/BitMaskOption.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/BitMaskOption.swift -------------------------------------------------------------------------------- /Sources/SDL/BlendMode.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/BlendMode.swift -------------------------------------------------------------------------------- /Sources/SDL/Color.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/Color.swift -------------------------------------------------------------------------------- /Sources/SDL/CountableSet.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/CountableSet.swift -------------------------------------------------------------------------------- /Sources/SDL/DisplayMode.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/DisplayMode.swift -------------------------------------------------------------------------------- /Sources/SDL/Error.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/Error.swift -------------------------------------------------------------------------------- /Sources/SDL/Event.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/Event.swift -------------------------------------------------------------------------------- /Sources/SDL/Palette.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/Palette.swift -------------------------------------------------------------------------------- /Sources/SDL/PixelFormat.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/PixelFormat.swift -------------------------------------------------------------------------------- /Sources/SDL/Renderer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/Renderer.swift -------------------------------------------------------------------------------- /Sources/SDL/SDL.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/SDL.swift -------------------------------------------------------------------------------- /Sources/SDL/Surface.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/Surface.swift -------------------------------------------------------------------------------- /Sources/SDL/Texture.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/Texture.swift -------------------------------------------------------------------------------- /Sources/SDL/VideoDisplay.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/VideoDisplay.swift -------------------------------------------------------------------------------- /Sources/SDL/Window.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDL/Window.swift -------------------------------------------------------------------------------- /Sources/SDLDemo/App.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Sources/SDLDemo/App.swift -------------------------------------------------------------------------------- /Tests/SDLTests/SDLTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PureSwift/SDL/HEAD/Tests/SDLTests/SDLTests.swift --------------------------------------------------------------------------------