Position tempo point editor window inside the main window.

This commit is contained in:
Jonathan Moore Liles 2008-05-11 20:16:58 -05:00
parent f0704d7f90
commit 354b3a9fc3
1 changed files with 2 additions and 2 deletions

View File

@ -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();
} }