Position tempo point editor window inside the main window.
This commit is contained in:
parent
f0704d7f90
commit
354b3a9fc3
|
@ -123,7 +123,7 @@ class Tempo_Point_Editor : public Fl_Menu_Window
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Tempo_Point_Editor ( int X, int Y, float *tempo ) : Fl_Menu_Window( X, Y, 75, 58, "Edit Tempo" )
|
Tempo_Point_Editor ( float *tempo ) : Fl_Menu_Window( 75, 58, "Edit Tempo" )
|
||||||
{
|
{
|
||||||
_sucess = false;
|
_sucess = false;
|
||||||
_tempo = tempo;
|
_tempo = tempo;
|
||||||
|
@ -173,7 +173,7 @@ public:
|
||||||
bool
|
bool
|
||||||
Tempo_Point::edit ( float *tempo )
|
Tempo_Point::edit ( float *tempo )
|
||||||
{
|
{
|
||||||
Tempo_Point_Editor ti( Fl::event_x(), Fl::event_y(), tempo );
|
Tempo_Point_Editor ti( tempo );
|
||||||
|
|
||||||
return ti.sucess();
|
return ti.sucess();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue