Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
sidepanel.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2010-2011 Henrik Andersson.
4 Copyright (C) 2010 johannes hanika.
5 Copyright (C) 2010 Pascal de Bruijn.
6 Copyright (C) 2012 Richard Wonka.
7 Copyright (C) 2013-2014 Jérémy Rosen.
8 Copyright (C) 2014, 2016 Tobias Ellinghaus.
9 Copyright (C) 2015 Roman Lebedev.
10 Copyright (C) 2019 Aurélien PIERRE.
11 Copyright (C) 2020 Pascal Obry.
12 Copyright (C) 2022 Martin Bařinka.
13
14 darktable is free software: you can redistribute it and/or modify
15 it under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 darktable is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU General Public License for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with darktable. If not, see <http://www.gnu.org/licenses/>.
26*/
27
28#pragma once
29
30#include <glib-object.h>
31#include <gtk/gtk.h>
32
33G_BEGIN_DECLS
34
35#define DTGTK_TYPE_SIDE_PANEL (dtgtk_side_panel_get_type())
36#define DTGTK_SIDE_PANEL(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST((obj), DTGTK_TYPE_SIDE_PANEL, GtkDarktableSidePanel))
38#define DTGTK_IS_SIDE_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), DTGTK_TYPE_SIDE_PANEL))
39#define DTGTK_SIDE_PANEL_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_CAST((klass), DTGTK_TYPE_SIDE_PANEL, GtkDarktableSidePanelClass))
41#define DTGTK_IS_SIDE_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), DTGTK_TYPE_SIDE_PANEL))
42#define DTGTK_SIDE_PANEL_GET_CLASS(obj) \
43 (G_TYPE_INSTANCE_GET_CLASS((obj), DTGTK_TYPE_SIDE_PANEL, GtkDarktableSidePanelClass))
44
49
51{
52 GtkPanedClass parent_class;
53
54 /*< private >*/
55 gint width;
57
59
61
62G_END_DECLS
63
64// clang-format off
65// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
66// vim: shiftwidth=2 expandtab tabstop=2 cindent
67// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
68// clang-format on
69
struct _GtkDarktableSidePanelClass GtkDarktableSidePanelClass
GType dtgtk_side_panel_get_type(void)
GtkWidget * dtgtk_side_panel_new()
Definition sidepanel.c:60
struct _GtkDarktableSidePanel GtkDarktableSidePanel
struct _GtkWidget GtkWidget
Definition splash.h:29
Definition sidepanel.h:51
gint width
Definition sidepanel.h:55
GtkPanedClass parent_class
Definition sidepanel.h:52
Definition sidepanel.h:46
GtkPaned panel
Definition sidepanel.h:47