/dports/graphics/embree/embree-3.13.2/kernels/common/ |
H A D | acceln.cpp | 17 delete accels[i]; in ~AccelN() 23 accels.push_back(accel); in accels_add() 29 delete accels[i]; in accels_init() 31 accels.clear(); in accels_init() 39 if (!This->accels[i]->isEmpty()) in pointQuery() 166 accels[i]->immutable(); in accels_immutable() 172 accels.shrink_to_fit(); in accels_build() 176 accels[i]->build(); in accels_build() 191 if (accels.size() == 1) { in accels_build() 193 bounds = accels[0]->bounds; in accels_build() [all …]
|
/dports/devel/devhelp/devhelp-41.2/src/ |
H A D | dh-app.c | 272 accels[0] = "<Alt>0"; in setup_go_to_tab_accelerators() 283 accels[0] = "<Control>0"; in setup_accelerators() 298 accels[1] = NULL; in setup_accelerators() 300 accels[0] = "<Control>f"; in setup_accelerators() 303 accels[0] = "<Control>c"; in setup_accelerators() 327 accels[0] = "F1"; in setup_accelerators() 330 accels[0] = "F9"; in setup_accelerators() 333 accels[0] = "F10"; in setup_accelerators() 337 accels[1] = "Forward"; in setup_accelerators() 340 accels[0] = "<Alt>Left"; in setup_accelerators() [all …]
|
/dports/multimedia/gmerlin/gmerlin-1.2.0/lib/ |
H A D | accelerator.c | 33 bg_accelerator_t * accels; member 43 m->accels = realloc(m->accels, m->num_alloc * sizeof(*m->accels)); in bg_accelerator_map_append() 45 m->accels[m->num].key = key; in bg_accelerator_map_append() 47 m->accels[m->num].id = id; in bg_accelerator_map_append() 66 m->accels = realloc(m->accels, m->num_alloc * sizeof(*m->accels)); in bg_accelerator_map_append_array() 68 memcpy(m->accels + m->num, tail, num_append * sizeof(*m->accels)); in bg_accelerator_map_append_array() 76 return m->accels; in bg_accelerator_map_get_accels() 82 if(m->accels) in bg_accelerator_map_destroy() 83 free(m->accels); in bg_accelerator_map_destroy() 94 ret->accels = calloc(ret->num_alloc, sizeof(*ret->accels)); in bg_accelerator_map_create() [all …]
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkapplicationaccels.c | 43 GtkApplicationAccels *accels = GTK_APPLICATION_ACCELS (object); in G_DEFINE_TYPE() local 45 g_list_store_remove_all (G_LIST_STORE (accels->shortcuts)); in G_DEFINE_TYPE() 46 g_object_unref (accels->shortcuts); in G_DEFINE_TYPE() 60 gtk_application_accels_init (GtkApplicationAccels *accels) in gtk_application_accels_init() argument 91 for (i = 0; i < g_list_model_get_n_items (accels->shortcuts); i++) in gtk_application_accels_set_accels_for_action() 111 g_list_store_remove (G_LIST_STORE (accels->shortcuts), i); in gtk_application_accels_set_accels_for_action() 142 g_list_store_append (G_LIST_STORE (accels->shortcuts), shortcut); in gtk_application_accels_set_accels_for_action() 152 append_accelerators (GPtrArray *accels, in append_accelerators() argument 170 append_accelerators (accels, first); in append_accelerators() 171 append_accelerators (accels, second); in append_accelerators() [all …]
|
H A D | gtkshortcutlabel.c | 288 char **accels; in parse_combination() local 294 accels = g_strsplit (str, "&", 0); in parse_combination() 295 for (k = 0; accels[k]; k++) in parse_combination() 307 g_strfreev (accels); in parse_combination() 316 char **accels; in parse_sequence() local 320 accels = g_strsplit (str, "+", 0); in parse_sequence() 321 for (k = 0; accels[k]; k++) in parse_sequence() 330 g_strfreev (accels); in parse_sequence() 377 char **accels; in gtk_shortcut_label_rebuild() local 393 for (k = 0; accels[k]; k++) in gtk_shortcut_label_rebuild() [all …]
|
H A D | gtkapplicationaccelsprivate.h | 38 void gtk_application_accels_set_accels_for_action (GtkApplicationAccels *accels, 42 char ** gtk_application_accels_get_accels_for_action (GtkApplicationAccels *accels, 45 char ** gtk_application_accels_get_actions_for_accel (GtkApplicationAccels *accels, 48 char ** gtk_application_accels_list_action_descriptions (GtkApplicationAccels *accels); 50 GListModel * gtk_application_accels_get_shortcuts (GtkApplicationAccels *accels);
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkapplicationaccels.c | 82 add_entry (GtkApplicationAccels *accels, in add_entry() argument 90 old = g_hash_table_lookup (accels->accel_to_actions, key); in add_entry() 106 remove_entry (GtkApplicationAccels *accels, in remove_entry() argument 115 old = g_hash_table_lookup (accels->accel_to_actions, key); in remove_entry() 126 g_hash_table_remove (accels->accel_to_actions, key); in remove_entry() 150 g_hash_table_unref (accels->accel_to_actions); in gtk_application_accels_finalize() 151 g_hash_table_unref (accels->action_to_accels); in gtk_application_accels_finalize() 165 gtk_application_accels_init (GtkApplicationAccels *accels) in gtk_application_accels_init() argument 225 add_entry (accels, &keys[i], action_and_target); in gtk_application_accels_set_accels_for_action() 312 n = g_hash_table_size (accels->action_to_accels); in gtk_application_accels_list_action_descriptions() [all …]
|
H A D | gtkapplicationaccelsprivate.h | 38 void gtk_application_accels_set_accels_for_action (GtkApplicationAccels *accels, 42 gchar ** gtk_application_accels_get_accels_for_action (GtkApplicationAccels *accels, 45 gchar ** gtk_application_accels_get_actions_for_accel (GtkApplicationAccels *accels, 48 gchar ** gtk_application_accels_list_action_descriptions (GtkApplicationAccels *accels); 50 …d gtk_application_accels_foreach_key (GtkApplicationAccels *accels, 55 gboolean gtk_application_accels_activate (GtkApplicationAccels *accels,
|
H A D | gtkshortcutlabel.c | 300 gchar **accels; in parse_combination() local 306 accels = g_strsplit (str, "&", 0); in parse_combination() 307 for (k = 0; accels[k]; k++) in parse_combination() 320 g_strfreev (accels); in parse_combination() 329 gchar **accels; in parse_sequence() local 333 accels = g_strsplit (str, "+", 0); in parse_sequence() 334 for (k = 0; accels[k]; k++) in parse_sequence() 343 g_strfreev (accels); in parse_sequence() 373 gchar **accels; in gtk_shortcut_label_rebuild() local 390 for (k = 0; accels[k]; k++) in gtk_shortcut_label_rebuild() [all …]
|
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/src/gui/ |
H A D | accel.c | 60 const char *accels[] = in accel_install_action_accelerator() local 64 action_name, accels); in accel_install_action_accelerator() 74 gchar ** accels = in accel_get_primary_accel_for_action() local 79 if (accels[0] != NULL) in accel_get_primary_accel_for_action() 82 accels[0], in accel_get_primary_accel_for_action() 89 g_strfreev (accels); in accel_get_primary_accel_for_action() 101 gchar ** accels = in accel_set_accel_label_from_action() local 105 if (accels[0] != NULL) in accel_set_accel_label_from_action() 108 accels[0], in accel_set_accel_label_from_action() 116 g_strfreev (accels); in accel_set_accel_label_from_action()
|
/dports/x11-toolkits/amtk/amtk-5.2.0/amtk/ |
H A D | amtk-action-info.c | 50 gchar **accels; member 72 g_strfreev (info->accels); in G_DEFINE_BOXED_TYPE() 90 info->accels = g_malloc0 (sizeof (gchar *)); in amtk_action_info_new() 132 g_strfreev (info->accels); in amtk_action_info_new_from_entry() 136 info->accels[1] = NULL; in amtk_action_info_new_from_entry() 366 g_assert (info->accels != NULL); in amtk_action_info_get_accels() 368 return (const gchar * const *)info->accels; in amtk_action_info_get_accels() 386 const gchar * const *accels) in amtk_action_info_set_accels() argument 389 g_return_if_fail (accels != NULL); in amtk_action_info_set_accels() 391 g_strfreev (info->accels); in amtk_action_info_set_accels() [all …]
|
/dports/graphics/darktable/darktable-3.6.1/src/views/ |
H A D | lighttable.c | 677 dt_control_accels_t *accels = &darktable.control->accels; in key_released() local 696 dt_control_accels_t *accels = &darktable.control->accels; in key_pressed() local 702 if((key == accels->lighttable_preview.accel_key && state == accels->lighttable_preview.accel_mods) in key_pressed() 734 if(key == accels->lighttable_left.accel_key && state == accels->lighttable_left.accel_mods) in key_pressed() 736 else if(key == accels->lighttable_up.accel_key && state == accels->lighttable_up.accel_mods) in key_pressed() 740 else if(key == accels->lighttable_down.accel_key && state == accels->lighttable_down.accel_mods) in key_pressed() 748 else if(key == accels->lighttable_end.accel_key && state == accels->lighttable_end.accel_mods) in key_pressed() 784 if(key == accels->lighttable_left.accel_key && state == accels->lighttable_left.accel_mods) in key_pressed() 786 else if(key == accels->lighttable_up.accel_key && state == accels->lighttable_up.accel_mods) in key_pressed() 790 else if(key == accels->lighttable_down.accel_key && state == accels->lighttable_down.accel_mods) in key_pressed() [all …]
|
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/keybinder/ |
H A D | clKeyboardManager.cpp | 231 if(where != accels.end()) in DoUpdateMenu() 242 accels.erase(where); in DoUpdateMenu() 283 for(MenuItemDataIntMap_t::iterator iter = accels.begin(); iter != accels.end(); ++iter) { in DoUpdateFrame() 536 accels.clear(); in GetAllAccelerators() 611 MenuItemDataMap_t accels; in Exists() local 612 GetAllAccelerators(accels); in Exists() 628 if (srcMapIter == accels.end()) return accels.end(); in ExistsALikeAccel() 652 return accels.end(); in ExistsALikeAccel() 803 MenuItemDataMap_t accels; in GetAllUnasignedKeyboardShortcuts() local 804 GetAllAccelerators(accels); in GetAllUnasignedKeyboardShortcuts() [all …]
|
/dports/devel/libgnt/libgnt-2.14.3/ |
H A D | gntwindow.c | 31 GHashTable *accels; /* key => menuitem-id */ member 75 if (window->priv->accels) in gnt_window_destroy() 76 g_hash_table_destroy(window->priv->accels); in gnt_window_destroy() 129 win->priv->accels = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); in gnt_window_init() 205 if (!gnt_style_read_menu_accels(name, window->priv->accels)) { in gnt_window_set_menu() 206 g_hash_table_destroy(window->priv->accels); in gnt_window_set_menu() 207 window->priv->accels = NULL; in gnt_window_set_menu() 222 if (window->priv->accels) in gnt_window_get_accel_item() 223 return g_hash_table_lookup(window->priv->accels, key); in gnt_window_get_accel_item()
|
/dports/games/spacejunk/spacejunk-1.0.5/src/ |
H A D | physicbody.cpp | 193 DynArray<Vector2d> accels(n); in _vstep() local 194 calculateForces(0,accels); in _vstep() 204 error = vstepRK5(tempdelta,accels); in _vstep() 232 calculateForces(time,accels); in _vstep() 320 DynArray<Vector2d> accels(n); in vstepRK5() local 334 calculateForces(delta*0.2,accels); in vstepRK5() 339 k2vel[(*j)->id]=accels[(*j)->id]*delta; in vstepRK5() 343 calculateForces(delta*0.3,accels); in vstepRK5() 352 calculateForces(delta*0.6,accels); in vstepRK5() 361 calculateForces(delta,accels); in vstepRK5() [all …]
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/examples/bp/ |
H A D | bloatpad.c | 361 gchar **accels; in combo_changed() local 370 str = g_strjoinv (",", accels); in combo_changed() 371 g_strfreev (accels); in combo_changed() 385 gchar **accels; in response() local 399 accels = g_strsplit (str, ",", 0); in response() 402 g_strfreev (accels); in response() 502 gchar **accels; in dump_accels() local 507 str = g_strjoinv (",", accels); in dump_accels() 509 g_strfreev (accels); in dump_accels() 531 } accels[] = { in bloat_pad_startup() local [all …]
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/examples/bp/ |
H A D | bloatpad.c | 359 char **accels; in combo_changed() local 368 str = g_strjoinv (",", accels); in combo_changed() 369 g_strfreev (accels); in combo_changed() 394 char **accels; in response() local 408 accels = g_strsplit (str, ",", 0); in response() 411 g_strfreev (accels); in response() 532 char **accels; in dump_accels() local 537 str = g_strjoinv (",", accels); in dump_accels() 539 g_strfreev (accels); in dump_accels() 561 } accels[] = { in bloat_pad_startup() local [all …]
|
/dports/devel/gnome-builder/gnome-builder-41.3/src/plugins/shellcmd/ |
H A D | gbp-shellcmd-command-provider.c | 40 GPtrArray *accels; member 142 for (guint i = 0; i < self->accels->len; i++) in remove_shortcuts() 144 const gchar *accel = g_ptr_array_index (self->accels, i); in remove_shortcuts() 168 if (self->accels->len > 0) in on_model_keybindings_changed_cb() 169 g_ptr_array_remove_range (self->accels, 0, self->accels->len); in on_model_keybindings_changed_cb() 202 g_ptr_array_add (self->accels, g_strdup (shortcut)); in on_model_keybindings_changed_cb() 284 g_clear_pointer (&self->accels, g_ptr_array_unref); in G_DEFINE_FINAL_TYPE_WITH_CODE() 301 self->accels = g_ptr_array_new_with_free_func (g_free); in gbp_shellcmd_command_provider_init()
|
/dports/science/gramps/gramps-5.1.4/gramps/gui/ |
H A D | uimanager.py | 376 accels = self.app.get_actions_for_accel(item[ACTION_ACC]) 377 if accels: 383 for accel in accels: 519 accels = self.app.get_accels_for_action( 521 out_dict[act] = accels[0] if accels else '' 524 accels = json.dumps(out_dict, indent=0).replace('\n"', '\n# "') 525 hndl.write(accels) 539 accels = hndl.read() 540 self.accel_dict = ast.literal_eval(accels)
|
/dports/editors/gedit-plugins/gedit-plugins-40.1/plugins/commander/commander/commands/ |
H A D | accel_group.py | 75 def remove_real(self, accelerators, accels): argument 76 if not accels: 79 parsed = Gtk.accelerator_parse(accels[0]) 89 if len(accels) == 1: 92 self.remove_real(accelerators[named], accels[1:])
|
/dports/net/gtk-vnc/gtk-vnc-0.7.2/examples/ |
H A D | gvncviewer.c | 156 GSList *accels; in vnc_disable_modifiers() local 168 for (accels = accel_list ; accels ; accels = accels->next) { in vnc_disable_modifiers() 169 if (accel_group == accels->data) in vnc_disable_modifiers() 190 GSList *accels; in vnc_enable_modifiers() local 199 for (accels = accel_list ; accels ; accels = accels->next) { in vnc_enable_modifiers() 200 if (accel_group == accels->data) in vnc_enable_modifiers() 686 GSList *accels; in main() local 793 accels = gtk_accel_groups_from_object(G_OBJECT(window)); in main() 795 for ( ; accels ; accels = accels->next) { in main() 796 accel_list = g_slist_append(accel_list, accels->data); in main() [all …]
|
/dports/graphics/entangle/entangle-1.0/src/frontend/ |
H A D | entangle-application.c | 319 const char *accels[3]; member 321 { .name = "app.new-window", .accels = { "<Primary>n", NULL } }, 322 { .name = "app.quit", .accels = { "<Primary>q", NULL } }, 323 { .name = "app.manual", .accels = { "F1", NULL } }, 324 { .name = "win.capture", .accels = { "s", "space", NULL } }, 325 { .name = "win.preview", .accels = { "p", NULL } }, 327 { .name = "win.zoom-out", .accels = { "<Primary>minus", NULL } }, 328 { .name = "win.zoom-normal", .accels = { "<Primary>0", NULL } }, 329 { .name = "win.zoom-best", .accels = { "<Primary>i", NULL } }, 330 { .name = "win.fullscreen", .accels = { "F11", NULL } }, [all …]
|
/dports/net-im/coyim/coyim-0.3.11/vendor/github.com/gotk3/gotk3/gtk/ |
H A D | application_since_3_12.go | 31 func (v *Application) SetAccelsForAction(act string, accels []string) { 35 caccels := C.make_strings(C.int(len(accels) + 1)) 38 for i, accel := range accels { 44 C.set_string(caccels, C.int(len(accels)), nil)
|
/dports/x11/nwg-drawer/nwg-drawer-0.2.8/vendor/github.com/gotk3/gotk3/gtk/ |
H A D | application_since_3_12.go | 31 func (v *Application) SetAccelsForAction(act string, accels []string) { 35 caccels := C.make_strings(C.int(len(accels) + 1)) 38 for i, accel := range accels { 44 C.set_string(caccels, C.int(len(accels)), nil)
|
/dports/x11/nwg-dock/nwg-dock-0.2.2/vendor/github.com/gotk3/gotk3/gtk/ |
H A D | application_since_3_12.go | 31 func (v *Application) SetAccelsForAction(act string, accels []string) { 35 caccels := C.make_strings(C.int(len(accels) + 1)) 38 for i, accel := range accels { 44 C.set_string(caccels, C.int(len(accels)), nil)
|