Blender V2.61 - r43446
Functions

wm_window.h File Reference

Go to the source code of this file.

Functions

void wm_ghost_init (bContext *C)
void wm_ghost_exit (void)
void wm_get_screensize (int *width_r, int *height_r)
wmWindowwm_window_new (bContext *C)
void wm_window_free (bContext *C, wmWindowManager *wm, wmWindow *win)
void wm_window_close (bContext *C, wmWindowManager *wm, wmWindow *win)
void wm_window_title (wmWindowManager *wm, wmWindow *win)
void wm_window_add_ghostwindows (bContext *C, wmWindowManager *wm)
void wm_window_process_events (const bContext *C)
void wm_window_process_events_nosleep (void)
void wm_window_make_drawable (bContext *C, wmWindow *win)
void wm_window_raise (wmWindow *win)
void wm_window_lower (wmWindow *win)
void wm_window_set_size (wmWindow *win, int width, int height)
void wm_window_get_size (wmWindow *win, int *width_r, int *height_r)
void wm_window_get_size_ghost (wmWindow *win, int *width_r, int *height_r)
void wm_window_get_position (wmWindow *win, int *posx_r, int *posy_r)
void wm_window_swap_buffers (wmWindow *win)
void wm_get_cursor_position (wmWindow *win, int *x, int *y)
wmWindowwm_window_copy (bContext *C, wmWindow *winorig)
void wm_window_testbreak (void)
int wm_window_duplicate_exec (bContext *C, struct wmOperator *op)
int wm_window_fullscreen_toggle_exec (bContext *C, struct wmOperator *op)

Detailed Description

Definition in file wm_window.h.


Function Documentation

void wm_get_cursor_position ( wmWindow win,
int *  x,
int *  y 
)
void wm_get_screensize ( int *  width_r,
int *  height_r 
)
void wm_ghost_exit ( void  )

Definition at line 954 of file wm_window.c.

References g_system, GHOST_DisposeSystem(), and NULL.

Referenced by WM_exit_ext().

void wm_ghost_init ( bContext C)
void wm_window_add_ghostwindows ( bContext C,
wmWindowManager wm 
)
void wm_window_close ( bContext C,
wmWindowManager wm,
wmWindow win 
)
wmWindow* wm_window_copy ( bContext C,
wmWindow winorig 
)
int wm_window_duplicate_exec ( bContext C,
struct wmOperator op 
)
void wm_window_free ( bContext C,
wmWindowManager wm,
wmWindow win 
)
int wm_window_fullscreen_toggle_exec ( bContext C,
struct wmOperator op 
)
void wm_window_get_position ( wmWindow win,
int *  posx_r,
int *  posy_r 
)

Definition at line 1086 of file wm_window.c.

References wmWindow::posx, and wmWindow::posy.

void wm_window_get_size ( wmWindow win,
int *  width_r,
int *  height_r 
)
void wm_window_get_size_ghost ( wmWindow win,
int *  width_r,
int *  height_r 
)
void wm_window_lower ( wmWindow win)
void wm_window_make_drawable ( bContext C,
wmWindow win 
)
wmWindow* wm_window_new ( bContext C)
void wm_window_process_events ( const bContext C)

Definition at line 903 of file wm_window.c.

References g_system, GHOST_DispatchEvents(), GHOST_ProcessEvents(), PIL_sleep_ms(), and wm_window_timer().

Referenced by WM_main().

void wm_window_process_events_nosleep ( void  )

Definition at line 917 of file wm_window.c.

References g_system, GHOST_DispatchEvents(), and GHOST_ProcessEvents().

Referenced by StartKetsjiShell().

void wm_window_raise ( wmWindow win)
void wm_window_set_size ( wmWindow win,
int  width,
int  height 
)

Definition at line 1109 of file wm_window.c.

References GHOST_SetClientSize(), and wmWindow::ghostwin.

Referenced by WM_window_open_temp().

void wm_window_swap_buffers ( wmWindow win)
void wm_window_testbreak ( void  )

Definition at line 924 of file wm_window.c.

References g_system, GHOST_DispatchEvents(), GHOST_ProcessEvents(), and PIL_check_seconds_timer().

Referenced by WM_init().

void wm_window_title ( wmWindowManager wm,
wmWindow win 
)