atomes 1.1.14
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
w_sequencer.c File Reference

Functions to create the MD sequencer window. More...

#include "global.h"
#include "interface.h"
#include "callbacks.h"
#include "glview.h"
#include "glwindow.h"
+ Include dependency graph for w_sequencer.c:

Go to the source code of this file.

Functions

void set_player_title (glwin *view)
 set sequencer window title
 
void update_selection (glwin *view, int o_step)
 match and udpate selected atom()s from o_step to the active step
 
void update_step_button (glwin *view)
 correct widget buttons sensitivity based on MD step
 
void sequence (glwin *view, int o_step, int n_step)
 sequence to next step
 
G_MODULE_EXPORT void seq_go_previous (GtkButton *but, gpointer data)
 go to previous frame
 
G_MODULE_EXPORT void seq_go_next (GtkButton *but, gpointer data)
 go to next frame
 
G_MODULE_EXPORT void seq_go_first (GtkButton *but, gpointer data)
 go to first frame
 
G_MODULE_EXPORT void seq_go_last (GtkButton *but, gpointer data)
 got to last frame
 
G_MODULE_EXPORT void seq_go_to (GtkEntry *res, gpointer data)
 jump to frame
 
G_MODULE_EXPORT void seq_jump (GtkButton *but, gpointer data)
 jump to frame dialog
 
G_MODULE_EXPORT void seq_play (GtkButton *but, gpointer data)
 play
 
G_MODULE_EXPORT void seq_stop (GtkButton *but, gpointer data)
 stop
 
G_MODULE_EXPORT void seq_loop (GtkButton *but, gpointer data)
 loop the animation
 
G_MODULE_EXPORT void seq_faster (GtkButton *but, gpointer data)
 go faster
 
G_MODULE_EXPORT void seq_slower (GtkButton *but, gpointer data)
 go slower
 
G_MODULE_EXPORT void window_sequencer (GtkWidget *widg, gpointer data)
 create the sequencer window
 

Detailed Description

Functions to create the MD sequencer window.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file w_sequencer.c.

Function Documentation

◆ seq_faster()

G_MODULE_EXPORT void seq_faster ( GtkButton * but,
gpointer data )

go faster

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 397 of file w_sequencer.c.

◆ seq_go_first()

G_MODULE_EXPORT void seq_go_first ( GtkButton * but,
gpointer data )

go to first frame

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 211 of file w_sequencer.c.

◆ seq_go_last()

G_MODULE_EXPORT void seq_go_last ( GtkButton * but,
gpointer data )

got to last frame

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 225 of file w_sequencer.c.

◆ seq_go_next()

G_MODULE_EXPORT void seq_go_next ( GtkButton * but,
gpointer data )

go to next frame

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 193 of file w_sequencer.c.

◆ seq_go_previous()

G_MODULE_EXPORT void seq_go_previous ( GtkButton * but,
gpointer data )

go to previous frame

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 176 of file w_sequencer.c.

◆ seq_go_to()

G_MODULE_EXPORT void seq_go_to ( GtkEntry * res,
gpointer data )

jump to frame

Parameters
resthe GtkEntry sending the signal
datathe associated data pointer

Definition at line 239 of file w_sequencer.c.

◆ seq_jump()

G_MODULE_EXPORT void seq_jump ( GtkButton * but,
gpointer data )

jump to frame dialog

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 260 of file w_sequencer.c.

◆ seq_loop()

G_MODULE_EXPORT void seq_loop ( GtkButton * but,
gpointer data )

loop the animation

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 351 of file w_sequencer.c.

◆ seq_play()

G_MODULE_EXPORT void seq_play ( GtkButton * but,
gpointer data )

play

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 318 of file w_sequencer.c.

◆ seq_slower()

G_MODULE_EXPORT void seq_slower ( GtkButton * but,
gpointer data )

go slower

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 425 of file w_sequencer.c.

◆ seq_stop()

G_MODULE_EXPORT void seq_stop ( GtkButton * but,
gpointer data )

stop

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 337 of file w_sequencer.c.

◆ sequence()

void sequence ( glwin * view,
int o_step,
int n_step )

sequence to next step

Parameters
viewthe target glwin
o_stepactual step
n_stepnext step

Definition at line 152 of file w_sequencer.c.

◆ set_player_title()

void set_player_title ( glwin * view)

set sequencer window title

Parameters
viewthe target glwin

Definition at line 69 of file w_sequencer.c.

◆ update_selection()

void update_selection ( glwin * view,
int o_step )

match and udpate selected atom()s from o_step to the active step

Parameters
viewthe target glwin
o_stepthe step to match selection with

Definition at line 85 of file w_sequencer.c.

◆ update_step_button()

void update_step_button ( glwin * view)

correct widget buttons sensitivity based on MD step

Parameters
viewthe target glwin

Definition at line 118 of file w_sequencer.c.

◆ window_sequencer()

G_MODULE_EXPORT void window_sequencer ( GtkWidget * widg,
gpointer data )

create the sequencer window

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 453 of file w_sequencer.c.