Ansel
0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
gui_module_api.h
Go to the documentation of this file.
1
/*
2
This file is part of the Ansel project.
3
Copyright (C) 2025 Aurélien PIERRE.
4
5
Ansel is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
Ansel is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with Ansel. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
#pragma once
19
20
#include <glib.h>
21
22
typedef
struct
dt_gui_module_t
dt_gui_module_t
;
23
41
struct
dt_gui_module_t
42
{
43
/* list of children widgets */
44
GList *
widget_list
;
45
GList *
widget_list_bh
;
46
48
char
*
name
;
49
50
char
*
instance_name
;
51
53
char
*
view
;
54
56
gboolean
deprecated
;
57
61
int (*
focus
)(
dt_gui_module_t
*module, gboolean toggle);
62
63
char
*
accel_path
;
64
};
65
66
/* Cast dt_lib_module_t and dt_iop_module_t to dt_gui_module_t */
67
#define DT_GUI_MODULE(x) ((dt_gui_module_t *)x)
dt_gui_module_t
The dt_gui_module_t type is the intersection between a dt_lib_module_t and a dt_iop_module_t structur...
Definition
gui_module_api.h:42
dt_gui_module_t::deprecated
gboolean deprecated
Definition
gui_module_api.h:56
dt_gui_module_t::view
char * view
Definition
gui_module_api.h:53
dt_gui_module_t::name
char * name
Definition
gui_module_api.h:48
dt_gui_module_t::widget_list_bh
GList * widget_list_bh
Definition
gui_module_api.h:45
dt_gui_module_t::accel_path
char * accel_path
Definition
gui_module_api.h:63
dt_gui_module_t::focus
int(* focus)(dt_gui_module_t *module, gboolean toggle)
Definition
gui_module_api.h:61
dt_gui_module_t::widget_list
GList * widget_list
Definition
gui_module_api.h:44
dt_gui_module_t::instance_name
char * instance_name
Definition
gui_module_api.h:50
src
common
gui_module_api.h
Generated by
1.9.8