Blender V5.0
interface_template_color_ramp.cc File Reference
#include "BKE_colorband.hh"
#include "BKE_context.hh"
#include "BKE_library.hh"
#include "BLI_listbase.h"
#include "BLI_rect.h"
#include "BLI_string_ref.hh"
#include "BLT_translation.hh"
#include "DNA_texture_types.h"
#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.

Functions

static void colorband_flip (bContext *C, ColorBand *coba)
static void colorband_distribute (bContext *C, ColorBand *coba, bool evenly)
static uiBlockcolorband_tools_fn (bContext *C, ARegion *region, void *cb_v)
static void colorband_add (bContext &C, const RNAUpdateCb &cb, ColorBand &coba)
static void colorband_update_cb (bContext *, void *bt_v, void *coba_v)
static void colorband_buttons_layout (uiLayout *layout, uiBlock *block, ColorBand *coba, const rctf *butr, const RNAUpdateCb &cb, int expand)
void uiTemplateColorRamp (uiLayout *layout, PointerRNA *ptr, const StringRefNull propname, bool expand)

Function Documentation

◆ colorband_add()

void colorband_add ( bContext & C,
const RNAUpdateCb & cb,
ColorBand & coba )
static

◆ colorband_buttons_layout()

◆ colorband_distribute()

void colorband_distribute ( bContext * C,
ColorBand * coba,
bool evenly )
static

◆ colorband_flip()

void colorband_flip ( bContext * C,
ColorBand * coba )
static

◆ colorband_tools_fn()

◆ colorband_update_cb()

void colorband_update_cb ( bContext * ,
void * bt_v,
void * coba_v )
static

◆ uiTemplateColorRamp()