Blender V5.3
interface_templates.cc File Reference
#include "BKE_library.hh"
#include "BKE_screen.hh"
#include "BLI_math_color_c.hh"
#include "BLI_string_ref.hh"
#include "ED_fileselect.hh"
#include "ED_screen.hh"
#include "RNA_access.hh"
#include "UI_interface_layout.hh"
#include "interface_intern.hh"
#include "interface_templates_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

Search Menu Helpers
int blender::ui::template_search_textbut_width (PointerRNA *ptr, PropertyRNA *name_prop)
int blender::ui::template_search_textbut_height ()
void blender::ui::template_add_button_search_menu (const bContext *C, Layout &layout, Block *block, PointerRNA *ptr, PropertyRNA *prop, BlockCreateFunc block_func, void *block_argN, const std::optional< StringRef > tip, const bool use_previews, const bool editable, const bool live_icon, ButtonArgNFree func_argN_free_fn, ButtonArgNCopy func_argN_copy_fn)
Block * blender::ui::template_common_search_menu (const bContext *C, ARegion *region, ButtonSearchUpdateFn search_update_fn, void *search_arg, ButtonHandleFunc search_exec_fn, void *active_item, ButtonSearchTooltipFn item_tooltip_fn, const int preview_rows, const int preview_cols, float scale)
Header Template
void blender::ui::template_header (Layout *layout, bContext *C)
RNA Path Builder Template
void blender::ui::template_path_builder (Layout *layout, PointerRNA *ptr, StringRefNull propname, PointerRNA *root_ptr, std::optional< StringRefNull > text)
Node Socket Icon Template
void blender::ui::template_node_socket (Layout *layout, bContext *C, const float color[4])
FileSelectParams Path Button Template
void blender::ui::template_file_select_path (Layout *layout, bContext *C, FileSelectParams *params)