MovieWindow.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #ifndef _MovieWindow_h_
  2. #define _MovieWindow_h_
  3. /* MovieWindow.h
  4. *
  5. * Copyright (C) 2011,2012,2014,2015 Paul Boersma
  6. *
  7. * This code is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or (at
  10. * your option) any later version.
  11. *
  12. * This code is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. * See the GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. #include "TimeSoundAnalysisEditor.h"
  21. #include "Movie.h"
  22. Thing_define (MovieWindow, TimeSoundAnalysisEditor) {
  23. void v_createMenus ()
  24. override;
  25. void v_draw ()
  26. override;
  27. bool v_click (double xWC, double yWC, bool shiftKeyPressed)
  28. override;
  29. void v_play (double tmin, double tmax)
  30. override;
  31. void v_createMenuItems_view (EditorMenu menu)
  32. override;
  33. void v_highlightSelection (double left, double right, double bottom, double top)
  34. override;
  35. void v_unhighlightSelection (double left, double right, double bottom, double top)
  36. override;
  37. };
  38. void MovieWindow_init (MovieWindow me, conststring32 title, Movie movie);
  39. autoMovieWindow MovieWindow_create (conststring32 title, Movie movie);
  40. /* End of file MovieWindow.h */
  41. #endif