Update C sources, add new functions

This commit is contained in:
Milan Nikolic 2017-02-10 11:28:19 +01:00
parent ac3cb63287
commit 2f90318d30
17 changed files with 332 additions and 242 deletions

View file

@ -484,6 +484,12 @@ func ToggleFullscreen() {
C.ToggleFullscreen()
}
// Set icon for window (only PLATFORM_DESKTOP)
func SetWindowIcon(image Image) {
cimage := image.cptr()
C.SetWindowIcon(*cimage)
}
// Get current screen width
func GetScreenWidth() int32 {
ret := C.GetScreenWidth()