Skip to content

Commit

Permalink
Generate sources (ce0f5c7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robot committed May 20, 2017
1 parent 324d94c commit 00f0f9b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ version: 0.1.0

dependencies:
crsfml:
github: BlaXpirit/crsfml
github: oprypin/crsfml
version: 1.2.3
```
Expand Down
2 changes: 1 addition & 1 deletion examples/diagnostics.cr
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class KeyboardView < View

case event.code
when SF::Keyboard::BackSpace
@str = @str.chop
@str = @str.rchop
when SF::Keyboard::Return
@str += '\n'
when SF::Keyboard::Tab
Expand Down
6 changes: 3 additions & 3 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: crsfml
version: 2.4.4
version: 2.4.5

authors:
- Oleh Prypin <oleh@pryp.in>
Expand All @@ -9,7 +9,7 @@ description: |
license: zlib

crystal: 0.20.4
crystal: 0.22.0

libraries:
SFML: 2.4.1
SFML: 2.4.2
4 changes: 2 additions & 2 deletions src/common.cr
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require "./sizes"

module SF
VERSION = "2.4.4"
SFML_VERSION = "2.4.1"
VERSION = "2.4.5"
SFML_VERSION = "2.4.2"

# Raised in shorthand class methods if initialization or resource loading fails
class InitError < Exception
Expand Down
2 changes: 0 additions & 2 deletions src/window/obj.cr
Original file line number Diff line number Diff line change
Expand Up @@ -1936,8 +1936,6 @@ module SF
# Enumeration of the window styles
@[Flags]
enum Style
# No border / title bar (this flag and all others are mutually exclusive)
None = 0
# Title bar + fixed border
Titlebar = 1 << 0
# Title bar + resizable border + maximize button
Expand Down
4 changes: 2 additions & 2 deletions voidcsfml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ list(APPEND CMAKE_MODULE_PATH "/usr/local/opt/sfml/share/SFML/cmake/Modules") #
find_package(SFML 2.4
COMPONENTS system window graphics audio network REQUIRED
)
if(NOT "2.4.1" STREQUAL "${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH}")
if(NOT "2.4.2" STREQUAL "${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH}")
message(WARNING
"Expecting SFML 2.4.1, "
"Expecting SFML 2.4.2, "
"found SFML ${SFML_VERSION_MAJOR}.${SFML_VERSION_MINOR}.${SFML_VERSION_PATCH}"
)
endif()
Expand Down

0 comments on commit 00f0f9b

Please sign in to comment.