Line data Source code
1 : /* File: gui_resources.c; Copyright and License: see below */
2 :
3 : #include "gui_resources.h"
4 : #include "u8/u8_trace.h"
5 : #include "gui_gtk.h"
6 : #include <stdbool.h>
7 :
8 : /* including resource files */
9 :
10 : #if __GNUC__ >= 8
11 : #pragma GCC diagnostic push
12 : #pragma GCC diagnostic ignored "-Woverlength-strings"
13 : #endif
14 :
15 : #include "resources/crystal_facet_uml.c"
16 : #include "resources/edit_attributes_sect.c"
17 :
18 : #include "resources/file_new.c"
19 : #include "resources/file_open.c"
20 : #include "resources/file_save.c"
21 : #include "resources/file_saved.c"
22 : #include "resources/file_unsaved.c"
23 : #include "resources/file_export.c"
24 :
25 : #include "resources/view_create.c"
26 : #include "resources/view_edit.c"
27 : #include "resources/view_navigate.c"
28 : #include "resources/view_new_window.c"
29 : #include "resources/view_search.c"
30 :
31 : #include "resources/tool_sect.c"
32 :
33 : #include "resources/edit_copy.c"
34 : #include "resources/edit_cut.c"
35 : #include "resources/edit_delete.c"
36 : #include "resources/edit_paste.c"
37 : #include "resources/edit_instantiate.c"
38 : #include "resources/edit_highlight.c"
39 : #include "resources/edit_redo.c"
40 : #include "resources/edit_undo.c"
41 : #include "resources/edit_reset.c"
42 :
43 : #include "resources/message_error.c"
44 : #include "resources/message_info.c"
45 : #include "resources/message_warn.c"
46 : #include "resources/message_user_doc.c"
47 :
48 : #include "resources/navigate_breadcrumb_folder.c"
49 : #include "resources/navigate_closed_folder.c"
50 : #include "resources/navigate_create_child.c"
51 : #include "resources/navigate_create_child_0.c"
52 : #include "resources/navigate_create_sibling.c"
53 : #include "resources/navigate_create_sibling_0.c"
54 : #include "resources/navigate_open_folder.c"
55 : #include "resources/search_search.c"
56 : #include "resources/background_column.c"
57 :
58 : #include "resources/sketch_create.c"
59 : #include "resources/sketch_refine.c"
60 : #include "resources/sketch_relate.c"
61 : #include "resources/sketch_move_h.c"
62 : #include "resources/sketch_move_v.c"
63 : #include "resources/sketch_move_2d.c"
64 :
65 : #include "resources/type_undef.c"
66 : #include "resources/type_diag_activity.c"
67 : #include "resources/type_diag_block.c"
68 : #include "resources/type_diag_box.c"
69 : #include "resources/type_diag_class.c"
70 : #include "resources/type_diag_communication.c"
71 : #include "resources/type_diag_component.c"
72 : #include "resources/type_diag_composite.c"
73 : #include "resources/type_diag_deployment.c"
74 : #include "resources/type_diag_internal.c"
75 : #include "resources/type_diag_list.c"
76 : #include "resources/type_diag_overview.c"
77 : #include "resources/type_diag_package.c"
78 : #include "resources/type_diag_parametric.c"
79 : #include "resources/type_diag_profile.c"
80 : #include "resources/type_diag_requirement.c"
81 : #include "resources/type_diag_sequence.c"
82 : #include "resources/type_diag_state.c"
83 : #include "resources/type_diag_timing.c"
84 : #include "resources/type_diag_usecase.c"
85 :
86 : #include "resources/type_clas_accept.c"
87 : #include "resources/type_clas_activity.c"
88 : #include "resources/type_clas_actor.c"
89 : #include "resources/type_clas_artifact.c"
90 : #include "resources/type_clas_block.c"
91 : #include "resources/type_clas_class.c"
92 : #include "resources/type_clas_comment.c"
93 : #include "resources/type_clas_component.c"
94 : #include "resources/type_clas_constraint.c"
95 : #include "resources/type_clas_decision.c"
96 : #include "resources/type_clas_deephistory.c"
97 : #include "resources/type_clas_final.c"
98 : #include "resources/type_clas_fork.c"
99 : #include "resources/type_clas_history.c"
100 : #include "resources/type_clas_image.c"
101 : #include "resources/type_clas_initial.c"
102 : #include "resources/type_clas_interaction_use.c"
103 : #include "resources/type_clas_interface.c"
104 : #include "resources/type_clas_join.c"
105 : #include "resources/type_clas_node.c"
106 : #include "resources/type_clas_object.c"
107 : #include "resources/type_clas_package.c"
108 : #include "resources/type_clas_part.c"
109 : #include "resources/type_clas_region.c"
110 : #include "resources/type_clas_requirement.c"
111 : #include "resources/type_clas_send.c"
112 : #include "resources/type_clas_state.c"
113 : #include "resources/type_clas_stereotype.c"
114 : #include "resources/type_clas_subsystem.c"
115 : #include "resources/type_clas_time.c"
116 : #include "resources/type_clas_usecase.c"
117 :
118 : #include "resources/type_feat_entry.c"
119 : #include "resources/type_feat_exit.c"
120 : #include "resources/type_feat_life.c"
121 : #include "resources/type_feat_operation.c"
122 : #include "resources/type_feat_port.c"
123 : #include "resources/type_feat_property.c"
124 : #include "resources/type_feat_provide.c"
125 : #include "resources/type_feat_require.c"
126 : #include "resources/type_feat_rx.c"
127 : #include "resources/type_feat_tag.c"
128 : #include "resources/type_feat_tx.c"
129 :
130 : #include "resources/type_rel_aggregate.c"
131 : #include "resources/type_rel_associate.c"
132 : #include "resources/type_rel_async.c"
133 : #include "resources/type_rel_compose.c"
134 : #include "resources/type_rel_communication_path.c"
135 : #include "resources/type_rel_contain.c"
136 : #include "resources/type_rel_control_flow.c"
137 : #include "resources/type_rel_depend.c"
138 : #include "resources/type_rel_deploy.c"
139 : #include "resources/type_rel_extend.c"
140 : #include "resources/type_rel_generalize.c"
141 : #include "resources/type_rel_include.c"
142 : #include "resources/type_rel_manifest.c"
143 : #include "resources/type_rel_object_flow.c"
144 : #include "resources/type_rel_realize.c"
145 : #include "resources/type_rel_refine.c"
146 : #include "resources/type_rel_return.c"
147 : #include "resources/type_rel_sync.c"
148 : #include "resources/type_rel_trace.c"
149 :
150 : #if __GNUC__ >= 8
151 : #pragma GCC diagnostic pop
152 : #endif
153 :
154 : #define GIMP_PIXBUF_DATA(STRUCTNAME) &(STRUCTNAME.pixel_data[0]), GDK_COLORSPACE_RGB, true /* alpha */, 8, \
155 : STRUCTNAME.width, STRUCTNAME.height, STRUCTNAME.width * STRUCTNAME.bytes_per_pixel, \
156 : NULL, NULL
157 :
158 488 : GdkTexture *gui_resources_new_texture_from_pixbuf_data( const guchar* data,
159 : GdkColorspace colorspace,
160 : gboolean has_alpha,
161 : int bits_per_sample,
162 : int width,
163 : int height,
164 : int rowstride,
165 : GdkPixbufDestroyNotify destroy_fn,
166 : gpointer destroy_fn_data
167 : )
168 : {
169 488 : GdkPixbuf *pixbuf = gdk_pixbuf_new_from_data( data, colorspace, has_alpha, bits_per_sample, width, height, rowstride, destroy_fn, destroy_fn_data );
170 488 : GdkTexture *result = gdk_texture_new_for_pixbuf( pixbuf );
171 488 : g_object_unref( pixbuf );
172 488 : return result;
173 : }
174 :
175 4 : void gui_resources_init ( gui_resources_t *this_ )
176 : {
177 4 : U8_TRACE_BEGIN();
178 :
179 4 : (*this_).crystal_facet_uml = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( crystal_facet_uml ) );
180 :
181 4 : (*this_).edit_attributes_sect = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_attributes_sect ) );
182 :
183 4 : (*this_).file_new = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( file_new ) );
184 4 : (*this_).file_open = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( file_open ) );
185 4 : (*this_).file_save = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( file_save ) );
186 4 : (*this_).file_saved = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( file_saved ) );
187 4 : (*this_).file_unsaved = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( file_unsaved ) );
188 4 : (*this_).file_export = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( file_export ) );
189 :
190 4 : (*this_).view_new_window = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( view_new_window ) );
191 4 : (*this_).view_search = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( view_search ) );
192 4 : (*this_).view_navigate = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( view_navigate ) );
193 4 : (*this_).view_create = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( view_create ) );
194 4 : (*this_).view_edit = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( view_edit ) );
195 :
196 4 : (*this_).tool_sect = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( tool_sect ) );
197 :
198 4 : (*this_).edit_copy = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_copy ) );
199 4 : (*this_).edit_cut = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_cut ) );
200 4 : (*this_).edit_delete = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_delete ) );
201 4 : (*this_).edit_paste = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_paste ) );
202 4 : (*this_).edit_instantiate = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_instantiate ) );
203 4 : (*this_).edit_highlight = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_highlight ) );
204 4 : (*this_).edit_redo = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_redo ) );
205 4 : (*this_).edit_undo = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_undo ) );
206 4 : (*this_).edit_reset = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( edit_reset ) );
207 :
208 4 : (*this_).message_error = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( message_error ) );
209 4 : (*this_).message_info = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( message_info ) );
210 4 : (*this_).message_warn = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( message_warn ) );
211 4 : (*this_).message_user_doc = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( message_user_doc ) );
212 :
213 4 : (*this_).navigate_breadcrumb_folder = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( navigate_breadcrumb_folder ) );
214 4 : (*this_).navigate_closed_folder = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( navigate_closed_folder ) );
215 4 : (*this_).navigate_create_child = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( navigate_create_child ) );
216 4 : (*this_).navigate_create_child_0 = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( navigate_create_child_0 ) );
217 4 : (*this_).navigate_create_sibling = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( navigate_create_sibling ) );
218 4 : (*this_).navigate_create_sibling_0 = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( navigate_create_sibling_0 ) );
219 4 : (*this_).navigate_open_folder = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( navigate_open_folder ) );
220 :
221 4 : (*this_).search_search = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( search_search ) );
222 :
223 4 : (*this_).background_column = gdk_pixbuf_new_from_data( GIMP_PIXBUF_DATA( background_column ) );
224 :
225 4 : (*this_).sketch_create = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( sketch_create ) );
226 4 : (*this_).sketch_refine = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( sketch_refine ) );
227 4 : (*this_).sketch_relate = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( sketch_relate ) );
228 4 : (*this_).sketch_move_h = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( sketch_move_h ) );
229 4 : (*this_).sketch_move_v = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( sketch_move_v ) );
230 4 : (*this_).sketch_move_2d = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( sketch_move_2d ) );
231 :
232 4 : (*this_).type_undef = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_undef ) );
233 :
234 4 : (*this_).type_diag_activity = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_activity ) );
235 4 : (*this_).type_diag_block = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_block ) );
236 4 : (*this_).type_diag_box = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_box ) );
237 4 : (*this_).type_diag_class = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_class ) );
238 4 : (*this_).type_diag_communication = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_communication ) );
239 4 : (*this_).type_diag_component = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_component ) );
240 4 : (*this_).type_diag_composite = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_composite ) );
241 4 : (*this_).type_diag_deployment = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_deployment ) );
242 4 : (*this_).type_diag_internal = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_internal ) );
243 4 : (*this_).type_diag_list = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_list ) );
244 4 : (*this_).type_diag_overview = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_overview ) );
245 4 : (*this_).type_diag_package = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_package ) );
246 4 : (*this_).type_diag_parametric = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_parametric ) );
247 4 : (*this_).type_diag_profile = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_profile ) );
248 4 : (*this_).type_diag_requirement = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_requirement ) );
249 4 : (*this_).type_diag_sequence = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_sequence ) );
250 4 : (*this_).type_diag_state = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_state ) );
251 4 : (*this_).type_diag_timing = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_timing ) );
252 4 : (*this_).type_diag_usecase = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_diag_usecase ) );
253 :
254 4 : (*this_).type_clas_accept = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_accept ) );
255 4 : (*this_).type_clas_activity = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_activity ) );
256 4 : (*this_).type_clas_actor = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_actor ) );
257 4 : (*this_).type_clas_artifact = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_artifact ) );
258 4 : (*this_).type_clas_block = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_block ) );
259 4 : (*this_).type_clas_class = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_class ) );
260 4 : (*this_).type_clas_comment = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_comment ) );
261 4 : (*this_).type_clas_component = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_component ) );
262 4 : (*this_).type_clas_constraint = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_constraint ) );
263 4 : (*this_).type_clas_decision = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_decision ) );
264 4 : (*this_).type_clas_deephistory = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_deephistory ) );
265 4 : (*this_).type_clas_final = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_final ) );
266 4 : (*this_).type_clas_fork = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_fork ) );
267 4 : (*this_).type_clas_history = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_history ) );
268 4 : (*this_).type_clas_image = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_image ) );
269 4 : (*this_).type_clas_initial = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_initial ) );
270 4 : (*this_).type_clas_interaction_use = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_interaction_use ) );
271 4 : (*this_).type_clas_interface = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_interface ) );
272 4 : (*this_).type_clas_join = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_join ) );
273 4 : (*this_).type_clas_node = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_node ) );
274 4 : (*this_).type_clas_object = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_object ) );
275 4 : (*this_).type_clas_package = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_package ) );
276 4 : (*this_).type_clas_part = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_part ) );
277 4 : (*this_).type_clas_region = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_region ) );
278 4 : (*this_).type_clas_requirement = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_requirement ) );
279 4 : (*this_).type_clas_send = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_send ) );
280 4 : (*this_).type_clas_state = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_state ) );
281 4 : (*this_).type_clas_stereotype = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_stereotype ) );
282 4 : (*this_).type_clas_subsystem = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_subsystem ) );
283 4 : (*this_).type_clas_time = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_time ) );
284 4 : (*this_).type_clas_usecase = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_clas_usecase ) );
285 :
286 4 : (*this_).type_feat_entry = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_entry ) );
287 4 : (*this_).type_feat_exit = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_exit ) );
288 4 : (*this_).type_feat_life = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_life ) );
289 4 : (*this_).type_feat_operation = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_operation ) );
290 4 : (*this_).type_feat_port = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_port ) );
291 4 : (*this_).type_feat_property = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_property ) );
292 4 : (*this_).type_feat_provide = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_provide ) );
293 4 : (*this_).type_feat_require = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_require ) );
294 4 : (*this_).type_feat_rx = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_rx ) );
295 4 : (*this_).type_feat_tag = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_tag ) );
296 4 : (*this_).type_feat_tx = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_feat_tx ) );
297 :
298 4 : (*this_).type_rel_aggregate = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_aggregate ) );
299 4 : (*this_).type_rel_associate = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_associate ) );
300 4 : (*this_).type_rel_async = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_async ) );
301 4 : (*this_).type_rel_communication_path = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_communication_path ) );
302 4 : (*this_).type_rel_compose = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_compose ) );
303 4 : (*this_).type_rel_contain = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_contain ) );
304 4 : (*this_).type_rel_control_flow = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_control_flow ) );
305 4 : (*this_).type_rel_depend = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_depend ) );
306 4 : (*this_).type_rel_deploy = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_deploy ) );
307 4 : (*this_).type_rel_extend = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_extend ) );
308 4 : (*this_).type_rel_generalize = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_generalize ) );
309 4 : (*this_).type_rel_include = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_include ) );
310 4 : (*this_).type_rel_manifest = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_manifest ) );
311 4 : (*this_).type_rel_object_flow = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_object_flow ) );
312 4 : (*this_).type_rel_realize = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_realize ) );
313 4 : (*this_).type_rel_refine = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_refine ) );
314 4 : (*this_).type_rel_return = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_return ) );
315 4 : (*this_).type_rel_sync = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_sync ) );
316 4 : (*this_).type_rel_trace = gui_resources_new_texture_from_pixbuf_data( GIMP_PIXBUF_DATA( type_rel_trace ) );
317 :
318 4 : U8_TRACE_END();
319 4 : }
320 :
321 : /*!
322 : * \brief destroys the gui_resources_t
323 : */
324 4 : void gui_resources_destroy ( gui_resources_t *this_ )
325 : {
326 4 : U8_TRACE_BEGIN();
327 :
328 4 : g_object_unref ((*this_).crystal_facet_uml);
329 :
330 4 : g_object_unref ((*this_).edit_attributes_sect);
331 :
332 4 : g_object_unref ((*this_).file_new);
333 4 : g_object_unref ((*this_).file_open);
334 4 : g_object_unref ((*this_).file_save);
335 4 : g_object_unref ((*this_).file_saved);
336 4 : g_object_unref ((*this_).file_unsaved);
337 4 : g_object_unref ((*this_).file_export);
338 :
339 4 : g_object_unref ((*this_).view_new_window);
340 4 : g_object_unref ((*this_).view_search);
341 4 : g_object_unref ((*this_).view_navigate);
342 4 : g_object_unref ((*this_).view_create);
343 4 : g_object_unref ((*this_).view_edit);
344 :
345 4 : g_object_unref ((*this_).tool_sect);
346 :
347 4 : g_object_unref ((*this_).edit_copy);
348 4 : g_object_unref ((*this_).edit_cut);
349 4 : g_object_unref ((*this_).edit_delete);
350 4 : g_object_unref ((*this_).edit_paste);
351 4 : g_object_unref ((*this_).edit_instantiate);
352 4 : g_object_unref ((*this_).edit_highlight);
353 4 : g_object_unref ((*this_).edit_redo);
354 4 : g_object_unref ((*this_).edit_undo);
355 4 : g_object_unref ((*this_).edit_reset);
356 :
357 4 : g_object_unref ((*this_).message_error);
358 4 : g_object_unref ((*this_).message_info);
359 4 : g_object_unref ((*this_).message_warn);
360 :
361 4 : g_object_unref ((*this_).message_user_doc);
362 :
363 4 : g_object_unref ((*this_).navigate_breadcrumb_folder);
364 4 : g_object_unref ((*this_).navigate_closed_folder);
365 4 : g_object_unref ((*this_).navigate_create_child);
366 4 : g_object_unref ((*this_).navigate_create_child_0);
367 4 : g_object_unref ((*this_).navigate_create_sibling);
368 4 : g_object_unref ((*this_).navigate_create_sibling_0);
369 4 : g_object_unref ((*this_).navigate_open_folder);
370 :
371 4 : g_object_unref ((*this_).search_search);
372 :
373 4 : g_object_unref ((*this_).background_column); /* Type: GdkPixbuf */
374 :
375 4 : g_object_unref ((*this_).sketch_create);
376 4 : g_object_unref ((*this_).sketch_refine);
377 4 : g_object_unref ((*this_).sketch_relate);
378 4 : g_object_unref ((*this_).sketch_move_h);
379 4 : g_object_unref ((*this_).sketch_move_v);
380 4 : g_object_unref ((*this_).sketch_move_2d);
381 :
382 4 : g_object_unref ((*this_).type_undef);
383 :
384 4 : g_object_unref ((*this_).type_diag_activity);
385 4 : g_object_unref ((*this_).type_diag_block);
386 4 : g_object_unref ((*this_).type_diag_box);
387 4 : g_object_unref ((*this_).type_diag_class);
388 4 : g_object_unref ((*this_).type_diag_communication);
389 4 : g_object_unref ((*this_).type_diag_component);
390 4 : g_object_unref ((*this_).type_diag_composite);
391 4 : g_object_unref ((*this_).type_diag_deployment);
392 4 : g_object_unref ((*this_).type_diag_internal);
393 4 : g_object_unref ((*this_).type_diag_list);
394 4 : g_object_unref ((*this_).type_diag_overview);
395 4 : g_object_unref ((*this_).type_diag_package);
396 4 : g_object_unref ((*this_).type_diag_parametric);
397 4 : g_object_unref ((*this_).type_diag_profile);
398 4 : g_object_unref ((*this_).type_diag_requirement);
399 4 : g_object_unref ((*this_).type_diag_sequence);
400 4 : g_object_unref ((*this_).type_diag_state);
401 4 : g_object_unref ((*this_).type_diag_timing);
402 4 : g_object_unref ((*this_).type_diag_usecase);
403 :
404 4 : g_object_unref ((*this_).type_clas_accept);
405 4 : g_object_unref ((*this_).type_clas_activity);
406 4 : g_object_unref ((*this_).type_clas_actor);
407 4 : g_object_unref ((*this_).type_clas_artifact);
408 4 : g_object_unref ((*this_).type_clas_block);
409 4 : g_object_unref ((*this_).type_clas_class);
410 4 : g_object_unref ((*this_).type_clas_comment);
411 4 : g_object_unref ((*this_).type_clas_component);
412 4 : g_object_unref ((*this_).type_clas_constraint);
413 4 : g_object_unref ((*this_).type_clas_decision);
414 4 : g_object_unref ((*this_).type_clas_deephistory);
415 4 : g_object_unref ((*this_).type_clas_final);
416 4 : g_object_unref ((*this_).type_clas_fork);
417 4 : g_object_unref ((*this_).type_clas_history);
418 4 : g_object_unref ((*this_).type_clas_image);
419 4 : g_object_unref ((*this_).type_clas_initial);
420 4 : g_object_unref ((*this_).type_clas_interaction_use);
421 4 : g_object_unref ((*this_).type_clas_interface);
422 4 : g_object_unref ((*this_).type_clas_join);
423 4 : g_object_unref ((*this_).type_clas_node);
424 4 : g_object_unref ((*this_).type_clas_object);
425 4 : g_object_unref ((*this_).type_clas_package);
426 4 : g_object_unref ((*this_).type_clas_part);
427 4 : g_object_unref ((*this_).type_clas_region);
428 4 : g_object_unref ((*this_).type_clas_requirement);
429 4 : g_object_unref ((*this_).type_clas_send);
430 4 : g_object_unref ((*this_).type_clas_state);
431 4 : g_object_unref ((*this_).type_clas_stereotype);
432 4 : g_object_unref ((*this_).type_clas_subsystem);
433 4 : g_object_unref ((*this_).type_clas_time);
434 4 : g_object_unref ((*this_).type_clas_usecase);
435 :
436 4 : g_object_unref ((*this_).type_feat_entry);
437 4 : g_object_unref ((*this_).type_feat_exit);
438 4 : g_object_unref ((*this_).type_feat_life);
439 4 : g_object_unref ((*this_).type_feat_operation);
440 4 : g_object_unref ((*this_).type_feat_port);
441 4 : g_object_unref ((*this_).type_feat_property);
442 4 : g_object_unref ((*this_).type_feat_provide);
443 4 : g_object_unref ((*this_).type_feat_require);
444 4 : g_object_unref ((*this_).type_feat_rx);
445 4 : g_object_unref ((*this_).type_feat_tag);
446 4 : g_object_unref ((*this_).type_feat_tx);
447 :
448 4 : g_object_unref ((*this_).type_rel_aggregate);
449 4 : g_object_unref ((*this_).type_rel_associate);
450 4 : g_object_unref ((*this_).type_rel_async);
451 4 : g_object_unref ((*this_).type_rel_compose);
452 4 : g_object_unref ((*this_).type_rel_contain);
453 4 : g_object_unref ((*this_).type_rel_control_flow);
454 4 : g_object_unref ((*this_).type_rel_depend);
455 4 : g_object_unref ((*this_).type_rel_deploy);
456 4 : g_object_unref ((*this_).type_rel_extend);
457 4 : g_object_unref ((*this_).type_rel_generalize);
458 4 : g_object_unref ((*this_).type_rel_include);
459 4 : g_object_unref ((*this_).type_rel_manifest);
460 4 : g_object_unref ((*this_).type_rel_object_flow);
461 4 : g_object_unref ((*this_).type_rel_realize);
462 4 : g_object_unref ((*this_).type_rel_refine);
463 4 : g_object_unref ((*this_).type_rel_return);
464 4 : g_object_unref ((*this_).type_rel_sync);
465 4 : g_object_unref ((*this_).type_rel_trace);
466 :
467 4 : U8_TRACE_END();
468 4 : }
469 :
470 :
471 : /*
472 : Copyright 2016-2025 Andreas Warnke
473 :
474 : Licensed under the Apache License, Version 2.0 (the "License");
475 : you may not use this file except in compliance with the License.
476 : You may obtain a copy of the License at
477 :
478 : http://www.apache.org/licenses/LICENSE-2.0
479 :
480 : Unless required by applicable law or agreed to in writing, software
481 : distributed under the License is distributed on an "AS IS" BASIS,
482 : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
483 : See the License for the specific language governing permissions and
484 : limitations under the License.
485 : */
|