Zrythm v2.0.0-DEV
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
12
13#ifndef __GUI_WIDGETS_TIMELINE_SELECTION_INFO_H__
14#define __GUI_WIDGETS_TIMELINE_SELECTION_INFO_H__
15
16#include "common/dsp/region.h"
17#include "common/utils/ui.h"
18#include "gui/backend/gtk_widgets/gtk_wrapper.h"
20
21#define TIMELINE_SELECTION_INFO_WIDGET_TYPE \
22 (timeline_selection_info_widget_get_type ())
23G_DECLARE_FINAL_TYPE (
25 timeline_selection_info_widget,
26 Z,
27 TIMELINE_SELECTION_INFO_WIDGET,
28 GtkStack);
29
30#define MW_TS_INFO MW_TIMELINE_PANEL->selection_info
31
32typedef struct _SelectionInfoWidget SelectionInfoWidget;
33class TimelineSelections;
34
39typedef struct _TimelineSelectionInfoWidget
40{
41 GtkStack parent_instance;
42 GtkLabel * no_selection_label;
43 SelectionInfoWidget * selection_info;
45
50void
53 TimelineSelections * ts);
54
55#endif
Base widget class for Region's.
A widget for showing info about the current TimelineSelections.
void timeline_selection_info_widget_refresh(TimelineSelectionInfoWidget *self, TimelineSelections *ts)
Populates the SelectionInfoWidget based on the leftmost object selected.