Ardour
9.0-pre0-582-g084a23a80d
ardour_display.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014 Paul Davis <paul@linuxaudiosystems.com>
3
* Copyright (C) 2017 Robin Gareus <robin@gareus.org>
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
#ifndef _WIDGETS_ARDOUR_DISPLAY_H_
21
#define _WIDGETS_ARDOUR_DISPLAY_H_
22
23
#include <list>
24
#include <stdint.h>
25
26
#include <
gtkmm/action.h
>
27
#include <
gtkmm/menu.h
>
28
#include <
gtkmm/menuitem.h
>
29
30
#include "
widgets/ardour_dropdown.h
"
31
#include "
widgets/visibility.h
"
32
33
namespace
ArdourWidgets
{
34
35
class
LIBWIDGETS_API
ArdourDisplay
:
public
ArdourWidgets::ArdourDropdown
36
{
37
public
:
38
39
ArdourDisplay
(
Element
e = default_elements);
40
virtual
~ArdourDisplay
();
41
42
std::shared_ptr<PBD::Controllable>
get_controllable
() {
return
binding_proxy.get_controllable(); }
43
void
set_controllable
(std::shared_ptr<PBD::Controllable> c);
44
45
bool
on_scroll_event
(
GdkEventScroll
* ev);
46
47
void
add_controllable_preset
(
const
char
*,
float
);
48
void
handle_controllable_preset
(
float
p);
49
50
void
controllable_changed
();
51
PBD::ScopedConnection
watch_connection
;
52
};
53
54
}
/* end namespace */
55
56
#endif
/* __gtk2_ardour_ardour_menu_h__ */
action.h
ardour_dropdown.h
ArdourWidgets::ArdourButton::Element
Element
Definition:
ardour_button.h:41
ArdourWidgets::ArdourDisplay
Definition:
ardour_display.h:36
ArdourWidgets::ArdourDisplay::~ArdourDisplay
virtual ~ArdourDisplay()
ArdourWidgets::ArdourDisplay::handle_controllable_preset
void handle_controllable_preset(float p)
ArdourWidgets::ArdourDisplay::on_scroll_event
bool on_scroll_event(GdkEventScroll *ev)
This is a default handler for the signal signal_scroll_event().
ArdourWidgets::ArdourDisplay::ArdourDisplay
ArdourDisplay(Element e=default_elements)
ArdourWidgets::ArdourDisplay::add_controllable_preset
void add_controllable_preset(const char *, float)
ArdourWidgets::ArdourDisplay::get_controllable
std::shared_ptr< PBD::Controllable > get_controllable()
Definition:
ardour_display.h:42
ArdourWidgets::ArdourDisplay::set_controllable
void set_controllable(std::shared_ptr< PBD::Controllable > c)
ArdourWidgets::ArdourDisplay::watch_connection
PBD::ScopedConnection watch_connection
Definition:
ardour_display.h:51
ArdourWidgets::ArdourDisplay::controllable_changed
void controllable_changed()
ArdourWidgets::ArdourDropdown
Definition:
ardour_dropdown.h:36
PBD::ScopedConnection
Definition:
signals.h:236
menuitem.h
ArdourWidgets
Definition:
ardour_ui.h:192
_GdkEventScroll
Definition:
gdkevents.h:351
menu.h
visibility.h
LIBWIDGETS_API
#define LIBWIDGETS_API
Definition:
widgets/widgets/visibility.h:39
libs
widgets
widgets
ardour_display.h
Generated on Wed Dec 25 2024 05:43:55 for Ardour by
1.9.1