Blender V5.3
palette.cc File Reference
#include "DNA_brush_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "DNA_windowmanager_types.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_set.hh"
#include "BKE_brush.hh"
#include "BKE_context.hh"
#include "BKE_image.hh"
#include "BKE_lib_id.hh"
#include "BKE_library.hh"
#include "BKE_paint.hh"
#include "BKE_paint_types.hh"
#include "IMB_colormanagement.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "paint_intern.hh"

Go to the source code of this file.

Classes

struct  blender::PaletteColorHSV

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static int blender::palettecolor_compare_hsv (const void *a1, const void *a2)
static void blender::palette_sort_hsv (PaletteColorHSV *color_array, const int totcol)
static int blender::palettecolor_compare_svh (const void *a1, const void *a2)
static void blender::palette_sort_svh (PaletteColorHSV *color_array, const int totcol)
static int blender::palettecolor_compare_vhs (const void *a1, const void *a2)
static void blender::palette_sort_vhs (PaletteColorHSV *color_array, const int totcol)
static int blender::palettecolor_compare_luminance (const void *a1, const void *a2)
static void blender::palette_sort_luminance (PaletteColorHSV *color_array, const int totcol)
static bool blender::palette_from_hash (Main *bmain, const Set< uint > &color_table, const char *name)
static wmOperatorStatus blender::palette_new_exec (bContext *C, wmOperator *)
void blender::PALETTE_OT_new (wmOperatorType *ot)
static bool blender::palette_poll (bContext *C)
static wmOperatorStatus blender::palette_color_add_exec (bContext *C, wmOperator *)
void blender::PALETTE_OT_color_add (wmOperatorType *ot)
static wmOperatorStatus blender::palette_color_delete_exec (bContext *C, wmOperator *)
void blender::PALETTE_OT_color_delete (wmOperatorType *ot)
static bool blender::palette_extract_img_poll (bContext *C)
static wmOperatorStatus blender::palette_extract_img_exec (bContext *C, wmOperator *op)
void blender::PALETTE_OT_extract_from_image (wmOperatorType *ot)
static wmOperatorStatus blender::palette_sort_exec (bContext *C, wmOperator *op)
void blender::PALETTE_OT_sort (wmOperatorType *ot)
static wmOperatorStatus blender::palette_color_move_exec (bContext *C, wmOperator *op)
void blender::PALETTE_OT_color_move (wmOperatorType *ot)
static wmOperatorStatus blender::palette_join_exec (bContext *C, wmOperator *op)
void blender::PALETTE_OT_join (wmOperatorType *ot)