Difference between revisions of "love.resize"
(Created page with "{{newin|0.9.0|090|type=callback}} Callback function triggered when window is resized. == Function == === Synopsis === <source lang="lua"> love.resize( w, h ) </source> === Ar...") |
m (Tweaked description) |
||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=callback}} | {{newin|[[0.9.0]]|090|type=callback}} | ||
− | + | Called when the window is resized. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 20: | Line 20: | ||
* [[parent::love]] | * [[parent::love]] | ||
[[Category:Callbacks]] | [[Category:Callbacks]] | ||
− | {{#set:Description= | + | {{#set:Description=Called when the window is resized.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|love.resize}} | {{i18n|love.resize}} |
Revision as of 23:56, 26 August 2013
Available since LÖVE 0.9.0 |
This callback is not supported in earlier versions. |
Called when the window is resized.
Function
Synopsis
love.resize( w, h )
Arguments
Returns
Nothing.
Example
function love.resize(w, h)
print(("Window resized to width: %d and height: %d."):format(w, h))
end
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info