Audacity  2.2.0
LabelTrackHit Struct Reference

#include <LabelGlyphHandle.h>

Public Attributes

int mEdge {}
 
int mMouseOverLabelLeft { -1 }
 
int mMouseOverLabelRight { -1 }
 Keeps track of which left label the mouse is currently over. More...
 
bool mbIsMoving {}
 Keeps track of which right label the mouse is currently over. More...
 
bool mIsAdjustingLabel {}
 

Detailed Description

mEdge: 0 if not over a glyph, else a bitwise or of : 1 if over the left-hand glyph, 2 if over the right-hand glyph on a label, 4 if over center.

mMouseLabelLeft - index of any left label hit mMouseLabelRight - index of any right label hit

Member Data Documentation

bool LabelTrackHit::mbIsMoving {}

Keeps track of which right label the mouse is currently over.

Referenced by LabelTrack::HandleGlyphClick(), and LabelTrack::HandleGlyphDragRelease().

bool LabelTrackHit::mIsAdjustingLabel {}
int LabelTrackHit::mMouseOverLabelRight { -1 }

The documentation for this struct was generated from the following file: