Home
last modified time | relevance | path

Searched refs:active_item (Results 1 – 25 of 114) sorted by relevance

12345

/dports/games/supertux/supertux-0.1.3/src/
H A Dmenu.cpp217 if(!active_item) in get_input_with_symbol()
318 active_item = 0; in Menu()
359 --active_item; in action()
366 ++active_item; in action()
375 if(item[active_item].list->active_item > 0) in action()
376 --item[active_item].list->active_item; in action()
378 item[active_item].list->active_item = item[active_item].list->num_items-1; in action()
386 if(item[active_item].list->active_item < item[active_item].list->num_items-1) in action()
387 ++item[active_item].list->active_item; in action()
389 item[active_item].list->active_item = 0; in action()
[all …]
H A Dtype.cpp34 pstring_list->active_item = -1; in string_list_init()
43 if(pstring_list->active_item != -1) in string_list_active()
44 return pstring_list->item[pstring_list->active_item]; in string_list_active()
57 if(pstring_list->active_item == -1) in string_list_add_item()
58 pstring_list->active_item = 0; in string_list_add_item()
122 pstring_list->active_item = -1; in string_list_free()
/dports/net/rssguard/rssguard-4.0.4/src/librssguard/services/abstract/
H A Drootitem.cpp275 children.append(active_item); in getSubTree()
293 children.append(active_item); in getSubTree()
332 if (tester(active_item)) { in getItemFromSubTree()
333 return active_item; in getItemFromSubTree()
336 children.append(active_item); in getItemFromSubTree()
353 if (active_item->kind() == RootItem::Kind::Category && !children.contains(active_item->id())) { in getHashedSubTreeCategories()
354 children.insert(active_item->id(), active_item->toCategory()); in getHashedSubTreeCategories()
373 … if (active_item->kind() == RootItem::Kind::Feed && !children.contains(active_item->customId())) { in getHashedSubTreeFeeds()
374 children.insert(active_item->customId(), active_item->toFeed()); in getHashedSubTreeFeeds()
394 children.append(active_item->toFeed()); in getSubTreeFeeds()
[all …]
/dports/misc/urh/urh-2.9.2/src/urh/controller/
H A DSimulatorTabController.py209 self.active_item.repeat = value
217 if self.active_item is not None:
321 if self.active_item is not None:
340 self.item_updated(self.active_item)
354 self.item_updated(self.active_item)
368 self.active_item = None
379 def active_item(self): member in SimulatorTabController
382 @active_item.setter
383 def active_item(self, value): member in SimulatorTabController
473 self.item_updated(self.active_item)
[all …]
/dports/audio/avldrums-lv2/avldrums.lv2-0.4.2/robtk/widgets/
H A Drobtk_selector.h50 int active_item; member
166 d->active_item = i; in robtk_select_set_active_item()
196 int active_item = d->active_item; in robtk_select_mouseup() local
199 active_item = (d->active_item + d->item_count - 1) % d->item_count; in robtk_select_mouseup()
201 active_item--; in robtk_select_mouseup()
205 active_item = (d->active_item + 1) % d->item_count; in robtk_select_mouseup()
207 active_item++; in robtk_select_mouseup()
239 int active_item = d->active_item; in robtk_select_scroll() local
244 active_item = (d->active_item + 1) % d->item_count; in robtk_select_scroll()
246 active_item++; in robtk_select_scroll()
[all …]
/dports/audio/x42-plugins-lv2/x42-plugins-20211016/robtk/widgets/
H A Drobtk_selector.h53 int active_item; member
169 d->active_item = i; in robtk_select_set_active_item()
200 int active_item = d->active_item; in robtk_select_mouseup() local
203 active_item = (d->active_item + d->item_count - 1) % d->item_count; in robtk_select_mouseup()
205 active_item--; in robtk_select_mouseup()
209 active_item = (d->active_item + 1) % d->item_count; in robtk_select_mouseup()
211 active_item++; in robtk_select_mouseup()
248 int active_item = d->active_item; in robtk_select_scroll() local
253 active_item = (d->active_item + 1) % d->item_count; in robtk_select_scroll()
255 active_item++; in robtk_select_scroll()
[all …]
/dports/audio/schismtracker/schismtracker-20211116/schism/
H A Dmenu.c89 .active_item = -1,
109 .active_item = -1,
131 .active_item = -1,
146 .active_item = -1,
161 .active_item = -1,
182 .active_item = -1,
249 current_menu[0]->active_item = -1;
459 menu->active_item = -1;
463 menu->active_item = n;
472 main_menu.active_item = -1;
[all …]
/dports/graphics/gimp-app/gimp-2.10.30/app/tools/
H A Dgimpeditselectiontool.c212 GimpItem *active_item; in gimp_edit_selection_tool_start() local
267 if (GIMP_IS_CHANNEL (active_item)) in gimp_edit_selection_tool_start()
268 channel = GIMP_CHANNEL (active_item); in gimp_edit_selection_tool_start()
300 gimp_item_mask_intersect (active_item, in gimp_edit_selection_tool_start()
369 if (gimp_item_get_linked (active_item)) in gimp_edit_selection_tool_start()
541 GimpItem *active_item; in gimp_edit_selection_tool_update_motion() local
678 GimpItem *active_item; in gimp_edit_selection_tool_draw() local
804 GimpItem *active_item; in gimp_edit_selection_tool_get_active_item() local
825 return active_item; in gimp_edit_selection_tool_get_active_item()
834 GimpItem *active_item; in gimp_edit_selection_tool_calc_coords() local
[all …]
H A Dgimpmovetool.c184 GimpItem *active_item = NULL; in gimp_move_tool_button_press() local
279 if (! active_item) in gimp_move_tool_button_press()
295 active_item = NULL; in gimp_move_tool_button_press()
299 if (! active_item) in gimp_move_tool_button_press()
315 if (! active_item) in gimp_move_tool_button_press()
319 else if (GIMP_IS_LAYER_MASK (active_item)) in gimp_move_tool_button_press()
323 if (gimp_item_is_position_locked (active_item)) in gimp_move_tool_button_press()
328 else if (GIMP_IS_CHANNEL (active_item)) in gimp_move_tool_button_press()
332 if (gimp_item_is_position_locked (active_item)) in gimp_move_tool_button_press()
341 if (gimp_item_is_position_locked (active_item)) in gimp_move_tool_button_press()
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkpopovermenubar.c93 GtkPopoverMenuBarItem *active_item; member
143 if (bar->active_item) in set_active_item()
153 if (bar->active_item) in set_active_item()
156 bar->active_item = item; in set_active_item()
158 if (bar->active_item) in set_active_item()
162 if (bar->active_item) in set_active_item()
212 if (bar->active_item && in bar_leave_cb()
224 if (bar->active_item && in gtk_popover_menu_bar_focus()
233 if (bar->active_item) in gtk_popover_menu_bar_focus()
243 if (bar->active_item) in gtk_popover_menu_bar_focus()
[all …]
H A Dgtkpopovermenu.c155 GtkWidget *active_item; member
221 return menu->active_item; in gtk_popover_menu_get_active_item()
228 if (menu->active_item != item) in gtk_popover_menu_set_active_item()
230 if (menu->active_item) in gtk_popover_menu_set_active_item()
233 … g_object_remove_weak_pointer (G_OBJECT (menu->active_item), (gpointer *)&menu->active_item); in gtk_popover_menu_set_active_item()
236 menu->active_item = item; in gtk_popover_menu_set_active_item()
238 if (menu->active_item) in gtk_popover_menu_set_active_item()
242 g_object_add_weak_pointer (G_OBJECT (menu->active_item), (gpointer *)&menu->active_item); in gtk_popover_menu_set_active_item()
363 if (popover->active_item) in gtk_popover_menu_dispose()
365 … g_object_remove_weak_pointer (G_OBJECT (popover->active_item), (gpointer *)&popover->active_item); in gtk_popover_menu_dispose()
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/
H A Dactive_item_test.cpp20 item active_item( "firecracker_act", calendar::turn_zero, 5 ); variable
21 active_item.activate();
22 const int active_item_ticks = active_item.charges;
27 item *inventory_item = player_character.try_add( active_item );
31 bool wield_success = player_character.wield( active_item );
35 here.add_item( player_character.pos(), active_item );
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/
H A Dactive_item_test.cpp20 item active_item( "firecracker_act", calendar::turn_zero, 5 ); variable
21 active_item.activate();
22 const int active_item_ticks = active_item.charges;
27 item *inventory_item = player_character.try_add( active_item );
31 bool wield_success = player_character.wield( active_item );
35 here.add_item( player_character.pos(), active_item );
/dports/x11-toolkits/gtkextra/gtkextra-3.3.4/gtkextra/
H A Dgtkplotcanvas.c1282 if(canvas->active_item){ in gtk_plot_canvas_motion()
1349 if(canvas->active_item && canvas->active_item->flags & GTK_PLOT_CANVAS_CHILD_CAN_MOVE){ in gtk_plot_canvas_motion()
1406 if(canvas->active_item && new_width >= canvas->active_item->min_width && in gtk_plot_canvas_motion()
1505 active_item = child; in gtk_plot_canvas_button_press()
1515 active_item != canvas->active_item)); in gtk_plot_canvas_button_press()
1518 if(active_item && active_item->state == GTK_STATE_SELECTED) in gtk_plot_canvas_button_press()
1526 canvas->active_item = active_item; in gtk_plot_canvas_button_press()
1538 gtk_plot_canvas_child_draw_selection(canvas, active_item, active_item->drag_area); in gtk_plot_canvas_button_press()
1544 if(active_item && veto){ in gtk_plot_canvas_button_press()
1924 return (canvas->active_item); in gtk_plot_canvas_get_active_item()
[all …]
/dports/x11-toolkits/gtkada/gtkada-2.24.4.0/src/gtkextra/
H A Dgtkplotcanvas.c1014 if(canvas->active_item){ in gtk_plot_canvas_motion()
1081 if(canvas->active_item && canvas->active_item->flags & GTK_PLOT_CANVAS_CAN_MOVE){ in gtk_plot_canvas_motion()
1138 if(canvas->active_item && new_width >= canvas->active_item->min_width && in gtk_plot_canvas_motion()
1237 active_item = child; in gtk_plot_canvas_button_press()
1247 active_item != canvas->active_item)); in gtk_plot_canvas_button_press()
1250 if(active_item && active_item->state == GTK_STATE_SELECTED) in gtk_plot_canvas_button_press()
1258 canvas->active_item = active_item; in gtk_plot_canvas_button_press()
1270 gtk_plot_canvas_child_draw_selection(canvas, active_item, active_item->drag_area); in gtk_plot_canvas_button_press()
1276 if(active_item && veto){ in gtk_plot_canvas_button_press()
1567 if(plot_canvas->active_item){ in gtk_plot_canvas_unselect()
[all …]
/dports/games/flobopuyo/flobopuyo-0.20/
H A Dmenu.c12 int active_item; member
44 m->active_item = -1; in menu_new()
61 return menu->active_item; in menu_get_active_item()
77 menu->items[menu->active_item].priv_must_anim = 1; in menu_change_item_done()
88 menu->active_item++; in menu_next_item()
89 menu->active_item %= menu->nb_items; in menu_next_item()
99 if (menu->active_item) in menu_prev_item()
100 menu->active_item--; in menu_prev_item()
102 menu->active_item = menu->nb_items - 1; in menu_prev_item()
190 if (c == menu->active_item) { in menu_draw()
[all …]
/dports/deskutils/genius/genius-1.0.27/gtkextra/
H A Dgtkplotcanvas.c1270 if(canvas->active_item){ in gtk_plot_canvas_motion()
1338 if(canvas->active_item && canvas->active_item->flags & GTK_PLOT_CANVAS_CAN_MOVE){ in gtk_plot_canvas_motion()
1399 if(canvas->active_item && new_width >= canvas->active_item->min_width && in gtk_plot_canvas_motion()
1499 active_item = child; in gtk_plot_canvas_button_press()
1509 active_item != canvas->active_item)); in gtk_plot_canvas_button_press()
1512 if(active_item && active_item->state == GTK_STATE_SELECTED) in gtk_plot_canvas_button_press()
1520 canvas->active_item = active_item; in gtk_plot_canvas_button_press()
1538 if(active_item && veto){ in gtk_plot_canvas_button_press()
1918 return (canvas->active_item); in gtk_plot_canvas_get_active_item()
2080 if(canvas->active_item) in gtk_plot_canvas_draw()
[all …]
/dports/audio/quimup/Quimup_1.4.4_source/src/
H A Dqm_libraryview.cpp183 switch (active_item->gettype)
187 if(active_item->getdummy)
197 if(active_item->getdummy)
200 expand_album(active_item);
207 if(active_item->getdummy)
210 expand_genre(active_item);
217 if(active_item->getdummy)
227 if(active_item->getdummy)
729 …itemlist = mpdCom->get_songlist(active_item->getalbum, active_item->getartist, active_item->getgen…
731 itemlist = mpdCom->get_songlist(active_item->getalbum, active_item->getartist, "*^*");
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dactive_item_cache.cpp11 active_items[it->processing_speed()].remove_if( [it]( const item_reference & active_item ) { in remove() argument
12 item *const target = active_item.item_ref.get(); in remove()
16 … special_items[ special_item_type::corpse ].remove_if( [it]( const item_reference & active_item ) { in remove() argument
17 item *const target = active_item.item_ref.get(); in remove()
23 active_item ) { in remove() argument
24 item *const target = active_item.item_ref.get(); in remove()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dactive_item_cache.cpp11 active_items[it->processing_speed()].remove_if( [it]( const item_reference & active_item ) { in remove() argument
12 item *const target = active_item.item_ref.get(); in remove()
16 … special_items[ special_item_type::corpse ].remove_if( [it]( const item_reference & active_item ) { in remove() argument
17 item *const target = active_item.item_ref.get(); in remove()
23 active_item ) { in remove() argument
24 item *const target = active_item.item_ref.get(); in remove()
/dports/x11/brisk-menu/brisk-menu-0.6.2/src/backend/favourites/
H A Dfavourites-backend.c68 self->active_item = item; in brisk_favourites_backend_get_item_actions()
212 if (!self->active_item) { in brisk_favourites_backend_pin_item()
216 const gchar *item_id = brisk_item_get_id(self->active_item); in brisk_favourites_backend_pin_item()
217 self->active_item = NULL; in brisk_favourites_backend_pin_item()
245 if (!self->active_item) { in brisk_favourites_backend_unpin_item()
249 const gchar *item_id = brisk_item_get_id(self->active_item); in brisk_favourites_backend_unpin_item()
250 self->active_item = NULL; in brisk_favourites_backend_unpin_item()
/dports/games/traingame/traingame-cb6513e/src/
H A DSceneryPicker.cpp45 ISceneryPtr active_item; member in SceneryPicker
131 active_item->render(); in render_preview()
138 active_item = this->get(); in change_active()
141 .text(active_item->name()); in change_active()
151 active_item->set_angle(rotation); in rotate()
/dports/graphics/gimp-app/gimp-2.10.30/app/core/
H A Dgimpitemtree.c57 GimpItem *active_item; member
212 private->active_item = g_value_get_object (value); /* don't ref */ in gimp_item_tree_set_property()
241 g_value_set_object (value, private->active_item); in gimp_item_tree_get_property()
287 return GIMP_ITEM_TREE_GET_PRIVATE (tree)->active_item; in gimp_item_tree_get_active_item()
304 if (item != private->active_item) in gimp_item_tree_set_active_item()
306 private->active_item = item; in gimp_item_tree_set_active_item()
357 if (private->active_item) in gimp_item_tree_get_insert_pos()
365 *parent = private->active_item; in gimp_item_tree_get_insert_pos()
370 *parent = gimp_item_get_parent (private->active_item); in gimp_item_tree_get_insert_pos()
388 if (private->active_item) in gimp_item_tree_get_insert_pos()
[all …]
/dports/audio/mamba/Mamba-2.2/libxputty/xputty/widgets/
H A Dxlistview_private.c56 if(i == filelist->prelight_item && i == filelist->active_item) in _draw_list()
60 else if (i == filelist->active_item) in _draw_list()
71 if(i == filelist->prelight_item && i == filelist->active_item) in _draw_list()
75 else if (i == filelist->active_item) in _draw_list()
139 if(i == filelist->prelight_item && i == filelist->active_item) in _update_list_view()
143 else if (i == filelist->active_item) in _update_list_view()
154 if(i == filelist->prelight_item && i == filelist->active_item) in _update_list_view()
158 else if (i == filelist->active_item) in _update_list_view()
267 filelist->active_item = filelist->prelight_item; in _list_entry_released()
268 adj_set_value(listview->adj,filelist->active_item); in _list_entry_released()
/dports/audio/fluida-lv2/Fluida.lv2-0.7/libxputty/xputty/widgets/
H A Dxlistview_private.c56 if(i == filelist->prelight_item && i == filelist->active_item) in _draw_list()
60 else if (i == filelist->active_item) in _draw_list()
71 if(i == filelist->prelight_item && i == filelist->active_item) in _draw_list()
75 else if (i == filelist->active_item) in _draw_list()
139 if(i == filelist->prelight_item && i == filelist->active_item) in _update_list_view()
143 else if (i == filelist->active_item) in _update_list_view()
154 if(i == filelist->prelight_item && i == filelist->active_item) in _update_list_view()
158 else if (i == filelist->active_item) in _update_list_view()
267 filelist->active_item = filelist->prelight_item; in _list_entry_released()
268 adj_set_value(listview->adj,filelist->active_item); in _list_entry_released()

12345