GUJ Discussões   :   últimos tópicos   |   categorias   |   GUJ Respostas

Neste código o que é a referência wm_window_h


#1

Estou tentando descobrir com a api de interface gráfica do Blender 3D. Achei este código:

#ifndef __WM_WINDOW_H__
#define __WM_WINDOW_H__

struct wmOperator;

/* *************** internal api ************** */
void		wm_ghost_init			(bContext *C);
void		wm_ghost_exit(void);

void wm_get_screensize(int *r_width, int *r_height);
void wm_get_desktopsize(int *r_width, int *r_height);

wmWindow	*wm_window_new			(bContext *C);
wmWindow	*wm_window_copy			(bContext *C, wmWindow *win_src);
wmWindow	*wm_window_copy_test	(bContext *C, wmWindow *win_src);
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_ghostwindows_ensure(wmWindowManager *wm);
void		wm_window_ghostwindows_remove_invalid(bContext *C, wmWindowManager *wm);
void		wm_window_process_events	(const bContext *C);
void		wm_window_process_events_nosleep(void);

Posso deduzir que existe uma “biblioteca” wm usada pelo Blender 3D