Browse Source

Position tempo point editor window inside the main window.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
354b3a9fc3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Timeline/Tempo_Point.C

+ 2
- 2
Timeline/Tempo_Point.C 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();
} }

Loading…
Cancel
Save