Hello! I'm trying to add functionality to allow the user to choose when the
end of track warning starts, as requested in a easy bug.
At the moment I've managed to add a spinbox to preferences and to store the
selected value. But I'm a bit confused on how to change the hardcoded value
for the preferences one.
In *dlgprefcontrols.cpp* I've added a *slotSetTrackEndWarningTime* function
that sets the *ConfigOption*. If I understood the code well, it should also
update the value wherever it should, in order of the waveform engine to use
the new one.
I have also added a *slotSetRemainingTimeTriggerSeconds(int time)* in *
waveformrendererendoftrack.cpp* that sets the *m_remainingTimeTriggerSeconds
* property of this object.
However, I don't know ho should I use this slot, as Idon't really
understand how renderers are used. Also, I am going in th good direction?
Best Regards, Ferran Pujol Camins
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel