Blender  V3.3
Typedefs | Functions | Variables
window.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* WindowExitFunc) ()
 
typedef void(* WindowResizeFunc) (int width, int height)
 
typedef void(* WindowDisplayFunc) ()
 
typedef void(* WindowKeyboardFunc) (unsigned char key)
 
typedef void(* WindowMotionFunc) (int x, int y, int button)
 

Functions

void window_main_loop (const char *title, int width, int height, WindowInitFunc initf, WindowExitFunc exitf, WindowResizeFunc resize, WindowDisplayFunc display, WindowKeyboardFunc keyboard, WindowMotionFunc motion)
 
void window_display_info (const char *info)
 
void window_display_help ()
 
void window_redraw ()
 
bool window_opengl_context_enable ()
 
void window_opengl_context_disable ()
 

Variables

CCL_NAMESPACE_BEGIN typedef void(* WindowInitFunc )()
 

Typedef Documentation

◆ WindowDisplayFunc

typedef void(* WindowDisplayFunc) ()

Definition at line 14 of file window.h.

◆ WindowExitFunc

typedef void(* WindowExitFunc) ()

Definition at line 12 of file window.h.

◆ WindowKeyboardFunc

typedef void(* WindowKeyboardFunc) (unsigned char key)

Definition at line 15 of file window.h.

◆ WindowMotionFunc

typedef void(* WindowMotionFunc) (int x, int y, int button)

Definition at line 16 of file window.h.

◆ WindowResizeFunc

typedef void(* WindowResizeFunc) (int width, int height)

Definition at line 13 of file window.h.

Function Documentation

◆ window_display_help()

void window_display_help ( )

◆ window_display_info()

void window_display_info ( const char *  info)

◆ window_main_loop()

void window_main_loop ( const char *  title,
int  width,
int  height,
WindowInitFunc  initf,
WindowExitFunc  exitf,
WindowResizeFunc  resize,
WindowDisplayFunc  display,
WindowKeyboardFunc  keyboard,
WindowMotionFunc  motion 
)

◆ window_opengl_context_disable()

void window_opengl_context_disable ( )

Definition at line 253 of file window.cpp.

References Window::gl_context_mutex, V, and Window::window.

Referenced by session_init(), and window_display().

◆ window_opengl_context_enable()

bool window_opengl_context_enable ( )

Definition at line 246 of file window.cpp.

References Window::gl_context, Window::gl_context_mutex, V, and Window::window.

Referenced by session_init(), and window_display().

◆ window_redraw()

void window_redraw ( )

Definition at line 347 of file window.cpp.

References Window::redraw, and V.

Referenced by session_init().

Variable Documentation

◆ WindowInitFunc

CCL_NAMESPACE_BEGIN typedef void(* WindowInitFunc) () ( )

Definition at line 11 of file window.h.