Re: [Audacity-devel] changing track colors
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Etienne T. <e....@gm...> - 2010-05-18 03:56:23
|
You are right Vaughan, it is all part of the adventure . Should have realized that asking for direction is the worst request you can make in the software world or to a software developer . Sorry to have asked -Etienne On Mon, May 17, 2010 at 9:27 PM, Vaughan Johnson <va...@au...>wrote: > Wish I'd seen this sooner. Asking for help from people more > knowledgeable is certainly part of software engineering, but if I were > your instructor, Etienne, I would say that finding the relevant code is > a big part of the assignment. You do not learn to search the structure > of the code on your own by getting the answers handed to you. > > So I'm not inclined to give you the further hint of where code to do > this (different colors for each track's waveform display) already > exists. But I'll play "20 questions" about it. > > :-) > > - Vaughan > > > On 5/17/2010 5:16 PM, Al Dimond wrote: > > On Monday, May 17, 2010 17:50:44 Etienne Theoret wrote: > >> I just downloaded the source code today and having problems on > >> finding what I need. > >> > >> I have along with a team to modify the play so that every track has > >> the waveline of different color. > >> This a slight modification that need to be done a software > >> engineering course. > >> > >> I am not asking on how to do it but which file may be of importance > >> in accomplishing the task. > >> > > > > I assume you're working with SVN HEAD or a recent source release from > > the 1.3 branch. There might be differences in older code that I don't > > know about. > > > > Waveform drawing takes place in TrackArtist::DrawClipWaveform(), in > > src/TrackArtist.cpp. You should be able to find brush declarations and > > initializations from there. Currently color declarations look pretty > > complicated because many of them use our half-completed support for > > theming and theme preferences. See the following wiki page for (a > > little) more info: > > > > http://wiki.audacityteam.org/wiki/Theming_HowTo > > > > You may, as the wiki suggests, find it better to ignore the theming > > stuff. If you want to use it you'll need to uncomment the definition of > > EXPERIMENTAL_THEME_PREFS in src/Experimental.h > > > > - Al > > > >> Thanks , any help is greatly appreciated > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |