Blender V5.0
wmTimer Struct Reference

#include <WM_types.hh>

Public Attributes

wmTimernext
wmTimerprev
wmWindowwin
double time_step
wmEventType event_type
wmTimerFlags flags
void * customdata
double time_duration
double time_delta
double time_last
double time_next
double time_start
bool sleep

Detailed Description

Definition at line 952 of file WM_types.hh.

Member Data Documentation

◆ customdata

◆ event_type

wmEventType wmTimer::event_type

Set by timer user, goes to event system.

Definition at line 961 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ flags

wmTimerFlags wmTimer::flags

Various flags controlling timer options, see below.

Definition at line 963 of file WM_types.hh.

Referenced by screen_animation_step_invoke(), and WM_event_timer_add_notifier().

◆ next

wmTimer* wmTimer::next

Definition at line 953 of file WM_types.hh.

◆ prev

wmTimer * wmTimer::prev

Definition at line 953 of file WM_types.hh.

◆ sleep

bool wmTimer::sleep

Internal, put timers to sleep when needed.

Definition at line 979 of file WM_types.hh.

◆ time_delta

double wmTimer::time_delta

Time since previous step in seconds.

Definition at line 970 of file WM_types.hh.

Referenced by blender::ed::space_node::node_insert_offset_modal(), and screen_animation_step_invoke().

◆ time_duration

double wmTimer::time_duration

◆ time_last

double wmTimer::time_last

Internal, last time timer was activated.

Definition at line 973 of file WM_types.hh.

Referenced by screen_animation_step_invoke(), WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_next

double wmTimer::time_next

Internal, next time we want to activate the timer.

Definition at line 975 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_start

double wmTimer::time_start

Internal, when the timer started.

Definition at line 977 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_step

double wmTimer::time_step

◆ win

wmWindow* wmTimer::win

Window this timer is attached to (optional).

Definition at line 956 of file WM_types.hh.

Referenced by ED_reset_audio_device(), image_view_zoom_exit(), view_zoom_exit(), WM_event_timer_add(), and WM_event_timer_add_notifier().


The documentation for this struct was generated from the following file: