Blender V2.61 - r43446
Defines | Functions

wm_subwindow.h File Reference

Go to the source code of this file.

Defines

#define WM_MAXSUBWIN   256

Functions

void wm_subwindows_free (wmWindow *win)
int wm_subwindow_open (wmWindow *win, rcti *winrct)
void wm_subwindow_close (wmWindow *win, int swinid)
int wm_subwindow_get (wmWindow *win)
void wm_subwindow_position (wmWindow *win, int swinid, rcti *winrct)
void wm_subwindow_getsize (wmWindow *win, int swinid, int *x, int *y)
void wm_subwindow_getorigin (wmWindow *win, int swinid, int *x, int *y)
void wm_subwindow_getmatrix (wmWindow *win, int swinid, float mat[][4])
unsigned int index_to_framebuffer (int index)

Detailed Description

Definition in file wm_subwindow.h.


Define Documentation

#define WM_MAXSUBWIN   256

Definition at line 37 of file wm_subwindow.h.


Function Documentation

unsigned int index_to_framebuffer ( int  index)

Definition at line 345 of file wm_subwindow.c.

References GPU_color_depth(), and i.

Referenced by WM_set_framebuffer_index_color().

void wm_subwindow_close ( wmWindow win,
int  swinid 
)
int wm_subwindow_get ( wmWindow win)

Definition at line 97 of file wm_subwindow.c.

References wmWindow::curswin, and wmSubWindow::swinid.

void wm_subwindow_getmatrix ( wmWindow win,
int  swinid,
float  mat[][4] 
)
void wm_subwindow_getorigin ( wmWindow win,
int  swinid,
int *  x,
int *  y 
)
void wm_subwindow_getsize ( wmWindow win,
int  swinid,
int *  x,
int *  y 
)
int wm_subwindow_open ( wmWindow win,
rcti winrct 
)
void wm_subwindow_position ( wmWindow win,
int  swinid,
rcti winrct 
)
void wm_subwindows_free ( wmWindow win)