Try adding some visual feedback for the spectral order drags

This commit is contained in:
xenakios
2017-12-13 21:25:42 +02:00
parent 6760dd3e67
commit 66fe05f842
2 changed files with 44 additions and 27 deletions

View File

@ -257,7 +257,9 @@ private:
StretchAudioSource * m_src = nullptr;
bool m_did_drag = false;
int m_cur_index = -1;
int m_drag_x = 0;
std::vector<int> m_order;
void drawBox(Graphics& g, int index, int x, int y, int w, int h);
};
class MyDynamicObject : public DynamicObject