Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
log_viewer.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
13#ifndef __GUI_WIDGETS_LOG_VIEWER_H__
14#define __GUI_WIDGETS_LOG_VIEWER_H__
15
16#include "zrythm-config.h"
17
18#include <gtk/gtk.h>
19
20#pragma GCC diagnostic push
21#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
22#include <gtksourceview/gtksource.h>
23#pragma GCC diagnostic pop
24
25#define LOG_VIEWER_WIDGET_TYPE (log_viewer_widget_get_type ())
26G_DECLARE_FINAL_TYPE (
27 LogViewerWidget,
28 log_viewer_widget,
29 Z,
30 LOG_VIEWER_WIDGET,
31 GtkWindow)
32
33
42typedef struct _LogViewerWidget
43{
44 GtkWindow parent_instance;
45
46 GtkScrolledWindow * scrolled_win;
47 GtkBox * source_view_box;
48 GtkSourceView * src_view;
49
50} LogViewerWidget;
51
55LogViewerWidget *
57
62#endif
LogViewerWidget * log_viewer_widget_new(void)
Creates a log viewer widget.