Difference between revisions of "love.graphics.setIcon"

Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.graphics.setIcon( drawable )
+
love.graphics.setIcon( image )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|Drawable|drawable|A drawable object.}}
+
{{param|Image|image|The window icon.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
=== Note ===
 
The icon should be a 32x32px png image.
 
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 06:16, 19 December 2012

Available since LÖVE 0.7.0
This functions is not supported in earlier versions.

Set window icon. This feature is not completely supported on Windows (apparently an SDL bug, not a LOVE bug: [1]).

Function

Synopsis

love.graphics.setIcon( image )

Arguments

Image image
The window icon.

Returns

Nothing.

See Also

Other Languages