Blender V5.0
tree_view.cc File Reference
#include "DNA_userdef_types.h"
#include "DNA_windowmanager_types.h"
#include "BKE_context.hh"
#include "BLT_translation.hh"
#include "GPU_immediate.hh"
#include "GPU_state.hh"
#include "interface_intern.hh"
#include "UI_interface_layout.hh"
#include "UI_view2d.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "BLI_listbase.h"
#include "BLI_math_base.h"
#include "BLI_multi_value_map.hh"
#include "BLI_string.h"
#include "UI_tree_view.hh"

Go to the source code of this file.

Classes

class  blender::ui::TreeViewLayoutBuilder

Namespaces

namespace  blender
namespace  blender::ui

Macros

#define UI_TREEVIEW_INDENT   short(0.7f * UI_UNIT_X)
#define MIN_ROWS   4

Functions

static int blender::ui::unpadded_item_height ()
static int blender::ui::padded_item_height ()
static uiButViewItemblender::ui::find_first_view_item_but (const uiBlock &block, const AbstractTreeView &view)
static int blender::ui::count_visible_items (AbstractTreeView &tree_view)

Macro Definition Documentation

◆ MIN_ROWS

◆ UI_TREEVIEW_INDENT

#define UI_TREEVIEW_INDENT   short(0.7f * UI_UNIT_X)

Definition at line 36 of file tree_view.cc.

Referenced by blender::ui::TreeViewLayoutBuilder::build_from_tree().