Blender V5.3
view2d_gizmo_navigate.cc File Reference
#include "BLI_utildefines.hh"
#include "BKE_context.hh"
#include "ED_gizmo_library.hh"
#include "ED_screen.hh"
#include "UI_resources.hh"
#include "MEM_guardedalloc.h"
#include "RNA_access.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "UI_view2d.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

Gizmo Types
void blender::ui::VIEW2D_GGT_navigate_impl (wmGizmoGroupType *gzgt, const char *idname)

View2D Navigation Gizmo Group

A simpler version of #VIEW3D_GGT_navigate

Written to be used by different kinds of 2D view types.

#define GIZMO_SIZE   80
#define GIZMO_MINI_FAC   0.35f
#define GIZMO_MINI_OFFSET_FAC   0.38f
static NavigateGizmoInfo blender::ui::g_navigate_params_for_space_image [GZ_INDEX_TOTAL]
static NavigateGizmoInfo blender::ui::g_navigate_params_for_space_clip [GZ_INDEX_TOTAL]
static NavigateGizmoInfo blender::ui::g_navigate_params_for_view2d [GZ_INDEX_TOTAL]
static NavigateGizmoInfo * blender::ui::navigate_params_from_space_type (short space_type)
static bool blender::ui::WIDGETGROUP_navigate_poll (const bContext *C, wmGizmoGroupType *)
static void blender::ui::WIDGETGROUP_navigate_setup (const bContext *, wmGizmoGroup *gzgroup)
static void blender::ui::WIDGETGROUP_navigate_draw_prepare (const bContext *C, wmGizmoGroup *gzgroup)

Macro Definition Documentation

◆ GIZMO_MINI_FAC

#define GIZMO_MINI_FAC   0.35f

Definition at line 40 of file view2d_gizmo_navigate.cc.

Referenced by blender::ui::WIDGETGROUP_navigate_setup().

◆ GIZMO_MINI_OFFSET_FAC

#define GIZMO_MINI_OFFSET_FAC   0.38f

◆ GIZMO_SIZE