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 ())
17
G_DECLARE_FINAL_TYPE (
18
CenterDockWidget
,
19
center_dock_widget,
20
Z,
21
CENTER_DOCK_WIDGET,
22
GtkWidget)
23
24
typedef
struct
_LeftDockEdgeWidget
LeftDockEdgeWidget
;
25
typedef
struct
_RightDockEdgeWidget
RightDockEdgeWidget
;
26
typedef
struct
_BotDockEdgeWidget
BotDockEdgeWidget
;
27
typedef
struct
_MainNotebookWidget
MainNotebookWidget
;
28
35
#define MW_CENTER_DOCK MAIN_WINDOW->center_dock
36
40
typedef
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
53
bool
first_draw
;
54
}
CenterDockWidget
;
55
56
void
57
center_dock_widget_setup (
CenterDockWidget
* self);
58
62
void
63
center_dock_widget_tear_down
(
CenterDockWidget
* self);
64
69
#endif
center_dock_widget_tear_down
void center_dock_widget_tear_down(CenterDockWidget *self)
Prepare for finalization.
BotDockEdgeWidget
Bot dock widget.
Definition
bot_dock_edge.h:43
CenterDockWidget
Center dock.
Definition
center_dock.h:41
CenterDockWidget::first_draw
bool first_draw
Hack to remember paned position.
Definition
center_dock.h:53
LeftDockEdgeWidget
Left dock widget.
Definition
left_dock_edge.h:53
MainNotebookWidget
Definition
main_notebook.h:41
RightDockEdgeWidget
Definition
right_dock_edge.h:40
gui
widgets
center_dock.h
Generated by
1.11.0