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.

48 lines
1.1 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. #ifndef SCREEN_RECORDER_SETTINGS_WINDOW_HPP
  2. #define SCREEN_RECORDER_SETTINGS_WINDOW_HPP
  3. #include "obs-manager.hpp"
  4. #include "settings-manager.hpp"
  5. #include <gtkmm.h>
  6. class SettingsWindow : public Gtk::Window
  7. {
  8. public:
  9. SettingsWindow(OBSManager *obs);
  10. virtual ~SettingsWindow();
  11. private:
  12. SettingsManager *settings;
  13. Gtk::Box mBox;
  14. Gtk::Frame mFrameSettings;
  15. Gtk::Box mBoxSettings;
  16. Gtk::Box mBoxPluginDir;
  17. Gtk::Label mLabelPluginDir;
  18. Gtk::Entry mEntryPluginDir;
  19. Gtk::Box mBoxOutputDir;
  20. Gtk::Label mLabelOutputDir;
  21. Gtk::Entry mEntryOutputDir;
  22. Gtk::Frame mFrameDesktop;
  23. Gtk::CheckButton mCheckButtonDesktop;
  24. Gtk::Frame mFrameWebcam;
  25. Gtk::Box mBoxWebcam;
  26. Gtk::CheckButton mCheckButtonWebcam;
  27. Gtk::ComboBoxText mComboBoxVideoDevice;
  28. Gtk::Frame mFrameAudio;
  29. Gtk::CheckButton mCheckButtonAudio;
  30. Gtk::ActionBar mActionBar;
  31. Gtk::Button mButtonClose;
  32. Gtk::Button mButtonSave;
  33. void on_show();
  34. void populateVideoDevices();
  35. bool onKeyPressed(GdkEventKey* event);
  36. void onClosePressed();
  37. void onSavePressed();
  38. };
  39. #endif