sfml.js 0.0.1-preview.9 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -7
- package/binding.gyp +118 -17
- package/index.d.ts +1 -0
- package/lib/clock.d.ts +2 -4
- package/lib/clock.js +3 -1
- package/lib/color.d.ts +2 -2
- package/lib/color.js +58 -3
- package/lib/common.js +33 -7
- package/lib/drawable/circle_shape.d.ts +2 -2
- package/lib/drawable/circle_shape.js +3 -3
- package/lib/drawable/convex_shape.d.ts +5 -0
- package/lib/drawable/convex_shape.js +35 -0
- package/lib/drawable/drawable.d.ts +6 -0
- package/lib/drawable/{base.js → drawable.js} +7 -4
- package/lib/drawable/plugin_package.d.ts +31 -0
- package/lib/drawable/plugin_package.js +102 -0
- package/lib/drawable/rectangle_shape.d.ts +6 -3
- package/lib/drawable/rectangle_shape.js +14 -2
- package/lib/drawable/shape.d.ts +8 -32
- package/lib/drawable/shape.js +16 -115
- package/lib/drawable/sprite.d.ts +17 -0
- package/lib/drawable/sprite.js +53 -0
- package/lib/drawable/text.d.ts +26 -0
- package/lib/drawable/text.js +88 -0
- package/lib/drawable/transformable.d.ts +28 -0
- package/lib/drawable/transformable.js +113 -0
- package/lib/drawable/vertex_array.d.ts +40 -0
- package/lib/drawable/vertex_array.js +128 -0
- package/lib/font.d.ts +24 -0
- package/lib/font.js +137 -0
- package/lib/image.d.ts +26 -0
- package/lib/image.js +147 -0
- package/lib/joystick.d.ts +21 -0
- package/lib/joystick.js +72 -0
- package/lib/keyboard.d.ts +113 -0
- package/lib/keyboard.js +17 -0
- package/lib/mouse.d.ts +6 -0
- package/lib/mouse.js +39 -0
- package/lib/poll_event.d.ts +72 -10
- package/lib/rect.d.ts +2 -2
- package/lib/rect.js +29 -9
- package/lib/render_window.d.ts +54 -15
- package/lib/render_window.js +137 -7
- package/lib/sensor.d.ts +12 -0
- package/lib/sensor.js +34 -0
- package/lib/sfml.d.ts +32 -0
- package/lib/sfml.js +26 -9
- package/lib/sound/base.d.ts +33 -0
- package/lib/sound/base.js +109 -0
- package/lib/sound/music.d.ts +15 -0
- package/lib/sound/music.js +65 -0
- package/lib/sound/sound.d.ts +16 -0
- package/lib/sound/sound.js +55 -0
- package/lib/sound/sound_buffer.d.ts +14 -0
- package/lib/sound/sound_buffer.js +78 -0
- package/lib/texture.d.ts +21 -0
- package/lib/texture.js +127 -0
- package/lib/time.d.ts +2 -2
- package/lib/touch.d.ts +7 -0
- package/lib/touch.js +34 -0
- package/lib/vector2.d.ts +24 -0
- package/lib/vector2.js +85 -16
- package/lib/vector3.d.ts +47 -0
- package/lib/vector3.js +154 -0
- package/lib/vertex.d.ts +14 -0
- package/lib/vertex.js +177 -0
- package/lib/video_mode.d.ts +2 -4
- package/lib/video_mode.js +15 -5
- package/package.json +26 -38
- package/src/base_class_with_loading.h +21 -0
- package/src/clock.cc +12 -3
- package/src/clock.h +5 -2
- package/src/color.cc +18 -13
- package/src/color.h +9 -3
- package/src/drawable/circle_shape.cc +9 -9
- package/src/drawable/circle_shape.h +4 -1
- package/src/drawable/convex_shape.cc +57 -0
- package/src/drawable/convex_shape.h +29 -0
- package/src/drawable/drawable-inl.h +29 -0
- package/src/drawable/drawable.cc +41 -0
- package/src/drawable/drawable.h +26 -38
- package/src/drawable/package_plugin-inl.h +191 -0
- package/src/drawable/package_plugin.h +60 -0
- package/src/drawable/rectangle_shape.cc +43 -7
- package/src/drawable/rectangle_shape.h +7 -1
- package/src/drawable/shape.cc +67 -0
- package/src/drawable/shape.h +13 -28
- package/src/drawable/sprite.cc +122 -0
- package/src/drawable/sprite.h +45 -0
- package/src/drawable/text.cc +133 -0
- package/src/drawable/text.h +54 -0
- package/src/drawable/vertex_array.cc +248 -0
- package/src/drawable/vertex_array.h +46 -0
- package/src/font.cc +214 -0
- package/src/font.h +44 -0
- package/src/gen/joystick_axis.cc +30 -0
- package/src/gen/keycode.cc +12 -4
- package/src/gen/sensor_type.cc +26 -0
- package/src/image.cc +379 -0
- package/src/image.h +72 -0
- package/src/joystick.cc +132 -0
- package/src/joystick.h +32 -0
- package/src/keyboard.cc +50 -0
- package/src/keyboard.h +8 -1
- package/src/mouse.cc +80 -0
- package/src/mouse.h +9 -1
- package/src/plugins/transformable_plugin-inl.h +121 -0
- package/src/plugins/transformable_plugin.h +42 -0
- package/src/poll_event.cc +74 -1
- package/src/poll_event.h +2 -1
- package/src/rect-inl.h +21 -16
- package/src/rect.h +10 -8
- package/src/render_window.cc +249 -6
- package/src/render_window.h +70 -2
- package/src/render_window_async_display.cc +49 -0
- package/src/render_window_async_draw.cc +56 -0
- package/src/resizable_buffer.h +104 -0
- package/src/sensor.cc +82 -0
- package/src/sensor.h +28 -0
- package/src/sfml.cc +41 -0
- package/src/sound/music.cc +113 -0
- package/src/sound/music.h +35 -0
- package/src/sound/sound.cc +116 -0
- package/src/sound/sound.h +41 -0
- package/src/sound/sound_buffer.cc +226 -0
- package/src/sound/sound_buffer.h +46 -0
- package/src/sound/sound_source.cc +124 -0
- package/src/sound/sound_source.h +80 -0
- package/src/texture.cc +246 -0
- package/src/texture.h +47 -0
- package/src/time.cc +1 -1
- package/src/time.h +2 -1
- package/src/touch.cc +54 -0
- package/src/touch.h +23 -0
- package/src/utils-inl.h +19 -0
- package/src/utils.h +6 -0
- package/src/vector2-inl.h +101 -17
- package/src/vector2.cc +4 -3
- package/src/vector2.h +42 -12
- package/src/vector3-inl.h +200 -0
- package/src/vector3.cc +36 -0
- package/src/vector3.h +134 -0
- package/src/vertex.cc +238 -0
- package/src/vertex.h +114 -0
- package/src/video_mode.cc +9 -9
- package/src/video_mode.h +9 -2
- package/src/workers/load_from_file_worker.h +79 -0
- package/src/workers/save_to_file_worker.h +79 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/AlResource.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/Export.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/InputSoundFile.hpp +17 -12
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/Listener.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Audio/Music.hpp +10 -10
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/OutputSoundFile.hpp +4 -4
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/Sound.hpp +2 -2
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundBuffer.hpp +6 -6
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundBufferRecorder.hpp +3 -3
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Audio/SoundFileFactory.hpp +3 -3
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Audio/SoundFileFactory.inl +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundFileReader.hpp +4 -4
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Audio/SoundFileWriter.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Audio/SoundRecorder.hpp +12 -10
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Audio/SoundSource.hpp +5 -5
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Audio/SoundStream.hpp +34 -19
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Audio.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Config.hpp +16 -4
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/GpuPreference.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/BlendMode.hpp +28 -24
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/CircleShape.hpp +3 -3
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Color.hpp +14 -14
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/ConvexShape.hpp +2 -2
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Drawable.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Export.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Font.hpp +81 -24
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Glsl.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Glsl.inl +6 -6
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Glyph.hpp +7 -5
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Image.hpp +34 -12
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/PrimitiveType.hpp +11 -11
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Rect.hpp +25 -5
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Rect.inl +13 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/RectangleShape.hpp +2 -2
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/RenderStates.hpp +6 -6
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/RenderTarget.hpp +21 -13
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/RenderTexture.hpp +23 -3
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/RenderWindow.hpp +13 -2
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Shader.hpp +8 -8
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Shape.hpp +10 -10
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Sprite.hpp +4 -4
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Text.hpp +20 -20
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Texture.hpp +13 -13
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Transform.hpp +23 -5
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/Transformable.hpp +9 -9
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/Vertex.hpp +4 -4
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics/VertexArray.hpp +3 -3
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/VertexBuffer.hpp +8 -8
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Graphics/View.hpp +9 -9
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Graphics.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Main.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Network/Export.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Network/Ftp.hpp +53 -53
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Network/Http.hpp +44 -44
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Network/IpAddress.hpp +7 -7
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/Packet.hpp +18 -5
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Network/Socket.hpp +12 -12
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/SocketHandle.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Network/SocketSelector.hpp +2 -2
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/TcpListener.hpp +5 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Network/TcpSocket.hpp +6 -6
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network/UdpSocket.hpp +7 -6
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Network.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/OpenGL.hpp +2 -2
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Clock.hpp +2 -2
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/Err.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Export.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/FileInputStream.hpp +2 -2
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/InputStream.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Lock.hpp +2 -2
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/MemoryInputStream.hpp +4 -4
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Mutex.hpp +2 -2
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/NativeActivity.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/NonCopyable.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Sleep.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/String.hpp +5 -5
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/String.inl +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Thread.hpp +3 -3
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/Thread.inl +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/ThreadLocal.hpp +2 -2
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/ThreadLocalPtr.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/ThreadLocalPtr.inl +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Time.hpp +3 -3
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/Utf.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/Utf.inl +12 -12
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/Vector2.hpp +3 -3
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/System/Vector2.inl +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Vector3.hpp +4 -4
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System/Vector3.inl +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/System.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Clipboard.hpp +1 -1
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/Context.hpp +2 -2
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/ContextSettings.hpp +11 -11
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/Cursor.hpp +36 -17
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/Event.hpp +72 -71
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/Export.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/GlResource.hpp +1 -1
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Joystick.hpp +15 -15
- package/third_party/sfml/include/SFML/Window/Keyboard.hpp +491 -0
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Mouse.hpp +15 -12
- package/third_party/{SFML-2.5.1 → sfml}/include/SFML/Window/Sensor.hpp +8 -8
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/Touch.hpp +3 -3
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/VideoMode.hpp +4 -4
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/GlResource.hpp → sfml/include/SFML/Window/Vulkan.hpp} +51 -45
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/Window.hpp +35 -303
- package/third_party/{SFML-2.5.1/include/SFML/Window/Window.hpp → sfml/include/SFML/Window/WindowBase.hpp} +60 -164
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/WindowHandle.hpp +2 -2
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window/WindowStyle.hpp +7 -7
- package/third_party/{SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers → sfml/include/SFML}/Window.hpp +1 -1
- package/tools/clang_format.js +9 -0
- package/tools/copier/linux.js +21 -0
- package/tools/copier/macos.js +34 -0
- package/tools/copier/windows.js +33 -0
- package/tools/joystick_axis.js +63 -0
- package/tools/keycode.js +62 -19
- package/tools/lib_downloader.js +107 -0
- package/tools/lib_downloader_urls.js +59 -0
- package/tools/mouse_button.js +60 -37
- package/tools/sensor_type.js +63 -0
- package/tsconfig.json +8 -0
- package/lib/drawable/base.d.ts +0 -3
- package/src/drawable/shape-inl.h +0 -231
- package/third_party/SFML-2.5.1/include/SFML/Audio/Music.hpp +0 -337
- package/third_party/SFML-2.5.1/include/SFML/Audio/SoundFileFactory.hpp +0 -197
- package/third_party/SFML-2.5.1/include/SFML/Audio/SoundFileFactory.inl +0 -100
- package/third_party/SFML-2.5.1/include/SFML/Audio/SoundFileWriter.hpp +0 -125
- package/third_party/SFML-2.5.1/include/SFML/Audio/SoundRecorder.hpp +0 -408
- package/third_party/SFML-2.5.1/include/SFML/Audio/SoundSource.hpp +0 -332
- package/third_party/SFML-2.5.1/include/SFML/Audio.hpp +0 -56
- package/third_party/SFML-2.5.1/include/SFML/Config.hpp +0 -236
- package/third_party/SFML-2.5.1/include/SFML/GpuPreference.hpp +0 -74
- package/third_party/SFML-2.5.1/include/SFML/Graphics/BlendMode.hpp +0 -215
- package/third_party/SFML-2.5.1/include/SFML/Graphics/ConvexShape.hpp +0 -153
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Drawable.hpp +0 -126
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Export.hpp +0 -48
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Font.hpp +0 -439
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Glsl.hpp +0 -227
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Rect.hpp +0 -254
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Rect.inl +0 -159
- package/third_party/SFML-2.5.1/include/SFML/Graphics/RectangleShape.hpp +0 -132
- package/third_party/SFML-2.5.1/include/SFML/Graphics/RenderStates.hpp +0 -174
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Shape.hpp +0 -355
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Sprite.hpp +0 -279
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Texture.hpp +0 -733
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Transform.hpp +0 -479
- package/third_party/SFML-2.5.1/include/SFML/Graphics/Vertex.hpp +0 -148
- package/third_party/SFML-2.5.1/include/SFML/Graphics/VertexArray.hpp +0 -223
- package/third_party/SFML-2.5.1/include/SFML/Graphics.hpp +0 -68
- package/third_party/SFML-2.5.1/include/SFML/Network/Export.hpp +0 -48
- package/third_party/SFML-2.5.1/include/SFML/Network/Ftp.hpp +0 -616
- package/third_party/SFML-2.5.1/include/SFML/Network/Http.hpp +0 -482
- package/third_party/SFML-2.5.1/include/SFML/Network/IpAddress.hpp +0 -328
- package/third_party/SFML-2.5.1/include/SFML/Network/Socket.hpp +0 -219
- package/third_party/SFML-2.5.1/include/SFML/Network/SocketSelector.hpp +0 -263
- package/third_party/SFML-2.5.1/include/SFML/Network/TcpSocket.hpp +0 -316
- package/third_party/SFML-2.5.1/include/SFML/System/Err.hpp +0 -80
- package/third_party/SFML-2.5.1/include/SFML/System/InputStream.hpp +0 -152
- package/third_party/SFML-2.5.1/include/SFML/System/NativeActivity.hpp +0 -62
- package/third_party/SFML-2.5.1/include/SFML/System/NonCopyable.hpp +0 -129
- package/third_party/SFML-2.5.1/include/SFML/System/String.hpp +0 -669
- package/third_party/SFML-2.5.1/include/SFML/System/Thread.inl +0 -90
- package/third_party/SFML-2.5.1/include/SFML/System/ThreadLocalPtr.inl +0 -77
- package/third_party/SFML-2.5.1/include/SFML/System/Utf.hpp +0 -763
- package/third_party/SFML-2.5.1/include/SFML/System/Utf.inl +0 -752
- package/third_party/SFML-2.5.1/include/SFML/System/Vector2.hpp +0 -301
- package/third_party/SFML-2.5.1/include/SFML/System/Vector2.inl +0 -161
- package/third_party/SFML-2.5.1/include/SFML/Window/Context.hpp +0 -195
- package/third_party/SFML-2.5.1/include/SFML/Window/ContextSettings.hpp +0 -149
- package/third_party/SFML-2.5.1/include/SFML/Window/Cursor.hpp +0 -222
- package/third_party/SFML-2.5.1/include/SFML/Window/Event.hpp +0 -284
- package/third_party/SFML-2.5.1/include/SFML/Window/Export.hpp +0 -48
- package/third_party/SFML-2.5.1/include/SFML/Window/Keyboard.hpp +0 -232
- package/third_party/SFML-2.5.1/include/SFML/Window/Touch.hpp +0 -137
- package/third_party/SFML-2.5.1/include/SFML/Window/VideoMode.hpp +0 -228
- package/third_party/SFML-2.5.1/include/SFML/Window/WindowHandle.hpp +0 -101
- package/third_party/SFML-2.5.1/include/SFML/Window/WindowStyle.hpp +0 -53
- package/third_party/SFML-2.5.1/include/SFML/Window.hpp +0 -58
- package/third_party/SFML-2.5.1/lib/libsfml-audio.so.2.5.1 +0 -0
- package/third_party/SFML-2.5.1/lib/libsfml-graphics.so.2.5.1 +0 -0
- package/third_party/SFML-2.5.1/lib/libsfml-network.so.2.5.1 +0 -0
- package/third_party/SFML-2.5.1/lib/libsfml-system.so.2.5.1 +0 -0
- package/third_party/SFML-2.5.1/lib/libsfml-window.so.2.5.1 +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/FLAC.framework/Versions/A/FLAC +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/FLAC.framework/Versions/A/Resources/Info.plist +0 -22
- package/third_party/SFML-2.5.1/macOS/Frameworks/OpenAL.framework/Versions/A/OpenAL +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/OpenAL.framework/Versions/A/Resources/Info.plist +0 -22
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/AlResource.hpp +0 -70
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/Export.hpp +0 -48
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/InputSoundFile.hpp +0 -263
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/Listener.hpp +0 -234
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/OutputSoundFile.hpp +0 -133
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/Sound.hpp +0 -264
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundBuffer.hpp +0 -352
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundBufferRecorder.hpp +0 -144
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundFileReader.hpp +0 -165
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Audio/SoundStream.hpp +0 -405
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/CircleShape.hpp +0 -154
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Color.hpp +0 -275
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Glsl.inl +0 -155
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Glyph.hpp +0 -79
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Image.hpp +0 -324
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/PrimitiveType.hpp +0 -58
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/RenderTarget.hpp +0 -510
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/RenderTexture.hpp +0 -314
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/RenderWindow.hpp +0 -284
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Shader.hpp +0 -875
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Text.hpp +0 -513
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/Transformable.hpp +0 -429
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/VertexBuffer.hpp +0 -408
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Graphics/View.hpp +0 -343
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Main.hpp +0 -43
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/Packet.hpp +0 -532
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/SocketHandle.hpp +0 -57
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/TcpListener.hpp +0 -166
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network/UdpSocket.hpp +0 -291
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Network.hpp +0 -53
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/OpenGL.hpp +0 -78
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Clock.hpp +0 -117
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Export.hpp +0 -48
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/FileInputStream.hpp +0 -169
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Lock.hpp +0 -139
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/MemoryInputStream.hpp +0 -148
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Mutex.hpp +0 -148
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Sleep.hpp +0 -52
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/String.inl +0 -53
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Thread.hpp +0 -282
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/ThreadLocal.hpp +0 -103
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/ThreadLocalPtr.hpp +0 -158
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Time.hpp +0 -488
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Vector3.hpp +0 -302
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System/Vector3.inl +0 -168
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/System.hpp +0 -60
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Clipboard.hpp +0 -119
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Joystick.hpp +0 -227
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Keyboard.hpp +0 -232
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Mouse.hpp +0 -177
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Headers/Window/Sensor.hpp +0 -150
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLConfig.cmake +0 -148
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLConfigDependencies.cmake +0 -86
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLConfigVersion.cmake +0 -46
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLSharedTargets-release.cmake +0 -59
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/CMake/SFMLSharedTargets.cmake +0 -158
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/Resources/Info.plist +0 -26
- package/third_party/SFML-2.5.1/macOS/Frameworks/SFML.framework/Versions/2.5.1/SFML +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/freetype.framework/Versions/A/Resources/Info.plist +0 -22
- package/third_party/SFML-2.5.1/macOS/Frameworks/freetype.framework/Versions/A/freetype +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/ogg.framework/Versions/A/Resources/Info.plist +0 -22
- package/third_party/SFML-2.5.1/macOS/Frameworks/ogg.framework/Versions/A/ogg +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-audio.framework/Versions/2.5.1/Resources/Info.plist +0 -26
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-audio.framework/Versions/2.5.1/sfml-audio +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-graphics.framework/Versions/2.5.1/Resources/Info.plist +0 -26
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-graphics.framework/Versions/2.5.1/sfml-graphics +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-network.framework/Versions/2.5.1/Resources/Info.plist +0 -26
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-network.framework/Versions/2.5.1/sfml-network +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-system.framework/Versions/2.5.1/Resources/Info.plist +0 -26
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-system.framework/Versions/2.5.1/sfml-system +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-window.framework/Versions/2.5.1/Resources/Info.plist +0 -26
- package/third_party/SFML-2.5.1/macOS/Frameworks/sfml-window.framework/Versions/2.5.1/sfml-window +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/vorbis.framework/Versions/A/Resources/Info.plist +0 -22
- package/third_party/SFML-2.5.1/macOS/Frameworks/vorbis.framework/Versions/A/vorbis +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/vorbisenc.framework/Versions/A/Resources/Info.plist +0 -22
- package/third_party/SFML-2.5.1/macOS/Frameworks/vorbisenc.framework/Versions/A/vorbisenc +0 -0
- package/third_party/SFML-2.5.1/macOS/Frameworks/vorbisfile.framework/Versions/A/Resources/Info.plist +0 -22
- package/third_party/SFML-2.5.1/macOS/Frameworks/vorbisfile.framework/Versions/A/vorbisfile +0 -0
- package/third_party/SFML-2.5.1/macOS/lib/libsfml-audio.2.5.1.dylib +0 -0
- package/third_party/SFML-2.5.1/macOS/lib/libsfml-graphics.2.5.1.dylib +0 -0
- package/third_party/SFML-2.5.1/macOS/lib/libsfml-network.2.5.1.dylib +0 -0
- package/third_party/SFML-2.5.1/macOS/lib/libsfml-system.2.5.1.dylib +0 -0
- package/third_party/SFML-2.5.1/macOS/lib/libsfml-window.2.5.1.dylib +0 -0
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
////////////////////////////////////////////////////////////
|
|
2
|
-
//
|
|
3
|
-
// SFML - Simple and Fast Multimedia Library
|
|
4
|
-
// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
|
|
5
|
-
//
|
|
6
|
-
// This software is provided 'as-is', without any express or implied warranty.
|
|
7
|
-
// In no event will the authors be held liable for any damages arising from the use of this software.
|
|
8
|
-
//
|
|
9
|
-
// Permission is granted to anyone to use this software for any purpose,
|
|
10
|
-
// including commercial applications, and to alter it and redistribute it freely,
|
|
11
|
-
// subject to the following restrictions:
|
|
12
|
-
//
|
|
13
|
-
// 1. The origin of this software must not be misrepresented;
|
|
14
|
-
// you must not claim that you wrote the original software.
|
|
15
|
-
// If you use this software in a product, an acknowledgment
|
|
16
|
-
// in the product documentation would be appreciated but is not required.
|
|
17
|
-
//
|
|
18
|
-
// 2. Altered source versions must be plainly marked as such,
|
|
19
|
-
// and must not be misrepresented as being the original software.
|
|
20
|
-
//
|
|
21
|
-
// 3. This notice may not be removed or altered from any source distribution.
|
|
22
|
-
//
|
|
23
|
-
////////////////////////////////////////////////////////////
|
|
24
|
-
|
|
25
|
-
#ifndef SFML_CLIPBOARD_HPP
|
|
26
|
-
#define SFML_CLIPBOARD_HPP
|
|
27
|
-
|
|
28
|
-
////////////////////////////////////////////////////////////
|
|
29
|
-
// Headers
|
|
30
|
-
////////////////////////////////////////////////////////////
|
|
31
|
-
#include <SFML/Window/Export.hpp>
|
|
32
|
-
#include <SFML/System/String.hpp>
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
namespace sf
|
|
36
|
-
{
|
|
37
|
-
////////////////////////////////////////////////////////////
|
|
38
|
-
/// \brief Give access to the system clipboard
|
|
39
|
-
///
|
|
40
|
-
////////////////////////////////////////////////////////////
|
|
41
|
-
class SFML_WINDOW_API Clipboard
|
|
42
|
-
{
|
|
43
|
-
public:
|
|
44
|
-
|
|
45
|
-
////////////////////////////////////////////////////////////
|
|
46
|
-
/// \brief Get the content of the clipboard as string data
|
|
47
|
-
///
|
|
48
|
-
/// This function returns the content of the clipboard
|
|
49
|
-
/// as a string. If the clipboard does not contain string
|
|
50
|
-
/// it returns an empty sf::String object.
|
|
51
|
-
///
|
|
52
|
-
/// \return Clipboard contents as sf::String object
|
|
53
|
-
///
|
|
54
|
-
////////////////////////////////////////////////////////////
|
|
55
|
-
static String getString();
|
|
56
|
-
|
|
57
|
-
////////////////////////////////////////////////////////////
|
|
58
|
-
/// \brief Set the content of the clipboard as string data
|
|
59
|
-
///
|
|
60
|
-
/// This function sets the content of the clipboard as a
|
|
61
|
-
/// string.
|
|
62
|
-
///
|
|
63
|
-
/// \warning Due to limitations on some operating systems,
|
|
64
|
-
/// setting the clipboard contents is only
|
|
65
|
-
/// guaranteed to work if there is currently an
|
|
66
|
-
/// open window for which events are being handled.
|
|
67
|
-
///
|
|
68
|
-
/// \param text sf::String containing the data to be sent
|
|
69
|
-
/// to the clipboard
|
|
70
|
-
///
|
|
71
|
-
////////////////////////////////////////////////////////////
|
|
72
|
-
static void setString(const String& text);
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
} // namespace sf
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
#endif // SFML_CLIPBOARD_HPP
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
////////////////////////////////////////////////////////////
|
|
82
|
-
/// \class sf::Clipboard
|
|
83
|
-
/// \ingroup window
|
|
84
|
-
///
|
|
85
|
-
/// sf::Clipboard provides an interface for getting and
|
|
86
|
-
/// setting the contents of the system clipboard.
|
|
87
|
-
///
|
|
88
|
-
/// It is important to note that due to limitations on some
|
|
89
|
-
/// operating systems, setting the clipboard contents is
|
|
90
|
-
/// only guaranteed to work if there is currently an open
|
|
91
|
-
/// window for which events are being handled.
|
|
92
|
-
///
|
|
93
|
-
/// Usage example:
|
|
94
|
-
/// \code
|
|
95
|
-
/// // get the clipboard content as a string
|
|
96
|
-
/// sf::String string = sf::Clipboard::getString();
|
|
97
|
-
///
|
|
98
|
-
/// // or use it in the event loop
|
|
99
|
-
/// sf::Event event;
|
|
100
|
-
/// while(window.pollEvent(event))
|
|
101
|
-
/// {
|
|
102
|
-
/// if(event.type == sf::Event::Closed)
|
|
103
|
-
/// window.close();
|
|
104
|
-
/// if(event.type == sf::Event::KeyPressed)
|
|
105
|
-
/// {
|
|
106
|
-
/// // Using Ctrl + V to paste a string into SFML
|
|
107
|
-
/// if(event.key.control && event.key.code == sf::Keyboard::V)
|
|
108
|
-
/// string = sf::Clipboard::getString();
|
|
109
|
-
///
|
|
110
|
-
/// // Using Ctrl + C to copy a string out of SFML
|
|
111
|
-
/// if(event.key.control && event.key.code == sf::Keyboard::C)
|
|
112
|
-
/// sf::Clipboard::setString("Hello World!");
|
|
113
|
-
/// }
|
|
114
|
-
/// }
|
|
115
|
-
/// \endcode
|
|
116
|
-
///
|
|
117
|
-
/// \see sf::String, sf::Event
|
|
118
|
-
///
|
|
119
|
-
////////////////////////////////////////////////////////////
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
////////////////////////////////////////////////////////////
|
|
2
|
-
//
|
|
3
|
-
// SFML - Simple and Fast Multimedia Library
|
|
4
|
-
// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
|
|
5
|
-
//
|
|
6
|
-
// This software is provided 'as-is', without any express or implied warranty.
|
|
7
|
-
// In no event will the authors be held liable for any damages arising from the use of this software.
|
|
8
|
-
//
|
|
9
|
-
// Permission is granted to anyone to use this software for any purpose,
|
|
10
|
-
// including commercial applications, and to alter it and redistribute it freely,
|
|
11
|
-
// subject to the following restrictions:
|
|
12
|
-
//
|
|
13
|
-
// 1. The origin of this software must not be misrepresented;
|
|
14
|
-
// you must not claim that you wrote the original software.
|
|
15
|
-
// If you use this software in a product, an acknowledgment
|
|
16
|
-
// in the product documentation would be appreciated but is not required.
|
|
17
|
-
//
|
|
18
|
-
// 2. Altered source versions must be plainly marked as such,
|
|
19
|
-
// and must not be misrepresented as being the original software.
|
|
20
|
-
//
|
|
21
|
-
// 3. This notice may not be removed or altered from any source distribution.
|
|
22
|
-
//
|
|
23
|
-
////////////////////////////////////////////////////////////
|
|
24
|
-
|
|
25
|
-
#ifndef SFML_JOYSTICK_HPP
|
|
26
|
-
#define SFML_JOYSTICK_HPP
|
|
27
|
-
|
|
28
|
-
////////////////////////////////////////////////////////////
|
|
29
|
-
// Headers
|
|
30
|
-
////////////////////////////////////////////////////////////
|
|
31
|
-
#include <SFML/Window/Export.hpp>
|
|
32
|
-
#include <SFML/System/String.hpp>
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
namespace sf
|
|
36
|
-
{
|
|
37
|
-
////////////////////////////////////////////////////////////
|
|
38
|
-
/// \brief Give access to the real-time state of the joysticks
|
|
39
|
-
///
|
|
40
|
-
////////////////////////////////////////////////////////////
|
|
41
|
-
class SFML_WINDOW_API Joystick
|
|
42
|
-
{
|
|
43
|
-
public:
|
|
44
|
-
|
|
45
|
-
////////////////////////////////////////////////////////////
|
|
46
|
-
/// \brief Constants related to joysticks capabilities
|
|
47
|
-
///
|
|
48
|
-
////////////////////////////////////////////////////////////
|
|
49
|
-
enum
|
|
50
|
-
{
|
|
51
|
-
Count = 8, ///< Maximum number of supported joysticks
|
|
52
|
-
ButtonCount = 32, ///< Maximum number of supported buttons
|
|
53
|
-
AxisCount = 8 ///< Maximum number of supported axes
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
////////////////////////////////////////////////////////////
|
|
57
|
-
/// \brief Axes supported by SFML joysticks
|
|
58
|
-
///
|
|
59
|
-
////////////////////////////////////////////////////////////
|
|
60
|
-
enum Axis
|
|
61
|
-
{
|
|
62
|
-
X, ///< The X axis
|
|
63
|
-
Y, ///< The Y axis
|
|
64
|
-
Z, ///< The Z axis
|
|
65
|
-
R, ///< The R axis
|
|
66
|
-
U, ///< The U axis
|
|
67
|
-
V, ///< The V axis
|
|
68
|
-
PovX, ///< The X axis of the point-of-view hat
|
|
69
|
-
PovY ///< The Y axis of the point-of-view hat
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
////////////////////////////////////////////////////////////
|
|
73
|
-
/// \brief Structure holding a joystick's identification
|
|
74
|
-
///
|
|
75
|
-
////////////////////////////////////////////////////////////
|
|
76
|
-
struct SFML_WINDOW_API Identification
|
|
77
|
-
{
|
|
78
|
-
Identification();
|
|
79
|
-
|
|
80
|
-
String name; ///< Name of the joystick
|
|
81
|
-
unsigned int vendorId; ///< Manufacturer identifier
|
|
82
|
-
unsigned int productId; ///< Product identifier
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
////////////////////////////////////////////////////////////
|
|
86
|
-
/// \brief Check if a joystick is connected
|
|
87
|
-
///
|
|
88
|
-
/// \param joystick Index of the joystick to check
|
|
89
|
-
///
|
|
90
|
-
/// \return True if the joystick is connected, false otherwise
|
|
91
|
-
///
|
|
92
|
-
////////////////////////////////////////////////////////////
|
|
93
|
-
static bool isConnected(unsigned int joystick);
|
|
94
|
-
|
|
95
|
-
////////////////////////////////////////////////////////////
|
|
96
|
-
/// \brief Return the number of buttons supported by a joystick
|
|
97
|
-
///
|
|
98
|
-
/// If the joystick is not connected, this function returns 0.
|
|
99
|
-
///
|
|
100
|
-
/// \param joystick Index of the joystick
|
|
101
|
-
///
|
|
102
|
-
/// \return Number of buttons supported by the joystick
|
|
103
|
-
///
|
|
104
|
-
////////////////////////////////////////////////////////////
|
|
105
|
-
static unsigned int getButtonCount(unsigned int joystick);
|
|
106
|
-
|
|
107
|
-
////////////////////////////////////////////////////////////
|
|
108
|
-
/// \brief Check if a joystick supports a given axis
|
|
109
|
-
///
|
|
110
|
-
/// If the joystick is not connected, this function returns false.
|
|
111
|
-
///
|
|
112
|
-
/// \param joystick Index of the joystick
|
|
113
|
-
/// \param axis Axis to check
|
|
114
|
-
///
|
|
115
|
-
/// \return True if the joystick supports the axis, false otherwise
|
|
116
|
-
///
|
|
117
|
-
////////////////////////////////////////////////////////////
|
|
118
|
-
static bool hasAxis(unsigned int joystick, Axis axis);
|
|
119
|
-
|
|
120
|
-
////////////////////////////////////////////////////////////
|
|
121
|
-
/// \brief Check if a joystick button is pressed
|
|
122
|
-
///
|
|
123
|
-
/// If the joystick is not connected, this function returns false.
|
|
124
|
-
///
|
|
125
|
-
/// \param joystick Index of the joystick
|
|
126
|
-
/// \param button Button to check
|
|
127
|
-
///
|
|
128
|
-
/// \return True if the button is pressed, false otherwise
|
|
129
|
-
///
|
|
130
|
-
////////////////////////////////////////////////////////////
|
|
131
|
-
static bool isButtonPressed(unsigned int joystick, unsigned int button);
|
|
132
|
-
|
|
133
|
-
////////////////////////////////////////////////////////////
|
|
134
|
-
/// \brief Get the current position of a joystick axis
|
|
135
|
-
///
|
|
136
|
-
/// If the joystick is not connected, this function returns 0.
|
|
137
|
-
///
|
|
138
|
-
/// \param joystick Index of the joystick
|
|
139
|
-
/// \param axis Axis to check
|
|
140
|
-
///
|
|
141
|
-
/// \return Current position of the axis, in range [-100 .. 100]
|
|
142
|
-
///
|
|
143
|
-
////////////////////////////////////////////////////////////
|
|
144
|
-
static float getAxisPosition(unsigned int joystick, Axis axis);
|
|
145
|
-
|
|
146
|
-
////////////////////////////////////////////////////////////
|
|
147
|
-
/// \brief Get the joystick information
|
|
148
|
-
///
|
|
149
|
-
/// \param joystick Index of the joystick
|
|
150
|
-
///
|
|
151
|
-
/// \return Structure containing joystick information.
|
|
152
|
-
///
|
|
153
|
-
////////////////////////////////////////////////////////////
|
|
154
|
-
static Identification getIdentification(unsigned int joystick);
|
|
155
|
-
|
|
156
|
-
////////////////////////////////////////////////////////////
|
|
157
|
-
/// \brief Update the states of all joysticks
|
|
158
|
-
///
|
|
159
|
-
/// This function is used internally by SFML, so you normally
|
|
160
|
-
/// don't have to call it explicitly. However, you may need to
|
|
161
|
-
/// call it if you have no window yet (or no window at all):
|
|
162
|
-
/// in this case the joystick states are not updated automatically.
|
|
163
|
-
///
|
|
164
|
-
////////////////////////////////////////////////////////////
|
|
165
|
-
static void update();
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
} // namespace sf
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
#endif // SFML_JOYSTICK_HPP
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
////////////////////////////////////////////////////////////
|
|
175
|
-
/// \class sf::Joystick
|
|
176
|
-
/// \ingroup window
|
|
177
|
-
///
|
|
178
|
-
/// sf::Joystick provides an interface to the state of the
|
|
179
|
-
/// joysticks. It only contains static functions, so it's not
|
|
180
|
-
/// meant to be instantiated. Instead, each joystick is identified
|
|
181
|
-
/// by an index that is passed to the functions of this class.
|
|
182
|
-
///
|
|
183
|
-
/// This class allows users to query the state of joysticks at any
|
|
184
|
-
/// time and directly, without having to deal with a window and
|
|
185
|
-
/// its events. Compared to the JoystickMoved, JoystickButtonPressed
|
|
186
|
-
/// and JoystickButtonReleased events, sf::Joystick can retrieve the
|
|
187
|
-
/// state of axes and buttons of joysticks at any time
|
|
188
|
-
/// (you don't need to store and update a boolean on your side
|
|
189
|
-
/// in order to know if a button is pressed or released), and you
|
|
190
|
-
/// always get the real state of joysticks, even if they are
|
|
191
|
-
/// moved, pressed or released when your window is out of focus
|
|
192
|
-
/// and no event is triggered.
|
|
193
|
-
///
|
|
194
|
-
/// SFML supports:
|
|
195
|
-
/// \li 8 joysticks (sf::Joystick::Count)
|
|
196
|
-
/// \li 32 buttons per joystick (sf::Joystick::ButtonCount)
|
|
197
|
-
/// \li 8 axes per joystick (sf::Joystick::AxisCount)
|
|
198
|
-
///
|
|
199
|
-
/// Unlike the keyboard or mouse, the state of joysticks is sometimes
|
|
200
|
-
/// not directly available (depending on the OS), therefore an update()
|
|
201
|
-
/// function must be called in order to update the current state of
|
|
202
|
-
/// joysticks. When you have a window with event handling, this is done
|
|
203
|
-
/// automatically, you don't need to call anything. But if you have no
|
|
204
|
-
/// window, or if you want to check joysticks state before creating one,
|
|
205
|
-
/// you must call sf::Joystick::update explicitly.
|
|
206
|
-
///
|
|
207
|
-
/// Usage example:
|
|
208
|
-
/// \code
|
|
209
|
-
/// // Is joystick #0 connected?
|
|
210
|
-
/// bool connected = sf::Joystick::isConnected(0);
|
|
211
|
-
///
|
|
212
|
-
/// // How many buttons does joystick #0 support?
|
|
213
|
-
/// unsigned int buttons = sf::Joystick::getButtonCount(0);
|
|
214
|
-
///
|
|
215
|
-
/// // Does joystick #0 define a X axis?
|
|
216
|
-
/// bool hasX = sf::Joystick::hasAxis(0, sf::Joystick::X);
|
|
217
|
-
///
|
|
218
|
-
/// // Is button #2 pressed on joystick #0?
|
|
219
|
-
/// bool pressed = sf::Joystick::isButtonPressed(0, 2);
|
|
220
|
-
///
|
|
221
|
-
/// // What's the current position of the Y axis on joystick #0?
|
|
222
|
-
/// float position = sf::Joystick::getAxisPosition(0, sf::Joystick::Y);
|
|
223
|
-
/// \endcode
|
|
224
|
-
///
|
|
225
|
-
/// \see sf::Keyboard, sf::Mouse
|
|
226
|
-
///
|
|
227
|
-
////////////////////////////////////////////////////////////
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
////////////////////////////////////////////////////////////
|
|
2
|
-
//
|
|
3
|
-
// SFML - Simple and Fast Multimedia Library
|
|
4
|
-
// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
|
|
5
|
-
//
|
|
6
|
-
// This software is provided 'as-is', without any express or implied warranty.
|
|
7
|
-
// In no event will the authors be held liable for any damages arising from the use of this software.
|
|
8
|
-
//
|
|
9
|
-
// Permission is granted to anyone to use this software for any purpose,
|
|
10
|
-
// including commercial applications, and to alter it and redistribute it freely,
|
|
11
|
-
// subject to the following restrictions:
|
|
12
|
-
//
|
|
13
|
-
// 1. The origin of this software must not be misrepresented;
|
|
14
|
-
// you must not claim that you wrote the original software.
|
|
15
|
-
// If you use this software in a product, an acknowledgment
|
|
16
|
-
// in the product documentation would be appreciated but is not required.
|
|
17
|
-
//
|
|
18
|
-
// 2. Altered source versions must be plainly marked as such,
|
|
19
|
-
// and must not be misrepresented as being the original software.
|
|
20
|
-
//
|
|
21
|
-
// 3. This notice may not be removed or altered from any source distribution.
|
|
22
|
-
//
|
|
23
|
-
////////////////////////////////////////////////////////////
|
|
24
|
-
|
|
25
|
-
#ifndef SFML_KEYBOARD_HPP
|
|
26
|
-
#define SFML_KEYBOARD_HPP
|
|
27
|
-
|
|
28
|
-
////////////////////////////////////////////////////////////
|
|
29
|
-
// Headers
|
|
30
|
-
////////////////////////////////////////////////////////////
|
|
31
|
-
#include <SFML/Window/Export.hpp>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
namespace sf
|
|
35
|
-
{
|
|
36
|
-
////////////////////////////////////////////////////////////
|
|
37
|
-
/// \brief Give access to the real-time state of the keyboard
|
|
38
|
-
///
|
|
39
|
-
////////////////////////////////////////////////////////////
|
|
40
|
-
class SFML_WINDOW_API Keyboard
|
|
41
|
-
{
|
|
42
|
-
public:
|
|
43
|
-
|
|
44
|
-
////////////////////////////////////////////////////////////
|
|
45
|
-
/// \brief Key codes
|
|
46
|
-
///
|
|
47
|
-
////////////////////////////////////////////////////////////
|
|
48
|
-
enum Key
|
|
49
|
-
{
|
|
50
|
-
Unknown = -1, ///< Unhandled key
|
|
51
|
-
A = 0, ///< The A key
|
|
52
|
-
B, ///< The B key
|
|
53
|
-
C, ///< The C key
|
|
54
|
-
D, ///< The D key
|
|
55
|
-
E, ///< The E key
|
|
56
|
-
F, ///< The F key
|
|
57
|
-
G, ///< The G key
|
|
58
|
-
H, ///< The H key
|
|
59
|
-
I, ///< The I key
|
|
60
|
-
J, ///< The J key
|
|
61
|
-
K, ///< The K key
|
|
62
|
-
L, ///< The L key
|
|
63
|
-
M, ///< The M key
|
|
64
|
-
N, ///< The N key
|
|
65
|
-
O, ///< The O key
|
|
66
|
-
P, ///< The P key
|
|
67
|
-
Q, ///< The Q key
|
|
68
|
-
R, ///< The R key
|
|
69
|
-
S, ///< The S key
|
|
70
|
-
T, ///< The T key
|
|
71
|
-
U, ///< The U key
|
|
72
|
-
V, ///< The V key
|
|
73
|
-
W, ///< The W key
|
|
74
|
-
X, ///< The X key
|
|
75
|
-
Y, ///< The Y key
|
|
76
|
-
Z, ///< The Z key
|
|
77
|
-
Num0, ///< The 0 key
|
|
78
|
-
Num1, ///< The 1 key
|
|
79
|
-
Num2, ///< The 2 key
|
|
80
|
-
Num3, ///< The 3 key
|
|
81
|
-
Num4, ///< The 4 key
|
|
82
|
-
Num5, ///< The 5 key
|
|
83
|
-
Num6, ///< The 6 key
|
|
84
|
-
Num7, ///< The 7 key
|
|
85
|
-
Num8, ///< The 8 key
|
|
86
|
-
Num9, ///< The 9 key
|
|
87
|
-
Escape, ///< The Escape key
|
|
88
|
-
LControl, ///< The left Control key
|
|
89
|
-
LShift, ///< The left Shift key
|
|
90
|
-
LAlt, ///< The left Alt key
|
|
91
|
-
LSystem, ///< The left OS specific key: window (Windows and Linux), apple (MacOS X), ...
|
|
92
|
-
RControl, ///< The right Control key
|
|
93
|
-
RShift, ///< The right Shift key
|
|
94
|
-
RAlt, ///< The right Alt key
|
|
95
|
-
RSystem, ///< The right OS specific key: window (Windows and Linux), apple (MacOS X), ...
|
|
96
|
-
Menu, ///< The Menu key
|
|
97
|
-
LBracket, ///< The [ key
|
|
98
|
-
RBracket, ///< The ] key
|
|
99
|
-
Semicolon, ///< The ; key
|
|
100
|
-
Comma, ///< The , key
|
|
101
|
-
Period, ///< The . key
|
|
102
|
-
Quote, ///< The ' key
|
|
103
|
-
Slash, ///< The / key
|
|
104
|
-
Backslash, ///< The \ key
|
|
105
|
-
Tilde, ///< The ~ key
|
|
106
|
-
Equal, ///< The = key
|
|
107
|
-
Hyphen, ///< The - key (hyphen)
|
|
108
|
-
Space, ///< The Space key
|
|
109
|
-
Enter, ///< The Enter/Return keys
|
|
110
|
-
Backspace, ///< The Backspace key
|
|
111
|
-
Tab, ///< The Tabulation key
|
|
112
|
-
PageUp, ///< The Page up key
|
|
113
|
-
PageDown, ///< The Page down key
|
|
114
|
-
End, ///< The End key
|
|
115
|
-
Home, ///< The Home key
|
|
116
|
-
Insert, ///< The Insert key
|
|
117
|
-
Delete, ///< The Delete key
|
|
118
|
-
Add, ///< The + key
|
|
119
|
-
Subtract, ///< The - key (minus, usually from numpad)
|
|
120
|
-
Multiply, ///< The * key
|
|
121
|
-
Divide, ///< The / key
|
|
122
|
-
Left, ///< Left arrow
|
|
123
|
-
Right, ///< Right arrow
|
|
124
|
-
Up, ///< Up arrow
|
|
125
|
-
Down, ///< Down arrow
|
|
126
|
-
Numpad0, ///< The numpad 0 key
|
|
127
|
-
Numpad1, ///< The numpad 1 key
|
|
128
|
-
Numpad2, ///< The numpad 2 key
|
|
129
|
-
Numpad3, ///< The numpad 3 key
|
|
130
|
-
Numpad4, ///< The numpad 4 key
|
|
131
|
-
Numpad5, ///< The numpad 5 key
|
|
132
|
-
Numpad6, ///< The numpad 6 key
|
|
133
|
-
Numpad7, ///< The numpad 7 key
|
|
134
|
-
Numpad8, ///< The numpad 8 key
|
|
135
|
-
Numpad9, ///< The numpad 9 key
|
|
136
|
-
F1, ///< The F1 key
|
|
137
|
-
F2, ///< The F2 key
|
|
138
|
-
F3, ///< The F3 key
|
|
139
|
-
F4, ///< The F4 key
|
|
140
|
-
F5, ///< The F5 key
|
|
141
|
-
F6, ///< The F6 key
|
|
142
|
-
F7, ///< The F7 key
|
|
143
|
-
F8, ///< The F8 key
|
|
144
|
-
F9, ///< The F9 key
|
|
145
|
-
F10, ///< The F10 key
|
|
146
|
-
F11, ///< The F11 key
|
|
147
|
-
F12, ///< The F12 key
|
|
148
|
-
F13, ///< The F13 key
|
|
149
|
-
F14, ///< The F14 key
|
|
150
|
-
F15, ///< The F15 key
|
|
151
|
-
Pause, ///< The Pause key
|
|
152
|
-
|
|
153
|
-
KeyCount, ///< Keep last -- the total number of keyboard keys
|
|
154
|
-
|
|
155
|
-
// Deprecated values:
|
|
156
|
-
|
|
157
|
-
Dash = Hyphen, ///< \deprecated Use Hyphen instead
|
|
158
|
-
BackSpace = Backspace, ///< \deprecated Use Backspace instead
|
|
159
|
-
BackSlash = Backslash, ///< \deprecated Use Backslash instead
|
|
160
|
-
SemiColon = Semicolon, ///< \deprecated Use Semicolon instead
|
|
161
|
-
Return = Enter ///< \deprecated Use Enter instead
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
////////////////////////////////////////////////////////////
|
|
165
|
-
/// \brief Check if a key is pressed
|
|
166
|
-
///
|
|
167
|
-
/// \param key Key to check
|
|
168
|
-
///
|
|
169
|
-
/// \return True if the key is pressed, false otherwise
|
|
170
|
-
///
|
|
171
|
-
////////////////////////////////////////////////////////////
|
|
172
|
-
static bool isKeyPressed(Key key);
|
|
173
|
-
|
|
174
|
-
////////////////////////////////////////////////////////////
|
|
175
|
-
/// \brief Show or hide the virtual keyboard
|
|
176
|
-
///
|
|
177
|
-
/// Warning: the virtual keyboard is not supported on all
|
|
178
|
-
/// systems. It will typically be implemented on mobile OSes
|
|
179
|
-
/// (Android, iOS) but not on desktop OSes (Windows, Linux, ...).
|
|
180
|
-
///
|
|
181
|
-
/// If the virtual keyboard is not available, this function does
|
|
182
|
-
/// nothing.
|
|
183
|
-
///
|
|
184
|
-
/// \param visible True to show, false to hide
|
|
185
|
-
///
|
|
186
|
-
////////////////////////////////////////////////////////////
|
|
187
|
-
static void setVirtualKeyboardVisible(bool visible);
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
} // namespace sf
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
#endif // SFML_KEYBOARD_HPP
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
////////////////////////////////////////////////////////////
|
|
197
|
-
/// \class sf::Keyboard
|
|
198
|
-
/// \ingroup window
|
|
199
|
-
///
|
|
200
|
-
/// sf::Keyboard provides an interface to the state of the
|
|
201
|
-
/// keyboard. It only contains static functions (a single
|
|
202
|
-
/// keyboard is assumed), so it's not meant to be instantiated.
|
|
203
|
-
///
|
|
204
|
-
/// This class allows users to query the keyboard state at any
|
|
205
|
-
/// time and directly, without having to deal with a window and
|
|
206
|
-
/// its events. Compared to the KeyPressed and KeyReleased events,
|
|
207
|
-
/// sf::Keyboard can retrieve the state of a key at any time
|
|
208
|
-
/// (you don't need to store and update a boolean on your side
|
|
209
|
-
/// in order to know if a key is pressed or released), and you
|
|
210
|
-
/// always get the real state of the keyboard, even if keys are
|
|
211
|
-
/// pressed or released when your window is out of focus and no
|
|
212
|
-
/// event is triggered.
|
|
213
|
-
///
|
|
214
|
-
/// Usage example:
|
|
215
|
-
/// \code
|
|
216
|
-
/// if (sf::Keyboard::isKeyPressed(sf::Keyboard::Left))
|
|
217
|
-
/// {
|
|
218
|
-
/// // move left...
|
|
219
|
-
/// }
|
|
220
|
-
/// else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Right))
|
|
221
|
-
/// {
|
|
222
|
-
/// // move right...
|
|
223
|
-
/// }
|
|
224
|
-
/// else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Escape))
|
|
225
|
-
/// {
|
|
226
|
-
/// // quit...
|
|
227
|
-
/// }
|
|
228
|
-
/// \endcode
|
|
229
|
-
///
|
|
230
|
-
/// \see sf::Joystick, sf::Mouse, sf::Touch
|
|
231
|
-
///
|
|
232
|
-
////////////////////////////////////////////////////////////
|