forked from DeedleFake/sdl
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e407669
commit 1f00d73
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Go Bindings for SDL 2 | ||
===================== | ||
|
||
This [Go][golang] package provides bindings for [SDL][sdl] 2. It mostly follows the same API, but substitutes the 'SDL\_' prefix in the C definitions with the sdl package prefix. Thus, the C function | ||
|
||
> SDL\_CreateWindow() | ||
would be | ||
|
||
> sdl.CreateWindow() | ||
in this package. Also, some functions have been changed to methods of related types where it seemed appropriate. Thus, this package's equivalent for | ||
|
||
> SDL\_CreateRenderer() | ||
is | ||
|
||
> (\*Window)CreateRenderer() | ||
in this package. | ||
|
||
_Note: This is not yet finished. It is capable of loading and displaying images and handling events, but it many things do not have bindings, nor has it been thourouly tested. Expect bugs and missing features._ | ||
|
||
Prerequisites | ||
------------- | ||
|
||
* [SDL][sdl] 2 (Still in development as of 2012-08-01.) | ||
* [Go][golang] | ||
|
||
[golang]: http://www.golang.org | ||
[sdl]: http://www.libsdl.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Implement better tests. For all I know, large parts of this are horribly broken. | ||
|
||
For more, see TODO comments in individual files. |