Loading...
Searching...
No Matches
gx_jack_options.h
Go to the documentation of this file.
/*
* Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
* Copyright (C) 2011 Pete Shorthose
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* --------------------------------------------------------------------------
*
* This file is part of the guitarix GUI main class
*
* ----------------------------------------------------------------------------
*/
/* ------- This is the GUI namespace ------- */
#pragma once
#ifndef SRC_HEADERS_GX_JACK_OPTIONS_H_
#define SRC_HEADERS_GX_JACK_OPTIONS_H_
namespace gx_gui {
class GxBuilder;
/****************************************************************
** class SelectJackControlPgm
*/
class SelectJackControlPgm: public Gtk::Window {
private:
Gtk::Label *description;
Gtk::Entry *customstarter;
Gtk::ComboBox *startercombo;
Gtk::CheckButton *dontask;
gx_engine::GxMachineBase& machine;
sigc::signal<void> close;
void on_starter_changed();
void on_ok_button();
void on_cancel_button();
bool on_delete_event(GdkEventAny* event);
bool on_key_press_event(GdkEventKey *event);
static SelectJackControlPgm* create_from_builder(BaseObjectType* cobject, Glib::RefPtr<GxBuilder> bld, gx_engine::GxMachineBase& m) {
return new SelectJackControlPgm(cobject, bld, m);
}
SelectJackControlPgm(BaseObjectType* cobject, Glib::RefPtr<GxBuilder> bld, gx_engine::GxMachineBase& m);
public:
~SelectJackControlPgm();
static SelectJackControlPgm* create(gx_system::CmdlineOptions& opt, gx_engine::GxMachineBase& machine);
sigc::signal<void>& signal_close() { return close; }
};
/* jack client and port mapping functions */
bool gx_start_jack_dialog(Glib::RefPtr<Gdk::Pixbuf> gw_ib);
} // end namespace gx_gui
#endif // SRC_HEADERS_GX_JACK_OPTIONS_H_
gx_engine::GxMachineBase
Definition machine.h:59
gx_gui::SelectJackControlPgm::on_key_press_event
bool on_key_press_event(GdkEventKey *event)
gx_gui::SelectJackControlPgm::on_cancel_button
void on_cancel_button()
gx_gui::SelectJackControlPgm::on_delete_event
bool on_delete_event(GdkEventAny *event)
gx_gui::SelectJackControlPgm::dontask
Gtk::CheckButton * dontask
Definition gx_jack_options.h:43
gx_gui::SelectJackControlPgm::signal_close
sigc::signal< void > & signal_close()
Definition gx_jack_options.h:58
gx_gui::SelectJackControlPgm::close
sigc::signal< void > close
Definition gx_jack_options.h:45
gx_gui::SelectJackControlPgm::description
Gtk::Label * description
Definition gx_jack_options.h:40
gx_gui::SelectJackControlPgm::create
static SelectJackControlPgm * create(gx_system::CmdlineOptions &opt, gx_engine::GxMachineBase &machine)
gx_gui::SelectJackControlPgm::customstarter
Gtk::Entry * customstarter
Definition gx_jack_options.h:41
gx_gui::SelectJackControlPgm::~SelectJackControlPgm
~SelectJackControlPgm()
gx_gui::SelectJackControlPgm::create_from_builder
static SelectJackControlPgm * create_from_builder(BaseObjectType *cobject, Glib::RefPtr< GxBuilder > bld, gx_engine::GxMachineBase &m)
Definition gx_jack_options.h:51
gx_gui::SelectJackControlPgm::startercombo
Gtk::ComboBox * startercombo
Definition gx_jack_options.h:42
gx_gui::SelectJackControlPgm::on_ok_button
void on_ok_button()
gx_gui::SelectJackControlPgm::machine
gx_engine::GxMachineBase & machine
Definition gx_jack_options.h:44
gx_gui::SelectJackControlPgm::SelectJackControlPgm
SelectJackControlPgm(BaseObjectType *cobject, Glib::RefPtr< GxBuilder > bld, gx_engine::GxMachineBase &m)
gx_gui::SelectJackControlPgm::on_starter_changed
void on_starter_changed()
gx_system::CmdlineOptions
Definition gx_system.h:395
gx_gui
Definition gx_gui_helpers.h:28
gx_gui::gx_start_jack_dialog
bool gx_start_jack_dialog(Glib::RefPtr< Gdk::Pixbuf > gw_ib)