Home
last modified time | relevance | path

Searched refs:get_item_count (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/dports/games/wesnoth/wesnoth-1.14.17/src/gui/widgets/
H A Dgenerator.cpp40 const unsigned item_count = get_item_count(); in set_item_shown()
122 for(size_t i = 0; i < get_item_count(); ++i) { in calculate_best_size()
244 if(get_item_count() == 0) { in handle_key_left_arrow()
281 if(get_item_count() == 0) { in handle_key_right_arrow()
453 if(get_item_count() == 0) { in handle_key_up_arrow()
489 if(get_item_count() == 0) { in handle_key_down_arrow()
551 size_t n_items = get_item_count(); in calculate_best_size()
746 if(get_item_count() == 0) { in handle_key_up_arrow()
783 if(get_item_count() == 0) { in handle_key_down_arrow()
820 if(get_item_count() == 0) { in handle_key_left_arrow()
[all …]
H A Dgenerator.hpp123 boost::dynamic_bitset<> items_shown(get_item_count()); in get_items_shown()
124 for (unsigned int i = 0u; i < get_item_count(); ++i) in get_items_shown()
132 virtual unsigned get_item_count() const = 0;
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/gui/
H A Doption_button.cpp68 for (int i = 0; i < popup->get_item_count(); i++) { in _selected()
77 if (selid == -1 && p_which >= 0 && p_which < popup->get_item_count()) { in _selected()
99 if (popup->get_item_count() == 1) in add_icon_item()
105 if (popup->get_item_count() == 1) in add_item()
156 int OptionButton::get_item_count() const { in get_item_count() function in OptionButton
158 return popup->get_item_count(); in get_item_count()
180 ERR_FAIL_INDEX(p_idx, popup->get_item_count()); in _select()
182 for (int i = 0; i < popup->get_item_count(); i++) { in _select()
197 if (p_which < 0 || p_which >= popup->get_item_count()) in _select_int()
235 for (int i = 0; i < get_item_count(); i++) { in _get_items()
[all …]
/dports/devel/godot2/godot-2.1.6-stable/scene/gui/
H A Doption_button.cpp68 for (int i = 0; i < popup->get_item_count(); i++) { in _selected()
77 if (selid == -1 && p_which >= 0 && p_which < popup->get_item_count()) { in _selected()
99 if (popup->get_item_count() == 1) in add_icon_item()
105 if (popup->get_item_count() == 1) in add_item()
156 int OptionButton::get_item_count() const { in get_item_count() function in OptionButton
158 return popup->get_item_count(); in get_item_count()
180 ERR_FAIL_INDEX(p_idx, popup->get_item_count()); in _select()
182 for (int i = 0; i < popup->get_item_count(); i++) { in _select()
197 if (p_which < 0 || p_which >= popup->get_item_count()) in _select_int()
235 for (int i = 0; i < get_item_count(); i++) { in _get_items()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/editor/plugins/
H A Ditem_list_editor_plugin.cpp103 for (int i = 0; i < get_item_count(); i++) { in _get_property_list()
149 ob->add_item(vformat(TTR("Item %d"), ob->get_item_count())); in add_item()
153 int ItemListOptionButtonPlugin::get_item_count() const { in get_item_count() function in ItemListOptionButtonPlugin
155 return ob->get_item_count(); in get_item_count()
191 pp->add_item(vformat(TTR("Item %d"), pp->get_item_count())); in add_item()
195 int ItemListPopupMenuPlugin::get_item_count() const { in get_item_count() function in ItemListPopupMenuPlugin
197 return pp->get_item_count(); in get_item_count()
230 pp->add_item(vformat(TTR("Item %d"), pp->get_item_count())); in add_item()
234 int ItemListItemListPlugin::get_item_count() const { in get_item_count() function in ItemListItemListPlugin
236 return pp->get_item_count(); in get_item_count()
H A Danimation_player_editor_plugin.cpp155 if (animation->get_item_count() == 0) { in _autoplay_pressed()
340 if (animation->get_item_count() == 0) in _animation_rename()
434 if (animation->get_item_count() == 0) in _animation_remove()
559 if (animation->get_item_count() == 0) in _blend_editor_next_changed()
579 if (animation->get_item_count() == 0) in _animation_blend()
633 if (animation->get_item_count() == 0) in _blend_edited()
713 if (animation->get_item_count()) { in _animation_resource_edit()
722 if (animation->get_item_count()) { in _animation_edit()
887 if (animation->get_item_count()) { in _update_player()
976 if (!animation->get_item_count()) in _animation_duplicate()
[all …]
/dports/devel/godot/godot-3.2.3-stable/editor/plugins/
H A Ditem_list_editor_plugin.cpp103 for (int i = 0; i < get_item_count(); i++) { in _get_property_list()
149 ob->add_item(vformat(TTR("Item %d"), ob->get_item_count())); in add_item()
153 int ItemListOptionButtonPlugin::get_item_count() const { in get_item_count() function in ItemListOptionButtonPlugin
155 return ob->get_item_count(); in get_item_count()
191 pp->add_item(vformat(TTR("Item %d"), pp->get_item_count())); in add_item()
195 int ItemListPopupMenuPlugin::get_item_count() const { in get_item_count() function in ItemListPopupMenuPlugin
197 return pp->get_item_count(); in get_item_count()
230 pp->add_item(vformat(TTR("Item %d"), pp->get_item_count())); in add_item()
234 int ItemListItemListPlugin::get_item_count() const { in get_item_count() function in ItemListItemListPlugin
236 return pp->get_item_count(); in get_item_count()
H A Danimation_player_editor_plugin.cpp155 if (animation->get_item_count() == 0) { in _autoplay_pressed()
340 if (animation->get_item_count() == 0) in _animation_rename()
434 if (animation->get_item_count() == 0) in _animation_remove()
559 if (animation->get_item_count() == 0) in _blend_editor_next_changed()
579 if (animation->get_item_count() == 0) in _animation_blend()
633 if (animation->get_item_count() == 0) in _blend_edited()
713 if (animation->get_item_count()) { in _animation_resource_edit()
722 if (animation->get_item_count()) { in _animation_edit()
887 if (animation->get_item_count()) { in _update_player()
976 if (!animation->get_item_count()) in _animation_duplicate()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/scene/gui/
H A Doption_button.cpp120 if (popup->get_item_count() == 1) in add_icon_item()
126 if (popup->get_item_count() == 1) in add_item()
189 int OptionButton::get_item_count() const { in get_item_count() function in OptionButton
191 return popup->get_item_count(); in get_item_count()
213 ERR_FAIL_INDEX(p_which, popup->get_item_count()); in _select()
215 for (int i = 0; i < popup->get_item_count(); i++) { in _select()
230 if (p_which < 0 || p_which >= popup->get_item_count()) in _select_int()
273 for (int i = 0; i < get_item_count(); i++) { in _get_items()
297 int idx = get_item_count(); in _set_items()
328 ClassDB::bind_method(D_METHOD("get_item_count"), &OptionButton::get_item_count); in _bind_methods()
/dports/devel/godot/godot-3.2.3-stable/scene/gui/
H A Doption_button.cpp120 if (popup->get_item_count() == 1) in add_icon_item()
126 if (popup->get_item_count() == 1) in add_item()
189 int OptionButton::get_item_count() const { in get_item_count() function in OptionButton
191 return popup->get_item_count(); in get_item_count()
213 ERR_FAIL_INDEX(p_which, popup->get_item_count()); in _select()
215 for (int i = 0; i < popup->get_item_count(); i++) { in _select()
230 if (p_which < 0 || p_which >= popup->get_item_count()) in _select_int()
273 for (int i = 0; i < get_item_count(); i++) { in _get_items()
297 int idx = get_item_count(); in _set_items()
328 ClassDB::bind_method(D_METHOD("get_item_count"), &OptionButton::get_item_count); in _bind_methods()
/dports/devel/p5-POE-XS-Queue-Array/POE-XS-Queue-Array-0.006/t/
H A D01_array.t29 ok($q->get_item_count == 0, "queue begins empty");
131 ok($q->get_item_count() == 6, "queue contains six events");
144 ok($q->get_item_count() == 3, "leaving three events");
161 ok($q->get_item_count() == 0, "leaving the queue empty");
177 ok($q->get_item_count() == 6, "leaving six events in the queue");
212 ok($q->get_item_count() == 0, "full queue removal leaves zero events");
/dports/devel/p5-POE/POE-1.368/t/10_units/06_queues/
H A D01_array.t25 ok($q->get_item_count == 0, "queue begins empty");
127 ok($q->get_item_count() == 6, "queue contains six events");
140 ok($q->get_item_count() == 3, "leaving three events");
157 ok($q->get_item_count() == 0, "leaving the queue empty");
173 ok($q->get_item_count() == 6, "leaving six events in the queue");
208 ok($q->get_item_count() == 0, "full queue removal leaves zero events");
/dports/devel/godot/godot-3.2.3-stable/editor/
H A Deditor_file_dialog.cpp193 for (int i = 0; i < item_list->get_item_count(); i++) { in get_selected_files()
306 for (int i = 0; i < item_list->get_item_count(); i++) { in _thumbnail_result()
354 for (int i = 0; i < item_list->get_item_count(); i++) { in _action_pressed()
380 for (int i = 0; i < item_list->get_item_count(); i++) { in _action_pressed()
577 for (int i = 0; i < item_list->get_item_count(); i++) { in _item_list_item_rmb_selected()
601 if (item_menu->get_item_count() > 0) { in _item_list_item_rmb_selected()
610 for (int i = 0; i < item_list->get_item_count(); i++) { in _item_list_rmb_clicked()
690 …if ((idx == -1 && filter->get_item_count() == 2) || (filter->get_item_count() > 2 && idx >= 0 && i… in update_file_name()
883 for (int i = 0; i < favorites->get_item_count(); i++) { in update_file_list()
890 if (i < favorites->get_item_count() - 1) { in update_file_list()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/editor/
H A Deditor_file_dialog.cpp193 for (int i = 0; i < item_list->get_item_count(); i++) { in get_selected_files()
306 for (int i = 0; i < item_list->get_item_count(); i++) { in _thumbnail_result()
354 for (int i = 0; i < item_list->get_item_count(); i++) { in _action_pressed()
380 for (int i = 0; i < item_list->get_item_count(); i++) { in _action_pressed()
577 for (int i = 0; i < item_list->get_item_count(); i++) { in _item_list_item_rmb_selected()
601 if (item_menu->get_item_count() > 0) { in _item_list_item_rmb_selected()
610 for (int i = 0; i < item_list->get_item_count(); i++) { in _item_list_rmb_clicked()
690 …if ((idx == -1 && filter->get_item_count() == 2) || (filter->get_item_count() > 2 && idx >= 0 && i… in update_file_name()
883 for (int i = 0; i < favorites->get_item_count(); i++) { in update_file_list()
890 if (i < favorites->get_item_count() - 1) { in update_file_list()
[all …]
/dports/devel/godot2/godot-2.1.6-stable/editor/plugins/
H A Ditem_list_editor_plugin.cpp87 for (int i = 0; i < get_item_count(); i++) { in _get_property_list()
133 ob->add_item(vformat(TTR("Item %d"), ob->get_item_count())); in add_item()
137 int ItemListOptionButtonPlugin::get_item_count() const { in get_item_count() function in ItemListOptionButtonPlugin
139 return ob->get_item_count(); in get_item_count()
175 pp->add_item(vformat(TTR("Item %d"), pp->get_item_count())); in add_item()
179 int ItemListPopupMenuPlugin::get_item_count() const { in get_item_count() function in ItemListPopupMenuPlugin
181 return pp->get_item_count(); in get_item_count()
H A Danimation_player_editor_plugin.cpp139 if (animation->get_item_count() == 0) { in _autoplay_pressed()
338 if (animation->get_item_count() == 0) in _animation_rename()
433 if (animation->get_item_count() == 0) in _animation_remove()
529 if (animation->get_item_count() == 0) in _blend_editor_next_changed()
549 if (animation->get_item_count() == 0) in _animation_blend()
603 if (animation->get_item_count() == 0) in _blend_edited()
673 if (animation->get_item_count()) { in _animation_resource_edit()
682 if (animation->get_item_count()) { in _animation_edit()
841 if (animation->get_item_count()) { in _update_player()
872 if (!animation->get_item_count()) in _animation_duplicate()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/plugins/
H A Ditem_list_editor_plugin.cpp87 for (int i = 0; i < get_item_count(); i++) { in _get_property_list()
133 ob->add_item(vformat(TTR("Item %d"), ob->get_item_count())); in add_item()
137 int ItemListOptionButtonPlugin::get_item_count() const { in get_item_count() function in ItemListOptionButtonPlugin
139 return ob->get_item_count(); in get_item_count()
175 pp->add_item(vformat(TTR("Item %d"), pp->get_item_count())); in add_item()
179 int ItemListPopupMenuPlugin::get_item_count() const { in get_item_count() function in ItemListPopupMenuPlugin
181 return pp->get_item_count(); in get_item_count()
H A Danimation_player_editor_plugin.cpp139 if (animation->get_item_count() == 0) { in _autoplay_pressed()
338 if (animation->get_item_count() == 0) in _animation_rename()
433 if (animation->get_item_count() == 0) in _animation_remove()
529 if (animation->get_item_count() == 0) in _blend_editor_next_changed()
549 if (animation->get_item_count() == 0) in _animation_blend()
603 if (animation->get_item_count() == 0) in _blend_edited()
673 if (animation->get_item_count()) { in _animation_resource_edit()
682 if (animation->get_item_count()) { in _animation_edit()
841 if (animation->get_item_count()) { in _update_player()
872 if (!animation->get_item_count()) in _animation_duplicate()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/
H A Deditor_file_dialog.cpp170 for (int i = 0; i < item_list->get_item_count(); i++) { in get_selected_files()
255 for (int i = 0; i < item_list->get_item_count(); i++) { in _thumbnail_result()
304 for (int i = 0; i < item_list->get_item_count(); i++) { in _action_pressed()
418 if (current < 0 || current >= item_list->get_item_count()) in _item_selected()
444 if (current < 0 || current >= item_list->get_item_count()) in _item_dc_selected()
574 if (filter->get_selected() == filter->get_item_count() - 1) { in update_file_list()
653 item_list->set_current(item_list->get_item_count() - 1); in update_file_list()
666 for (int i = 0; i < favorites->get_item_count(); i++) { in update_file_list()
673 if (i < favorites->get_item_count() - 1) { in update_file_list()
940 if (current > 0 && current < favorites->get_item_count()) { in _favorite_move_up()
[all …]
H A Dfilesystem_dock.cpp458 for (int i = 0; i < files->get_item_count(); i++) { in navigate_to_path()
488 if (idx >= files->get_item_count()) in _thumbnail_done()
566 for (int i = 0; i < files->get_item_count(); i++) { in _update_files()
658 files->select(files->get_item_count() - 1, false); in _update_files()
744 udata[0] = files->get_item_count() - 1; in _update_files()
753 files->select(files->get_item_count() - 1, false); in _update_files()
792 for (int i = 0; i < files->get_item_count(); i++) { in _preview_invalidated()
1125 if (idx < 0 || idx >= files->get_item_count()) in _file_option()
1133 if (idx < 0 || idx >= files->get_item_count()) in _file_option()
1236 if (idx < 0 || idx >= files->get_item_count()) in _file_option()
[all …]
/dports/devel/godot2/godot-2.1.6-stable/editor/
H A Deditor_file_dialog.cpp170 for (int i = 0; i < item_list->get_item_count(); i++) { in get_selected_files()
255 for (int i = 0; i < item_list->get_item_count(); i++) { in _thumbnail_result()
304 for (int i = 0; i < item_list->get_item_count(); i++) { in _action_pressed()
418 if (current < 0 || current >= item_list->get_item_count()) in _item_selected()
444 if (current < 0 || current >= item_list->get_item_count()) in _item_dc_selected()
574 if (filter->get_selected() == filter->get_item_count() - 1) { in update_file_list()
653 item_list->set_current(item_list->get_item_count() - 1); in update_file_list()
666 for (int i = 0; i < favorites->get_item_count(); i++) { in update_file_list()
673 if (i < favorites->get_item_count() - 1) { in update_file_list()
940 if (current > 0 && current < favorites->get_item_count()) { in _favorite_move_up()
[all …]
H A Dfilesystem_dock.cpp458 for (int i = 0; i < files->get_item_count(); i++) { in navigate_to_path()
488 if (idx >= files->get_item_count()) in _thumbnail_done()
566 for (int i = 0; i < files->get_item_count(); i++) { in _update_files()
658 files->select(files->get_item_count() - 1, false); in _update_files()
744 udata[0] = files->get_item_count() - 1; in _update_files()
753 files->select(files->get_item_count() - 1, false); in _update_files()
792 for (int i = 0; i < files->get_item_count(); i++) { in _preview_invalidated()
1125 if (idx < 0 || idx >= files->get_item_count()) in _file_option()
1133 if (idx < 0 || idx >= files->get_item_count()) in _file_option()
1236 if (idx < 0 || idx >= files->get_item_count()) in _file_option()
[all …]
/dports/www/moodle310/moodle/mod/chat/tests/
H A Dlib_test.php190 $this->assertEquals(1, $actionevent->get_item_count());
226 $this->assertEquals(1, $actionevent->get_item_count());
253 $this->assertEquals(1, $actionevent->get_item_count());
289 $this->assertEquals(1, $actionevent->get_item_count());
316 $this->assertEquals(1, $actionevent->get_item_count());
352 $this->assertEquals(1, $actionevent->get_item_count());
420 $this->assertEquals(1, $actionevent12->get_item_count());
427 $this->assertEquals(1, $actionevent21->get_item_count());
434 $this->assertEquals(1, $actionevent22->get_item_count());
/dports/www/moodle311/moodle/mod/chat/tests/
H A Dlib_test.php190 $this->assertEquals(1, $actionevent->get_item_count());
226 $this->assertEquals(1, $actionevent->get_item_count());
253 $this->assertEquals(1, $actionevent->get_item_count());
289 $this->assertEquals(1, $actionevent->get_item_count());
316 $this->assertEquals(1, $actionevent->get_item_count());
352 $this->assertEquals(1, $actionevent->get_item_count());
420 $this->assertEquals(1, $actionevent12->get_item_count());
427 $this->assertEquals(1, $actionevent21->get_item_count());
434 $this->assertEquals(1, $actionevent22->get_item_count());
/dports/www/moodle39/moodle/mod/chat/tests/
H A Dlib_test.php190 $this->assertEquals(1, $actionevent->get_item_count());
226 $this->assertEquals(1, $actionevent->get_item_count());
253 $this->assertEquals(1, $actionevent->get_item_count());
289 $this->assertEquals(1, $actionevent->get_item_count());
316 $this->assertEquals(1, $actionevent->get_item_count());
352 $this->assertEquals(1, $actionevent->get_item_count());
420 $this->assertEquals(1, $actionevent12->get_item_count());
427 $this->assertEquals(1, $actionevent21->get_item_count());
434 $this->assertEquals(1, $actionevent22->get_item_count());

12345678910>>...14