Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
tracklist_header.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2018-2019, 2022-2023 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __GUI_WIDGETS_TRACKLIST_HEADER_H__
11#define __GUI_WIDGETS_TRACKLIST_HEADER_H__
12
13#include "gui/backend/gtk_widgets/gtk_wrapper.h"
14
15#define TRACKLIST_HEADER_WIDGET_TYPE (tracklist_header_widget_get_type ())
16G_DECLARE_FINAL_TYPE (
17 TracklistHeaderWidget,
18 tracklist_header_widget,
19 Z,
20 TRACKLIST_HEADER_WIDGET,
21 GtkWidget)
22
23
28
29#define MW_TRACKLIST_HEADER (MW_TIMELINE_PANEL->tracklist_header)
30
31typedef struct _TracklistHeaderWidget
32{
33 GtkWidget parent_instance;
34 GtkLabel * track_count_lbl;
35 GtkMenuButton * filter_menu_btn;
36 GtkMenuButton * tracklist_pref_btn;
37} TracklistHeaderWidget;
38
39void
40tracklist_header_widget_refresh_track_count (TracklistHeaderWidget * self);
41
42void
43tracklist_header_widget_setup (TracklistHeaderWidget * self);
44
48
49#endif