Tao.Sdl SDK Documentation

Sdl.SDL_ResizeEvent Structure

Window resized event

For a list of all members of this type, see Sdl.SDL_ResizeEvent Members.

System.Object
   System.ValueType
      Tao.Sdl.Sdl.SDL_ResizeEvent

[Visual Basic]
Public Structure Sdl.SDL_ResizeEvent
[C#]
public struct Sdl.SDL_ResizeEvent

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

SDL_ResizeEvent is a member of the Sdl.SDL_Event union and is used when an event of type SDL_VIDEORESIZE is reported.

When SDL_RESIZABLE is passed as a flag to SDL_SetVideoMode the user is allowed to resize the applications window. When the window is resized an SDL_VIDEORESIZE is report, with the new window width and height values stored in w and h, respectively. When an SDL_VIDEORESIZE is recieved the window should be resized to the new dimensions using SDL_SetVideoMode.

Struct in SDL_events.h

            typedef struct{
                    Uint8 type;
                    int w, h;
                } SDL_ResizeEvent;
            

Requirements

Namespace: Tao.Sdl

Assembly: Tao.Sdl (in Tao.Sdl.dll)

See Also

Sdl.SDL_ResizeEvent Members | Tao.Sdl Namespace | Sdl.SDL_Event | SDL_SetVideoMode