where is the code of Highlighting of tracks on mouse dragging

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
arizansari
Posts: 12
Joined: Thu Aug 09, 2018 11:01 am
Operating System: Windows 10

where is the code of Highlighting of tracks on mouse dragging

Post by arizansari » Sat Aug 25, 2018 4:18 am

I want to use audacity code in my Project
So I want to know the location of the code of HIGHLIGHTING OF THE TRACK when user select the region on mouse drag. Where is the drawing taking place that HIGHLIGHT the selected region.

steve
Site Admin
Posts: 81652
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: where is the code of Highlighting of tracks on mouse dragging

Post by steve » Sat Aug 25, 2018 11:22 am

It's mostly in TrackArtist.cpp, but the code is very specific to Audacity so I don't expect it will be much help for other applications, other than perhaps providing some ideas.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

arizansari
Posts: 12
Joined: Thu Aug 09, 2018 11:01 am
Operating System: Windows 10

Re: where is the code of Highlighting of tracks on mouse dragging

Post by arizansari » Sun Aug 26, 2018 2:21 pm

I want to have multiple selection and the selection rectangle should have dotted boundaries and each rectangle must be of different colors.

Post Reply