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