Files
test/source/blender/editors/interface/interface_regions_intern.hh
Hans Goudey f929fb5d77 Cleanup: Store uiBlock name as std::string
And change some adjacent code to benefit from the simplicity
and constant time access to the length of the string.
2024-01-18 16:13:00 -05:00

23 lines
469 B
C++

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup edinterface
*
* Share between interface_region_*.cc files.
*/
#pragma once
#include "BLI_string_ref.hh"
/* interface_region_menu_popup.cc */
uint ui_popup_menu_hash(blender::StringRef str);
/* interface_regions.cc */
ARegion *ui_region_temp_add(bScreen *screen);
void ui_region_temp_remove(bContext *C, bScreen *screen, ARegion *region);