Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
editor_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_PIANO_ROLL_SELECTION_INFO_H__
14#define __GUI_WIDGETS_PIANO_ROLL_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 EDITOR_SELECTION_INFO_WIDGET_TYPE \
22 (editor_selection_info_widget_get_type ())
23G_DECLARE_FINAL_TYPE (
25 editor_selection_info_widget,
26 Z,
27 EDITOR_SELECTION_INFO_WIDGET,
28 GtkStack);
29
30#define MW_MAS_INFO MW_CLIP_EDITOR->editor_selections
31
32typedef struct _SelectionInfoWidget SelectionInfoWidget;
33class MidiSelections;
34
39typedef struct _EditorSelectionInfoWidget
40{
41 GtkStack parent_instance;
42 GtkLabel * no_selection_label;
43 SelectionInfoWidget * selection_info;
45
50void
53 MidiSelections * mas);
54
55#endif
void editor_selection_info_widget_refresh(EditorSelectionInfoWidget *self, MidiSelections *mas)
Populates the SelectionInfoWidget based on the leftmost object selected.
Base widget class for Region's.
A widget for showing info about the current PianoRollSelections.