Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
pinned_tracklist.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2019 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
15#ifndef __GUI_WIDGETS_PINNED_TRACKLIST_H__
16#define __GUI_WIDGETS_PINNED_TRACKLIST_H__
17
18#include "dsp/region.h"
19#include "gui/widgets/region.h"
20#include "utils/ui.h"
21
22#include <gtk/gtk.h>
23
24#define PINNED_TRACKLIST_WIDGET_TYPE (pinned_tracklist_widget_get_type ())
25G_DECLARE_FINAL_TYPE (
27 pinned_tracklist_widget,
28 Z,
29 PINNED_TRACKLIST_WIDGET,
30 GtkBox);
31
38#define MW_PINNED_TRACKLIST MW_TIMELINE_PANEL->pinned_tracklist
39
40typedef struct Tracklist Tracklist;
41typedef struct _TrackWidget TrackWidget;
42
51typedef struct _PinnedTracklistWidget
52{
53 GtkBox parent_instance;
54
57
59
66 double x,
67 double y);
68
72void
74
78void
81 Tracklist * tracklist);
82
87#endif
A region in the timeline.
void pinned_tracklist_widget_setup(PinnedTracklistWidget *self, Tracklist *tracklist)
Sets up the PinnedTracklistWidget.
TrackWidget * pinned_tracklist_widget_get_hit_track(PinnedTracklistWidget *self, double x, double y)
Gets TrackWidget hit at the given coordinates.
void pinned_tracklist_widget_hard_refresh(PinnedTracklistWidget *self)
Removes and readds the tracks.
Base widget class for Region's.
The PinnedTracklistWidget contains special tracks (chord, marker, etc.) as thin boxes above the norma...
Tracklist * tracklist
The backend.
The TrackWidget is split into 3 parts.
Definition track.h:109
The Tracklist contains all the tracks in the Project.
Definition tracklist.h:61
User Interface utils.