Zrythm
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
13#ifndef __GUI_WIDGETS_PIANO_ROLL_SELECTION_INFO_H__
14#define __GUI_WIDGETS_PIANO_ROLL_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 EDITOR_SELECTION_INFO_WIDGET_TYPE \
23 (editor_selection_info_widget_get_type ())
24G_DECLARE_FINAL_TYPE (
26 editor_selection_info_widget,
27 Z,
28 EDITOR_SELECTION_INFO_WIDGET,
29 GtkStack);
30
31#define MW_MAS_INFO MW_CLIP_EDITOR->editor_selections
32
33typedef struct _SelectionInfoWidget SelectionInfoWidget;
35
40typedef struct _EditorSelectionInfoWidget
41{
42 GtkStack parent_instance;
43 GtkLabel * no_selection_label;
44 SelectionInfoWidget * selection_info;
46
51void
55
56#endif
A region in the timeline.
void editor_selection_info_widget_refresh(EditorSelectionInfoWidget *self, MidiArrangerSelections *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.
A collection of selected MidiNote's.
User Interface utils.