https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 529e16169cb56e178d8392c221c08ed071889b1c authored by Daniel Fort on 08 September 2015, 00:18:01 UTC
Close branch take-a-pic-trigger-fix.
Tip revision: 529e161
picstyle.h
#ifndef _picstyle_h_
#define _picstyle_h_

int get_prop_picstyle_from_index(int index);
int get_prop_picstyle_index(int pic_style);

/* todo: move them to picstyle.c */
const char * get_picstyle_name(int raw_picstyle);
const char * get_picstyle_shortname(int raw_picstyle);

int lens_get_sharpness(void);
int lens_get_contrast(void);
int lens_get_saturation(void);
int lens_get_color_tone(void);

void lens_set_sharpness(int value);
void lens_set_contrast(int value);
void lens_set_saturation(int value);
void lens_set_color_tone(int value);

int lens_get_from_other_picstyle_sharpness(int index);
int lens_get_from_other_picstyle_contrast(int index);
int lens_get_from_other_picstyle_saturation(int index);
int lens_get_from_other_picstyle_color_tone(int index);

#endif
back to top