Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | |||||
| void BKE_paint_invalidate_overlay_all(void); | void BKE_paint_invalidate_overlay_all(void); | ||||
| OverlayControlFlags BKE_paint_get_overlay_flags(void); | OverlayControlFlags BKE_paint_get_overlay_flags(void); | ||||
| void BKE_paint_reset_overlay_invalid(OverlayControlFlags flag); | void BKE_paint_reset_overlay_invalid(OverlayControlFlags flag); | ||||
| void BKE_paint_set_overlay_override(enum OverlayFlags flag); | void BKE_paint_set_overlay_override(enum OverlayFlags flag); | ||||
| /* palettes */ | /* palettes */ | ||||
| void BKE_palette_free(struct Palette *palette); | void BKE_palette_free(struct Palette *palette); | ||||
| struct Palette *BKE_palette_add(struct Main *bmain, const char *name); | struct Palette *BKE_palette_add(struct Main *bmain, const char *name); | ||||
| void BKE_palette_copy_data( | |||||
| struct Main *bmain, struct Palette *palette_dst, const struct Palette *palette_src, const int flag); | |||||
| struct Palette *BKE_palette_copy(struct Main *bmain, const struct Palette *palette); | struct Palette *BKE_palette_copy(struct Main *bmain, const struct Palette *palette); | ||||
| void BKE_palette_make_local(struct Main *bmain, struct Palette *palette, const bool lib_local); | void BKE_palette_make_local(struct Main *bmain, struct Palette *palette, const bool lib_local); | ||||
| struct PaletteColor *BKE_palette_color_add(struct Palette *palette); | struct PaletteColor *BKE_palette_color_add(struct Palette *palette); | ||||
| bool BKE_palette_is_empty(const struct Palette *palette); | bool BKE_palette_is_empty(const struct Palette *palette); | ||||
| void BKE_palette_color_remove(struct Palette *palette, struct PaletteColor *color); | void BKE_palette_color_remove(struct Palette *palette, struct PaletteColor *color); | ||||
| void BKE_palette_clear(struct Palette *palette); | void BKE_palette_clear(struct Palette *palette); | ||||
| /* paint curves */ | /* paint curves */ | ||||
| struct PaintCurve *BKE_paint_curve_add(struct Main *bmain, const char *name); | struct PaintCurve *BKE_paint_curve_add(struct Main *bmain, const char *name); | ||||
| void BKE_paint_curve_free(struct PaintCurve *pc); | void BKE_paint_curve_free(struct PaintCurve *pc); | ||||
| void BKE_paint_curve_copy_data( | |||||
| struct Main *bmain, struct PaintCurve *pc_dst, const struct PaintCurve *pc_src, const int flag); | |||||
| struct PaintCurve *BKE_paint_curve_copy(struct Main *bmain, const struct PaintCurve *pc); | struct PaintCurve *BKE_paint_curve_copy(struct Main *bmain, const struct PaintCurve *pc); | ||||
| void BKE_paint_curve_make_local(struct Main *bmain, struct PaintCurve *pc, const bool lib_local); | void BKE_paint_curve_make_local(struct Main *bmain, struct PaintCurve *pc, const bool lib_local); | ||||
| void BKE_paint_init(struct Scene *sce, PaintMode mode, const char col[3]); | void BKE_paint_init(struct Scene *sce, PaintMode mode, const char col[3]); | ||||
| void BKE_paint_free(struct Paint *p); | void BKE_paint_free(struct Paint *p); | ||||
| void BKE_paint_copy(struct Paint *src, struct Paint *tar); | void BKE_paint_copy(struct Paint *src, struct Paint *tar, const int flag); | ||||
| void BKE_paint_cavity_curve_preset(struct Paint *p, int preset); | void BKE_paint_cavity_curve_preset(struct Paint *p, int preset); | ||||
| short BKE_paint_object_mode_from_paint_mode(PaintMode mode); | short BKE_paint_object_mode_from_paint_mode(PaintMode mode); | ||||
| struct Paint *BKE_paint_get_active_from_paintmode(struct Scene *sce, PaintMode mode); | struct Paint *BKE_paint_get_active_from_paintmode(struct Scene *sce, PaintMode mode); | ||||
| struct Paint *BKE_paint_get_active(struct Scene *sce); | struct Paint *BKE_paint_get_active(struct Scene *sce); | ||||
| struct Paint *BKE_paint_get_active_from_context(const struct bContext *C); | struct Paint *BKE_paint_get_active_from_context(const struct bContext *C); | ||||
| PaintMode BKE_paintmode_get_active_from_context(const struct bContext *C); | PaintMode BKE_paintmode_get_active_from_context(const struct bContext *C); | ||||
| ▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines | |||||