You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
777 B

3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
  1. #ifndef SCREEN_RECORDER_MAIN_WINDOW_HPP
  2. #define SCREEN_RECORDER_MAIN_WINDOW_HPP
  3. #include "obs-manager.hpp"
  4. #include "settings-window.hpp"
  5. #include "preview-window.hpp"
  6. #include <gtkmm.h>
  7. class MainWindow : public Gtk::Window
  8. {
  9. public:
  10. MainWindow(OBSManager *obs);
  11. virtual ~MainWindow();
  12. private:
  13. OBSManager *mOBS;
  14. void onPreviewClicked();
  15. void onStartClicked();
  16. void onSettingsClicked();
  17. void onExitClicked();
  18. Gtk::Box mBoxMain;
  19. Gtk::Button mButtonPreview;
  20. Gtk::Button mButtonStart;
  21. Gtk::Button mButtonSettings;
  22. Gtk::Button mButtonExit;
  23. Gtk::Label mLabelVersion;
  24. SettingsWindow mSettingsWindow;
  25. PreviewWindow mPreviewWindow;
  26. // Signals
  27. void recordingStarted();
  28. void recordingStopped();
  29. };
  30. #endif