Blender
V3.3
|
Public Attributes | |
int | win_x |
int | win_y |
float | zoom |
short | direction |
short | next_frame |
bool | once |
bool | pingpong |
bool | noskip |
bool | indicator |
bool | sstep |
bool | wait2 |
bool | stopped |
bool | go |
bool | loading |
bool | draw_flip [2] |
int | fstep |
struct PlayAnimPict * | picture |
int | ibufx |
int | ibufy |
int | fontid |
char | dropped_file [FILE_MAX] |
bool | need_frame_update |
int | frame_cursor_x |
ColorManagedViewSettings | view_settings |
ColorManagedDisplaySettings | display_settings |
The current state of the player.
Definition at line 92 of file wm_playanim.c.
short PlayState::direction |
Playback direction (-1, 1).
Definition at line 101 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
ColorManagedDisplaySettings PlayState::display_settings |
Definition at line 151 of file wm_playanim.c.
Referenced by ocio_transform_ibuf(), and wm_main_playanim_intern().
bool PlayState::draw_flip[2] |
X/Y image flip (set via key bindings).
Definition at line 129 of file wm_playanim.c.
Referenced by draw_display_buffer(), ghost_event_proc(), and wm_main_playanim_intern().
char PlayState::dropped_file[FILE_MAX] |
Restarts player for file drop (drag & drop).
Definition at line 143 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
int PlayState::fontid |
Mono-space font ID.
Definition at line 140 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
int PlayState::frame_cursor_x |
The current frame calculated by scrubbing the mouse cursor.
Definition at line 148 of file wm_playanim.c.
Referenced by change_frame(), and tag_change_frame().
int PlayState::fstep |
The number of frames to step each update (default to 1, command line argument).
Definition at line 132 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
bool PlayState::go |
When disabled the current animation will exit, after this either the application exits or a new animation window is opened.
This is used so drag & drop can load new files which setup a newly created animation window.
Definition at line 125 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
int PlayState::ibufx |
Image size in pixels, set once at the start.
Definition at line 138 of file wm_playanim.c.
Referenced by ghost_event_proc(), playanim_window_zoom(), and wm_main_playanim_intern().
int PlayState::ibufy |
Definition at line 138 of file wm_playanim.c.
Referenced by ghost_event_proc(), playanim_window_zoom(), and wm_main_playanim_intern().
bool PlayState::indicator |
Display current frame over the window.
Definition at line 112 of file wm_playanim.c.
Referenced by ghost_event_proc(), playanim_toscreen(), and wm_main_playanim_intern().
bool PlayState::loading |
True when waiting for images to load.
Definition at line 127 of file wm_playanim.c.
Referenced by build_pict_list(), build_pict_list_ex(), ghost_event_proc(), and wm_main_playanim_intern().
bool PlayState::need_frame_update |
Force update when scrubbing with the cursor.
Definition at line 146 of file wm_playanim.c.
Referenced by change_frame(), and tag_change_frame().
short PlayState::next_frame |
Set the next frame to implement frame stepping (using shortcuts).
Definition at line 103 of file wm_playanim.c.
Referenced by change_frame(), ghost_event_proc(), and wm_main_playanim_intern().
bool PlayState::noskip |
Disable frame skipping.
Definition at line 110 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
bool PlayState::once |
Playback once then wait.
Definition at line 106 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
struct PlayAnimPict* PlayState::picture |
Current frame (picture).
Definition at line 135 of file wm_playanim.c.
Referenced by change_frame(), ghost_event_proc(), playanim_toscreen(), and wm_main_playanim_intern().
bool PlayState::pingpong |
Play forwards/backwards.
Definition at line 108 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
bool PlayState::sstep |
Single-frame stepping has been enabled (frame loading and update pending).
Definition at line 114 of file wm_playanim.c.
Referenced by change_frame(), ghost_event_proc(), and wm_main_playanim_intern().
bool PlayState::stopped |
Playback stopped state once stop/start variables have been handled.
Definition at line 118 of file wm_playanim.c.
Referenced by ghost_event_proc(), and wm_main_playanim_intern().
ColorManagedViewSettings PlayState::view_settings |
Definition at line 150 of file wm_playanim.c.
Referenced by ocio_transform_ibuf(), and wm_main_playanim_intern().
bool PlayState::wait2 |
Playback has stopped the image has been displayed.
Definition at line 116 of file wm_playanim.c.
Referenced by change_frame(), ghost_event_proc(), and wm_main_playanim_intern().
int PlayState::win_x |
Window and viewport size.
Definition at line 95 of file wm_playanim.c.
Referenced by ghost_event_proc(), playanim_toscreen(), and wm_main_playanim_intern().
int PlayState::win_y |
Definition at line 95 of file wm_playanim.c.
Referenced by ghost_event_proc(), playanim_toscreen(), and wm_main_playanim_intern().
float PlayState::zoom |
Current zoom level.
Definition at line 98 of file wm_playanim.c.
Referenced by ghost_event_proc(), playanim_toscreen(), playanim_window_zoom(), and wm_main_playanim_intern().