Audacity  2.2.2
Public Attributes | List of all members
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

Definition at line 31 of file LabelGlyphHandle.h.

Member Data Documentation

bool LabelTrackHit::mbIsMoving {}

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

Definition at line 35 of file LabelGlyphHandle.h.

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

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

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

Definition at line 34 of file LabelGlyphHandle.h.

Referenced by LabelTrack::HandleGlyphClick(), LabelTrack::HandleGlyphDragRelease(), LabelTrack::MayAdjustLabel(), LabelTrack::OverGlyph(), and LabelTrack::SortLabels().


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