Searched refs:ListBox (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib/dist/bin/pick/
H A Dui.py126 commits = urwid.ListBox(self.commit_list)
127 feedback = urwid.ListBox(self.feedback_box)
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.h499 IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items = -1);
500 IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* data, int idx, const char** out_text), void* data, int items_count, int height_in_items = -1);
501 IMGUI_API bool ListBoxHeader(const char* label, const ImVec2& size = ImVec2(0,0)); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards.
612 IMGUI_API bool IsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item).
H A Dimgui_demo.cpp542 ImGui::ListBox("listbox\n(single select)", &listbox_item_current, listbox_items, IM_ARRAYSIZE(listbox_items), 4);
546 //ImGui::ListBox("##listbox2", &listbox_item_current2, listbox_items, IM_ARRAYSIZE(listbox_items), 4);
1447 ImGui::RadioButton("ListBox", &item_type, 5);
1455 if (item_type == 5) { const char* items[] = { "Apple", "Banana", "Cherry", "Kiwi" }; static int current = 1; ret = ImGui::ListBox("ITEM: ListBox", &current, items, IM_ARRAYSIZE(items), IM_ARRAYSIZE(items)); }
1735 ImGui::ListBox("", &selection[i], items, IM_ARRAYSIZE(items));
1737 //if (ImGui::IsItemHovered()) ImGui::SetTooltip("ListBox %d hovered", i);
H A Dimgui_widgets.cpp21 // [SECTION] Widgets: ListBox
5123 // [SECTION] Widgets: ListBox
5125 // - ListBox()
5201 bool ImGui::ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_items) function in class:ImGui
5203 const bool value_changed = ListBox(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_items);
5207 bool ImGui::ListBox(const char* label, int* current_item, bool (*items_getter)(void*, int, const char**), void* data, int items_count, int height_in_items) function in class:ImGui
5212 // Assume all items have even height (= 1 line of text). If you need items of different or variable sizes you can create a custom version of ListBox() in your code without using the clipper.
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h499 IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_in_items = -1);
500 IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* data, int idx, const char** out_text), void* data, int items_count, int height_in_items = -1);
501 IMGUI_API bool ListBoxHeader(const char* label, const ImVec2& size = ImVec2(0,0)); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards.
612 IMGUI_API bool IsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item).
H A Dimgui_widgets.cpp21 // [SECTION] Widgets: ListBox
5123 // [SECTION] Widgets: ListBox
5125 // - ListBox()
5201 bool ImGui::ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_items) function in class:ImGui
5203 const bool value_changed = ListBox(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_items);
5207 bool ImGui::ListBox(const char* label, int* current_item, bool (*items_getter)(void*, int, const char**), void* data, int items_count, int height_in_items) function in class:ImGui
5212 // Assume all items have even height (= 1 line of text). If you need items of different or variable sizes you can create a custom version of ListBox() in your code without using the clipper.

Completed in 47 milliseconds