zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 5e2f918d53a0d60c6dda5e8b71b489f9e9f9922c
parent ae10cf100f080a34ec1b9b4cfb133afa455a11c8
Author: Friedolino <mkirchn@freenet.de>
Date:   Sat,  3 Aug 2024 01:12:12 +0200

apply changes to key shift ports to fltk gui

Diffstat:
Msrc/UI/MasterUI.fl | 6+++---
Msrc/UI/PartUI.fl | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/UI/MasterUI.fl b/src/UI/MasterUI.fl @@ -527,7 +527,7 @@ if (fl_choice("The file *might* exist. \\nOverwrite it?","No","Yes",NULL)) { label {Master KeyShift} xywh {150 97 120 23} type Simple labelsize 9 minimum -64 maximum 64 step 1 code0 {o->lstep(12);} - code1 {o->init("Pkeyshift",'i',-64);} + code1 {o->init("Pkeyshift",'i',0);} class Fl_Osc_Counter } Fl_Button {} { @@ -1174,7 +1174,7 @@ simplemaxkcounter->do_callback();} label KeyShift xywh {280 120 50 20} type Simple labelsize 11 minimum -64 maximum 64 step 1 code0 {o->lstep(12);} - code1 {o->init("Pkeyshift", 'i', -64);} + code1 {o->init("Pkeyshift", 'i', 0);} class Fl_Osc_Counter } Fl_Dial simplesyseffsend { @@ -1456,7 +1456,7 @@ pthread_mutex_unlock(&master->mutex);*/} label {Master KeyShift} xywh {15 110 90 20} labelsize 11 minimum -64 maximum 64 step 1 code0 {o->lstep(12);} - code1 {o->init("Pkeyshift",'i',-64);} + code1 {o->init("Pkeyshift",'i',0);} class Fl_Osc_Counter } Fl_Button {} { diff --git a/src/UI/PartUI.fl b/src/UI/PartUI.fl @@ -286,7 +286,7 @@ class PartUI {open : {public Fl_Osc_Group} label KeyShift xywh {195 45 90 20} labelsize 11 align 1 minimum -64 maximum 64 step 1 code0 {o->lstep(12);} - code1 {o->init("Pkeyshift", 'i', -64);} + code1 {o->init("Pkeyshift", 'i', 0);} class Fl_Osc_Counter } Fl_Scroll {} {open