Class | Rubygame::ResizeEvent |
In: |
ext/rubygame/rubygame_mixer.c
lib/rubygame/event.rb |
Parent: | Rubygame::Event |
Indicates that the application window was resized. (After this event occurs, you should use Screen#set_mode to change the display surface to the new size.)
This event has these attributes:
size: | the new size of the window, in pixels [w,h]. |