Lumiera
0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
patchbay-widget.cpp
Go to the documentation of this file.
1
/*
2
PatchbayWidget - display of the patchbay to control track placement parameters
3
4
Copyright (C)
5
2016, Hermann Vosseler <Ichthyostega@web.de>
6
7
**Lumiera** is free software; you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by the
9
Free Software Foundation; either version 2 of the License, or (at your
10
option) any later version. See the file COPYING for further details.
11
12
* *****************************************************************/
13
14
24
#include "
stage/gtk-base.hpp
"
25
#include "
stage/style-scheme.hpp
"
26
#include "
stage/timeline/patchbay-widget.hpp
"
27
#include "
stage/timeline/track-head-widget.hpp
"
28
//#include "stage/ui-bus.hpp"
29
//#include "lib/format-string.hpp"
30
//#include "lib/format-cout.hpp"
31
32
//#include "lib/util.hpp"
33
34
//#include <algorithm>
35
//#include <vector>
36
37
38
39
//using util::_Fmt;
40
//using util::contains;
41
using
Gtk::Adjustment;
42
//using Gtk::Widget;
43
//using sigc::mem_fun;
44
//using sigc::ptr_fun;
45
//using std::cout;
46
//using std::endl;
47
48
49
namespace
stage
{
50
namespace
timeline {
51
52
53
54
55
56
PatchbayWidget::~PatchbayWidget
() { }
57
58
73
PatchbayWidget::PatchbayWidget
(
PAdjustment
const
& vScroll)
74
:
Gtk
::ScrolledWindow{
Gtk
::Adjustment::create (0,0,0,0,0,0), vScroll}
75
{
76
get_style_context()->add_class (
CLASS_timeline_pbay
);
77
set_shadow_type (Gtk::SHADOW_NONE);
78
set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_EXTERNAL);
// horizontal extension is fixed, using the track body vertical scrollbar
79
property_expand() =
true
;
// dynamically grab additional space
80
}
81
82
83
void
84
PatchbayWidget::installFork
(
TrackHeadWidget
& rootTrackHead)
85
{
86
this->add (rootTrackHead);
87
}
88
89
void
90
PatchbayWidget::disable
()
91
{
92
this->remove();
93
}
94
95
96
97
}}
// namespace stage::timeline
stage::timeline::PatchbayWidget::~PatchbayWidget
~PatchbayWidget()
Definition
patchbay-widget.cpp:56
stage::timeline::PatchbayWidget::PatchbayWidget
PatchbayWidget(PAdjustment const &vScroll)
Set up the patchbay area of the timeline UI.
Definition
patchbay-widget.cpp:73
stage::timeline::PatchbayWidget::installFork
void installFork(TrackHeadWidget &rootTrackHead)
Definition
patchbay-widget.cpp:84
stage::timeline::PatchbayWidget::disable
void disable()
Definition
patchbay-widget.cpp:90
stage::timeline::TrackHeadWidget
Header pane control area corresponding to a Track with nested child Tracks.
Definition
track-head-widget.hpp:74
gtk-base.hpp
A set of basic GTK includes for the UI.
Gtk
Definition
cmd-context.hpp:61
stage::timeline::PAdjustment
Glib::RefPtr< Gtk::Adjustment > PAdjustment
Definition
body-canvas-widget.hpp:80
stage
Lumiera GTK UI implementation root.
Definition
guifacade.cpp:37
stage::CLASS_timeline_pbay
cuString CLASS_timeline_pbay
Definition
style-scheme.cpp:76
patchbay-widget.hpp
Widget to hold the track head controls within the timeline header pane UI.
style-scheme.hpp
Definition of access keys for uniform UI styling.
track-head-widget.hpp
Widget to represent a track head with placement parameters, within the timeline header pane.
stage
timeline
patchbay-widget.cpp
Generated on Thu Dec 11 2025 for Lumiera by
1.9.8