Blender
V3.3
|
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 )() |
void window_display_help | ( | ) |
Definition at line 96 of file window.cpp.
References CYCLES_VERSION_STRING, glColor3f, glColor4f, glDisable, glEnable, glRectf, Window::height, V, w(), Window::width, window_display_text(), x2, and y1.
void window_display_info | ( | const char * | info | ) |
Definition at line 75 of file window.cpp.
References glColor3f, glColor4f, glDisable, glEnable, glRectf, Window::height, height, V, Window::width, and window_display_text().
void window_main_loop | ( | const char * | title, |
int | width, | ||
int | height, | ||
WindowInitFunc | initf, | ||
WindowExitFunc | exitf, | ||
WindowResizeFunc | resize, | ||
WindowDisplayFunc | display, | ||
WindowKeyboardFunc | keyboard, | ||
WindowMotionFunc | motion | ||
) |
Definition at line 259 of file window.cpp.
References Window::display, Window::exitf, Window::first_display, Window::gl_context, Window::height, height, Window::initf, initf, Window::keyboard, Window::motion, NULL, Window::redraw, Window::resize, V, Window::width, width, Window::window, window_display(), window_keyboard(), window_motion(), window_mouse(), and window_reshape().
Referenced by main().
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().
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().
void window_redraw | ( | ) |
Definition at line 347 of file window.cpp.
References Window::redraw, and V.
Referenced by session_init().
CCL_NAMESPACE_BEGIN typedef void(* WindowInitFunc) () | ( | ) |