Skip to content
Snippets Groups Projects
Select Git revision
  • 59f430f09eb9e4e6fa5795f4f2fcf92cfcef0dd6
  • develop default protected
  • last_video
  • master
4 results

main.cpp

Blame
  • colour.h 556 B
    /* SPDX-FileCopyrightText: © 2022 Maik Herbers */
    /* SPDX-License-Identifier: GPL-3.0-or-later */
    
    #pragma once
    
    #include "common.h"
    
    enum colour_type {
    	colour_type_mono,
    	colour_type_cividis,
    	colour_type_viridis,
    };
    
    typedef void (*colour_function_t)(struct rgba_pix *, const mpc_t, struct temporaries, enum colour_type type);
    
    void get_colour_mono(struct rgba_pix *colour, const mpc_t val, struct temporaries tmps, enum colour_type type);
    void get_colour_cmap(struct rgba_pix *colour, const mpc_t val, struct temporaries tmps, enum colour_type type);