mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
32 lines
570 B
C++
32 lines
570 B
C++
#pragma once
|
|
#ifdef WITH_VOICE
|
|
|
|
// clang-format off
|
|
|
|
#include <gtkmm/box.h>
|
|
#include <gtkmm/comboboxtext.h>
|
|
#include <gtkmm/scale.h>
|
|
#include <gtkmm/window.h>
|
|
|
|
// clang-format on
|
|
|
|
class VoiceSettingsWindow : public Gtk::Window {
|
|
public:
|
|
VoiceSettingsWindow();
|
|
|
|
Gtk::Box m_main;
|
|
Gtk::ComboBoxText m_encoding_mode;
|
|
Gtk::ComboBoxText m_signal;
|
|
Gtk::Scale m_bitrate;
|
|
Gtk::SpinButton m_gain;
|
|
|
|
private:
|
|
using type_signal_gain = sigc::signal<void(double)>;
|
|
type_signal_gain m_signal_gain;
|
|
|
|
public:
|
|
type_signal_gain signal_gain();
|
|
};
|
|
|
|
#endif
|