Blender V5.3
interface_template_curve_mapping.cc File Reference
#include "BKE_colortools.hh"
#include "BKE_context.hh"
#include "BKE_library.hh"
#include "BLI_bounds.hh"
#include "BLI_math_base_c.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_rect.hh"
#include "BLI_string_ref.hh"
#include "BLT_translation.hh"
#include "ED_screen.hh"
#include "ED_undo.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "UI_interface_layout.hh"
#include "interface_intern.hh"
#include "interface_templates_intern.hh"

Go to the source code of this file.

Classes

class  blender::ui::Vector< T, InlineBufferCapacity, Allocator >

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

static bool blender::ui::curvemap_can_zoom_out (CurveMapping *cumap)
static bool blender::ui::curvemap_can_zoom_in (CurveMapping *cumap)
static void blender::ui::curvemap_zoom (CurveMapping &cumap, const float scale)
static void blender::ui::curvemap_buttons_zoom_in (bContext *C, CurveMapping *cumap)
static void blender::ui::curvemap_buttons_zoom_out (bContext *C, CurveMapping *cumap)
static Block * blender::ui::curvemap_clipping_func (bContext *C, ARegion *region, void *cumap_v)
static Block * blender::ui::curvemap_tools_func (bContext *C, ARegion *region, RNAUpdateCb &cb, bool show_extend, CurveMapSlopeType reset_mode)
static Block * blender::ui::curvemap_tools_posslope_func (bContext *C, ARegion *region, void *cb_v)
static Block * blender::ui::curvemap_tools_negslope_func (bContext *C, ARegion *region, void *cb_v)
static Block * blender::ui::curvemap_brush_tools_func (bContext *C, ARegion *region, void *cb_v)
static Block * blender::ui::curvemap_brush_tools_negslope_func (bContext *C, ARegion *region, void *cb_v)
static void blender::ui::curvemap_buttons_redraw (bContext &C)
static void blender::ui::add_preset_button (Block *block, const float dx, const int icon, std::optional< StringRef > tip, CurveMapping *cumap, const bool neg_slope, const eCurveMappingPreset preset, const RNAUpdateCb &cb)
static void blender::ui::curvemap_buttons_layout (Layout *layout, PointerRNA *ptr, char labeltype, bool levels, bool brush, bool neg_slope, bool tone, bool presets, const RNAUpdateCb &cb)
void blender::ui::template_curve_mapping (Layout *layout, PointerRNA *ptr, StringRefNull propname, int type, bool levels, bool brush, bool neg_slope, bool tone, bool presets)