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"
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;
41using 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
49namespace stage {
50namespace timeline {
51
52
53
54
55
57
58
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
85 {
86 this->add (rootTrackHead);
87 }
88
89 void
91 {
92 this->remove();
93 }
94
95
96
97}}// namespace stage::timeline
PatchbayWidget(PAdjustment const &vScroll)
Set up the patchbay area of the timeline UI.
void installFork(TrackHeadWidget &rootTrackHead)
Header pane control area corresponding to a Track with nested child Tracks.
A set of basic GTK includes for the UI.
Glib::RefPtr< Gtk::Adjustment > PAdjustment
Lumiera GTK UI implementation root.
Definition guifacade.cpp:37
cuString CLASS_timeline_pbay
Widget to hold the track head controls within the timeline header pane UI.
Definition of access keys for uniform UI styling.
Widget to represent a track head with placement parameters, within the timeline header pane.