Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
center_dock.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2019-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __GUI_WIDGETS_CENTER_DOCK_H__
11#define __GUI_WIDGETS_CENTER_DOCK_H__
12
13#include "gtk_wrapper.h"
14#include "libpanel_wrapper.h"
15
16#define CENTER_DOCK_WIDGET_TYPE (center_dock_widget_get_type ())
17G_DECLARE_FINAL_TYPE (
19 center_dock_widget,
20 Z,
21 CENTER_DOCK_WIDGET,
22 GtkWidget)
23
24typedef struct _LeftDockEdgeWidget LeftDockEdgeWidget;
25typedef struct _RightDockEdgeWidget RightDockEdgeWidget;
26typedef struct _BotDockEdgeWidget BotDockEdgeWidget;
27typedef struct _MainNotebookWidget MainNotebookWidget;
28
35#define MW_CENTER_DOCK MAIN_WINDOW->center_dock
36
40typedef struct _CenterDockWidget
41{
42 GtkWidget parent_instance;
43
44 PanelDock * dock;
45
46 MainNotebookWidget * main_notebook;
47
48 LeftDockEdgeWidget * left_dock_edge;
49 RightDockEdgeWidget * right_dock_edge;
50 BotDockEdgeWidget * bot_dock_edge;
51
55
56void
57center_dock_widget_setup (CenterDockWidget * self);
58
62void
64
69#endif
void center_dock_widget_tear_down(CenterDockWidget *self)
Prepare for finalization.
Bot dock widget.
Center dock.
Definition center_dock.h:41
bool first_draw
Hack to remember paned position.
Definition center_dock.h:53
Left dock widget.