TCuikPlayControl Struct Reference

Detailed Description

cuikplay control structure. This is shared between the cuikplay main application and the interface callbacks.

Definition at line 67 of file cuikplay.h.

Data Fields

boolean end
 
unsigned int mode
 
unsigned int currentFrame
 
unsigned int nextFrame
 
unsigned int maxFrame
 
double nextTime
 
double * delay
 
double defaultDelay
 

Field Documentation

◆ end

boolean TCuikPlayControl::end

TRUE if cuikplay is to be closed.

Definition at line 68 of file cuikplay.h.

Referenced by main(), and on_cuikplay_quit().

◆ mode

unsigned int TCuikPlayControl::mode

Mode of cuikplay: PLAY, PAUSE, MOVE (to frame).

Definition at line 69 of file cuikplay.h.

Referenced by main(), on_cuikplay_pause_clicked(), and on_cuikplay_play_clicked().

◆ currentFrame

unsigned int TCuikPlayControl::currentFrame

Identifier of the last displayed frame.

Definition at line 70 of file cuikplay.h.

Referenced by main(), and on_cuikplay_play_clicked().

◆ nextFrame

unsigned int TCuikPlayControl::nextFrame

Identifier of the frame to be displayed next.

Definition at line 71 of file cuikplay.h.

Referenced by main(), and on_cuikplay_slider_changed().

◆ maxFrame

unsigned int TCuikPlayControl::maxFrame

Identifier of the last possible frame.

Definition at line 72 of file cuikplay.h.

Referenced by main(), and on_cuikplay_play_clicked().

◆ nextTime

double TCuikPlayControl::nextTime

Time at which the next frame has to be displayed.

Definition at line 73 of file cuikplay.h.

Referenced by main(), and on_cuikplay_play_clicked().

◆ delay

double* TCuikPlayControl::delay

Delay between frames. If NULL the default delay of defaultDelay is used.

Definition at line 74 of file cuikplay.h.

Referenced by main(), and on_cuikplay_play_clicked().

◆ defaultDelay

double TCuikPlayControl::defaultDelay

Default frame delay. User given or the one fixed in DEFAULT_TIME_DELAY

Definition at line 76 of file cuikplay.h.

Referenced by main(), and on_cuikplay_play_clicked().