Blender  V2.93
Typedefs | Functions | Variables
util_view.h File Reference

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 Documentation

◆ ViewDisplayFunc

typedef void(* ViewDisplayFunc) ()

Definition at line 28 of file util_view.h.

◆ ViewExitFunc

typedef void(* ViewExitFunc) ()

Definition at line 26 of file util_view.h.

◆ ViewKeyboardFunc

typedef void(* ViewKeyboardFunc) (unsigned char key)

Definition at line 29 of file util_view.h.

◆ ViewMotionFunc

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

Definition at line 30 of file util_view.h.

◆ ViewResizeFunc

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

Definition at line 27 of file util_view.h.

Function Documentation

◆ view_display_help()

void view_display_help ( )

◆ view_display_info()

void view_display_info ( const char *  info)

◆ view_main_loop()

void view_main_loop ( const char *  title,
int  width,
int  height,
ViewInitFunc  initf,
ViewExitFunc  exitf,
ViewResizeFunc  resize,
ViewDisplayFunc  display,
ViewKeyboardFunc  keyboard,
ViewMotionFunc  motion 
)

◆ view_redraw()

void view_redraw ( )

Definition at line 277 of file util_view.cpp.

References View::redraw, and V.

Referenced by session_init().

Variable Documentation

◆ ViewInitFunc

CCL_NAMESPACE_BEGIN typedef void(* ViewInitFunc) () ( )

Definition at line 25 of file util_view.h.