Annotated edit history of
SDL_ResizeEvent(3) version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
2 |
perry |
1 |
SDL_!ResizeEvent |
|
|
2 |
!!!SDL_!ResizeEvent |
1 |
perry |
3 |
NAME |
|
|
4 |
STRUCTURE DEFINITION |
|
|
5 |
STRUCTURE DATA |
|
|
6 |
DESCRIPTION |
|
|
7 |
SEE ALSO |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
2 |
perry |
12 |
SDL_!ResizeEvent- Window resize event structure |
1 |
perry |
13 |
!!STRUCTURE DEFINITION |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
typedef struct{ |
|
|
17 |
Uint8 type; |
|
|
18 |
int w, h; |
2 |
perry |
19 |
} SDL_!ResizeEvent; |
1 |
perry |
20 |
!!STRUCTURE DATA |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
__type SDL_VIDEORESIZE__ |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
__w__, __h__ New width and height of the |
|
|
27 |
window |
|
|
28 |
!!DESCRIPTION |
|
|
29 |
|
|
|
30 |
|
2 |
perry |
31 |
__SDL_!ResizeEvent__ is a member of the __SDL_Event__ |
1 |
perry |
32 |
union and is used when an event of type |
|
|
33 |
__SDL_VIDEORESIZE__ is reported. |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
When __SDL_RESIZABLE__ is passed as a __flag__ to |
2 |
perry |
37 |
__SDL_!SetVideoMode__ the user is allowed to resize the |
1 |
perry |
38 |
applications window. When the window is resized an |
|
|
39 |
__SDL_VIDEORESIZE__ is report, with the new window width |
|
|
40 |
and height values stored in __w__ and __h__, |
|
|
41 |
respectively. When an __SDL_VIDEORESIZE__ is recieved the |
|
|
42 |
window should be resized to the new dimensions using |
2 |
perry |
43 |
__SDL_!SetVideoMode__. |
1 |
perry |
44 |
!!SEE ALSO |
|
|
45 |
|
|
|
46 |
|
2 |
perry |
47 |
__SDL_Event__, __SDL_!SetVideoMode__ |
1 |
perry |
48 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.