Blender V4.3
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 15 of file window.h.

◆ WindowExitFunc

typedef void(* WindowExitFunc) ()

Definition at line 13 of file window.h.

◆ WindowKeyboardFunc

typedef void(* WindowKeyboardFunc) (unsigned char key)

Definition at line 16 of file window.h.

◆ WindowMotionFunc

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

Definition at line 17 of file window.h.

◆ WindowResizeFunc

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

Definition at line 14 of file window.h.

Function Documentation

◆ window_display_help()

void window_display_help ( )

Definition at line 97 of file window.cpp.

References CYCLES_VERSION_STRING, int, V, w(), and window_display_text().

◆ window_display_info()

void window_display_info ( const char * info)

Definition at line 76 of file window.cpp.

References V, and window_display_text().

◆ 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 258 of file window.cpp.

References V.

Referenced by session_init(), and window_display().

◆ window_opengl_context_enable()

bool window_opengl_context_enable ( )

Definition at line 251 of file window.cpp.

References V.

Referenced by session_init(), and window_display().

◆ window_redraw()

void window_redraw ( )

Definition at line 352 of file window.cpp.

References V.

Referenced by session_init().

Variable Documentation

◆ WindowInitFunc

CCL_NAMESPACE_BEGIN typedef void(* WindowInitFunc) () ( )

Definition at line 12 of file window.h.

Referenced by window_main_loop().