Ardour
9.2-266-g5d535d4cb7
mcp_http_gui.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2026 Frank Povazanj <frank.povazanj@gmail.com>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#ifndef _ardour_surface_mcp_http_gui_h_
20
#define _ardour_surface_mcp_http_gui_h_
21
22
#include <
ytkmm/box.h
>
23
#include <
ytkmm/comboboxtext.h
>
24
#include <
ytkmm/label.h
>
25
#include <
ytkmm/spinbutton.h
>
26
#include <
ytkmm/table.h
>
27
28
namespace
ArdourSurface
29
{
30
31
class
MCPHttp;
32
33
class
MCPHttpGUI
:
public
Gtk::VBox
34
{
35
public
:
36
explicit
MCPHttpGUI
(
MCPHttp
&);
37
~MCPHttpGUI
();
38
39
private
:
40
MCPHttp
&
_cp
;
41
Gtk::Table
_table
;
42
Gtk::Label
_protocol_label
;
43
Gtk::Label
_endpoint_label
;
44
Gtk::SpinButton
_port_entry
;
45
Gtk::ComboBoxText
_debug_combo
;
46
Gtk::Label
_hint_label
;
47
48
void
refresh_connection_info
();
49
void
commit_port
();
50
void
port_activate
();
51
bool
port_focus_out
(
GdkEventFocus
*);
52
void
debug_changed
();
53
};
54
55
}
// namespace ArdourSurface
56
57
#endif
// _ardour_surface_mcp_http_gui_h_
ArdourSurface::MCPHttpGUI
Definition:
mcp_http_gui.h:34
ArdourSurface::MCPHttpGUI::commit_port
void commit_port()
ArdourSurface::MCPHttpGUI::~MCPHttpGUI
~MCPHttpGUI()
ArdourSurface::MCPHttpGUI::debug_changed
void debug_changed()
ArdourSurface::MCPHttpGUI::refresh_connection_info
void refresh_connection_info()
ArdourSurface::MCPHttpGUI::_debug_combo
Gtk::ComboBoxText _debug_combo
Definition:
mcp_http_gui.h:45
ArdourSurface::MCPHttpGUI::_protocol_label
Gtk::Label _protocol_label
Definition:
mcp_http_gui.h:42
ArdourSurface::MCPHttpGUI::_cp
MCPHttp & _cp
Definition:
mcp_http_gui.h:40
ArdourSurface::MCPHttpGUI::_table
Gtk::Table _table
Definition:
mcp_http_gui.h:41
ArdourSurface::MCPHttpGUI::_hint_label
Gtk::Label _hint_label
Definition:
mcp_http_gui.h:46
ArdourSurface::MCPHttpGUI::MCPHttpGUI
MCPHttpGUI(MCPHttp &)
ArdourSurface::MCPHttpGUI::_endpoint_label
Gtk::Label _endpoint_label
Definition:
mcp_http_gui.h:43
ArdourSurface::MCPHttpGUI::port_focus_out
bool port_focus_out(GdkEventFocus *)
ArdourSurface::MCPHttpGUI::_port_entry
Gtk::SpinButton _port_entry
Definition:
mcp_http_gui.h:44
ArdourSurface::MCPHttpGUI::port_activate
void port_activate()
ArdourSurface::MCPHttp
Definition:
mcp_http.h:47
Gtk::ComboBoxText
Definition:
comboboxtext.h:55
Gtk::Label
Definition:
label.h:55
Gtk::SpinButton
Definition:
spinbutton.h:127
Gtk::Table
Definition:
tk/ytkmm/ytkmm/table.h:184
Gtk::VBox
Definition:
tk/ytkmm/ytkmm/box.h:523
comboboxtext.h
label.h
ArdourSurface
Definition:
cc121.h:67
spinbutton.h
_GdkEventFocus
Definition:
gdkevents.h:400
box.h
table.h
libs
surfaces
mcp_http
mcp_http_gui.h
Generated on Wed Mar 25 2026 07:01:52 for Ardour by
1.9.1