LCOV - code coverage report
Current view: top level - gui/source - gui_resources.c (source / functions) Coverage Total Hit
Test: crystal-facet-uml_v1.63.2_covts Lines: 100.0 % 246 246
Test Date: 2025-05-01 10:10:14 Functions: 100.0 % 3 3

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

Generated by: LCOV version 2.0-1