Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
timeline_selection_info.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
13#ifndef __GUI_WIDGETS_TIMELINE_SELECTION_INFO_H__
14#define __GUI_WIDGETS_TIMELINE_SELECTION_INFO_H__
15
16#include "dsp/region.h"
17#include "gui/widgets/region.h"
18#include "utils/ui.h"
19
20#include <gtk/gtk.h>
21
22#define TIMELINE_SELECTION_INFO_WIDGET_TYPE \
23 (timeline_selection_info_widget_get_type ())
24G_DECLARE_FINAL_TYPE (
26 timeline_selection_info_widget,
27 Z,
28 TIMELINE_SELECTION_INFO_WIDGET,
29 GtkStack);
30
31#define MW_TS_INFO MW_TIMELINE_PANEL->selection_info
32
33typedef struct _SelectionInfoWidget SelectionInfoWidget;
35
40typedef struct _TimelineSelectionInfoWidget
41{
42 GtkStack parent_instance;
43 GtkLabel * no_selection_label;
44 SelectionInfoWidget * selection_info;
46
51void
55
56#endif
A region in the timeline.
Base widget class for Region's.
A widget for showing info about the current TimelineSelections.
Selections to be used for the timeline's current selections, copying, undoing, etc.
void timeline_selection_info_widget_refresh(TimelineSelectionInfoWidget *self, TimelineSelections *ts)
Populates the SelectionInfoWidget based on the leftmost object selected.
User Interface utils.