|
@@ -1142,6 +1142,16 @@ bool ImGui::CheckboxFlags(const char* label, unsigned int* flags, unsigned int f
|
|
|
return CheckboxFlagsT(label, flags, flags_value);
|
|
|
}
|
|
|
|
|
|
+bool ImGui::CheckboxFlags(const char* label, ImS64* flags, ImS64 flags_value)
|
|
|
+{
|
|
|
+ return CheckboxFlagsT(label, flags, flags_value);
|
|
|
+}
|
|
|
+
|
|
|
+bool ImGui::CheckboxFlags(const char* label, ImU64* flags, ImU64 flags_value)
|
|
|
+{
|
|
|
+ return CheckboxFlagsT(label, flags, flags_value);
|
|
|
+}
|
|
|
+
|
|
|
bool ImGui::RadioButton(const char* label, bool active)
|
|
|
{
|
|
|
ImGuiWindow* window = GetCurrentWindow();
|
|
@@ -6152,7 +6162,9 @@ bool ImGui::ListBoxHeader(const char* label, int items_count, int height_in_item
|
|
|
// FIXME: In principle this function should be called EndListBox(). We should rename it after re-evaluating if we want to keep the same signature.
|
|
|
void ImGui::ListBoxFooter()
|
|
|
{
|
|
|
- ImGuiWindow* parent_window = GetCurrentWindow()->ParentWindow;
|
|
|
+ ImGuiWindow * window = GetCurrentWindow();
|
|
|
+ IM_ASSERT((window->Flags & ImGuiWindowFlags_ChildWindow) && "Mismatched ListBoxHeader/ListBoxFooter calls. Did you test the return value of ListBoxHeader()?");
|
|
|
+ ImGuiWindow* parent_window = window->ParentWindow;
|
|
|
const ImRect bb = parent_window->DC.LastItemRect;
|
|
|
const ImGuiStyle& style = GetStyle();
|
|
|
|