From d3d05a9d55f8034fd856e32a5871e5977650c8c5 Mon Sep 17 00:00:00 2001 From: Niels Elburg Date: Tue, 2 Feb 2010 20:54:15 +0000 Subject: [PATCH] Added button for follow chain fade git-svn-id: svn://code.dyne.org/veejay/trunk@1371 eb8d1916-c9e9-0310-b8de-cf0c9472ead5 --- .../share/gveejay.reloaded.glade | 30 ++++++++++++++++ .../share/gveejay.reloaded.glade.bak | 34 ++++++++++++++++-- .../veejay-client/share/icon_follow.png | Bin 0 -> 853 bytes veejay-current/veejay-client/src/callback.c | 6 ++++ 4 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 veejay-current/veejay-client/share/icon_follow.png diff --git a/veejay-current/veejay-client/share/gveejay.reloaded.glade b/veejay-current/veejay-client/share/gveejay.reloaded.glade index 3d8d6092..ad60601d 100644 --- a/veejay-current/veejay-client/share/gveejay.reloaded.glade +++ b/veejay-current/veejay-client/share/gveejay.reloaded.glade @@ -15139,6 +15139,36 @@ YUV (current) True + + + + True + Switch to sample #B after completing fade. + True + GTK_RELIEF_HALF + True + False + False + True + + + + + True + icon_follow.png + 0.5 + 0.5 + 0 + 0 + + + + + 0 + False + False + + 0 diff --git a/veejay-current/veejay-client/share/gveejay.reloaded.glade.bak b/veejay-current/veejay-client/share/gveejay.reloaded.glade.bak index b242b3db..ad60601d 100644 --- a/veejay-current/veejay-client/share/gveejay.reloaded.glade.bak +++ b/veejay-current/veejay-client/share/gveejay.reloaded.glade.bak @@ -3629,7 +3629,7 @@ True _learn MIDI True - True + False @@ -3639,7 +3639,7 @@ True _MIDI enable True - True + False midilearn @@ -15139,6 +15139,36 @@ YUV (current) True + + + + True + Switch to sample #B after completing fade. + True + GTK_RELIEF_HALF + True + False + False + True + + + + + True + icon_follow.png + 0.5 + 0.5 + 0 + 0 + + + + + 0 + False + False + + 0 diff --git a/veejay-current/veejay-client/share/icon_follow.png b/veejay-current/veejay-client/share/icon_follow.png new file mode 100644 index 0000000000000000000000000000000000000000..59fb755a6f54bc20b1b171db42a8f69a5b1d4bfa GIT binary patch literal 853 zcmV-b1FHOqP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2igJx z6gV>+*w{k=000?uMObu0Z*6U5Zgc=ca%Ew3Wn>_CX>@2HM@dakSAh-}00088NklmHny;DXUDrU)BQ+h#p+}oJC-qL>7FziO;1;My{fM6exk?ze2(qVe@YU& zz_vH9MOB#{arN@$2oylrb*^LcCP}S&=S$lMwx^PU28@_EpA4|F@X>6N;QE4Ro4*bwG%^`4NCY#^8-Rb2mzo5ZU8rdJO4%? z=UkSf(VGXe*&EZzWISl;04XI>&Tmz9yA?Py-hvl{@v9K#Czo z#Ta>p0zgtB2%9A&AWDk1!>-OtBIitBh+*hb*dAv{*0)WItwu}oX21c_=l?|DCC3?o z9WVtxcv%QI#(2CaYTygtE8y+tO`v$5gXNqJG}djG(x1z^ew?~)Hh8DYnWk;;*b0!Qs$hxuKTS^>2`6nSmfE>-UHw};8)wD z0V2b_kZFOtz}=0eI0>Wic)e literal 0 HcmV?d00001 diff --git a/veejay-current/veejay-client/src/callback.c b/veejay-current/veejay-client/src/callback.c index 8971c398..a64e3d36 100644 --- a/veejay-current/veejay-client/src/callback.c +++ b/veejay-current/veejay-client/src/callback.c @@ -130,6 +130,12 @@ void on_button_001_clicked(GtkWidget *widget, gpointer user_data) vj_midi_learning_vims_simple( info->midi, NULL, VIMS_SET_PLAIN_MODE ); } +void on_fx_followfade_toggled( GtkWidget *widget, gpointer data ) +{ + int val = is_button_toggled( "fx_followfade" ) ? 1:0; + multi_vims( VIMS_CHAIN_FOLLOW_FADE,"%d", val ); +} + void on_button_252_clicked( GtkWidget *widget, gpointer user_data) { single_vims( VIMS_DEBUG_LEVEL );