Ardour
9.0-pre0-582-g084a23a80d
editor_locations.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2009 Paul Davis <paul@linuxaudiosystems.com>
3
* Copyright (C) 2010-2011 Carl Hetherington <carl@carlh.net>
4
* Copyright (C) 2017 Robin Gareus <robin@gareus.org>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program; if not, write to the Free Software Foundation, Inc.,
18
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
*/
20
21
#pragma once
22
23
#include "
pbd/xml++.h
"
24
25
#include <
gtkmm/scrolledwindow.h
>
26
#include "
ardour/session_handle.h
"
27
#include "
editor_component.h
"
28
29
class
LocationUI
;
30
31
namespace
Gtk
{
32
class
Widget;
33
}
34
35
class
EditorLocations
:
public
EditorComponent
,
public
ARDOUR::SessionHandlePtr
36
{
37
public
:
38
EditorLocations
(
Editor
*);
39
40
void
set_session
(
ARDOUR::Session
*);
41
42
Gtk::Widget
&
widget
();
43
XMLNode
&
get_state
()
const
;
44
int
set_state
(
const
XMLNode
&);
45
46
private
:
47
Gtk::ScrolledWindow
_scroller
;
48
LocationUI
*
_locations
;
49
};
50
51
ARDOUR::SessionHandlePtr
Definition:
session_handle.h:46
ARDOUR::Session
Definition:
session.h:211
EditorComponent
Definition:
editor_component.h:24
EditorLocations
Definition:
editor_locations.h:36
EditorLocations::set_session
void set_session(ARDOUR::Session *)
EditorLocations::set_state
int set_state(const XMLNode &)
EditorLocations::_locations
LocationUI * _locations
Definition:
editor_locations.h:48
EditorLocations::EditorLocations
EditorLocations(Editor *)
EditorLocations::_scroller
Gtk::ScrolledWindow _scroller
Definition:
editor_locations.h:47
EditorLocations::get_state
XMLNode & get_state() const
EditorLocations::widget
Gtk::Widget & widget()
Editor
Definition:
editor.h:158
Gtk::ScrolledWindow
Definition:
scrolledwindow.h:68
Gtk::Widget
Definition:
tk/ytkmm/ytkmm/gtkmm/widget.h:336
LocationUI
Definition:
location_ui.h:156
XMLNode
Definition:
xml++.h:114
editor_component.h
Gtk
Definition:
ardour_ui.h:188
scrolledwindow.h
session_handle.h
xml++.h
gtk2_ardour
editor_locations.h
Generated on Wed Dec 25 2024 05:44:12 for Ardour by
1.9.1