|
Blender
V2.93
|
Go to the source code of this file.
Typedefs | |
| typedef void(* | ViewExitFunc) () |
| typedef void(* | ViewResizeFunc) (int width, int height) |
| typedef void(* | ViewDisplayFunc) () |
| typedef void(* | ViewKeyboardFunc) (unsigned char key) |
| typedef void(* | ViewMotionFunc) (int x, int y, int button) |
Functions | |
| void | view_main_loop (const char *title, int width, int height, ViewInitFunc initf, ViewExitFunc exitf, ViewResizeFunc resize, ViewDisplayFunc display, ViewKeyboardFunc keyboard, ViewMotionFunc motion) |
| void | view_display_info (const char *info) |
| void | view_display_help () |
| void | view_redraw () |
Variables | |
| CCL_NAMESPACE_BEGIN typedef void(* | ViewInitFunc )() |
| typedef void(* ViewDisplayFunc) () |
Definition at line 28 of file util_view.h.
| typedef void(* ViewExitFunc) () |
Definition at line 26 of file util_view.h.
| typedef void(* ViewKeyboardFunc) (unsigned char key) |
Definition at line 29 of file util_view.h.
Definition at line 30 of file util_view.h.
Definition at line 27 of file util_view.h.
| void view_display_help | ( | ) |
Definition at line 82 of file util_view.cpp.
References CYCLES_VERSION_STRING, glColor3f, glColor4f, glDisable, glEnable, glRectf, View::height, V, view_display_text(), w(), View::width, x2, and y1.
| void view_display_info | ( | const char * | info | ) |
Definition at line 65 of file util_view.cpp.
References glColor3f, glColor4f, glDisable, glEnable, glRectf, View::height, height, V, view_display_text(), and View::width.
| void view_main_loop | ( | const char * | title, |
| int | width, | ||
| int | height, | ||
| ViewInitFunc | initf, | ||
| ViewExitFunc | exitf, | ||
| ViewResizeFunc | resize, | ||
| ViewDisplayFunc | display, | ||
| ViewKeyboardFunc | keyboard, | ||
| ViewMotionFunc | motion | ||
| ) |
Definition at line 231 of file util_view.cpp.
References View::display, View::exitf, View::first_display, View::height, height, View::initf, initf, View::keyboard, View::motion, View::redraw, View::resize, V, view_display(), view_idle(), view_keyboard(), view_motion(), view_mouse(), view_reshape(), View::width, and width.
Referenced by main().
| void view_redraw | ( | ) |
Definition at line 277 of file util_view.cpp.
References View::redraw, and V.
Referenced by session_init().
| CCL_NAMESPACE_BEGIN typedef void(* ViewInitFunc) () | ( | ) |
Definition at line 25 of file util_view.h.