1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#ifndef _SETTINGS_H_
#define _SETTINGS_H_
typedef enum _editshow_t editshow_t;
/* this reflects the optionmenu by the same name */
enum _editshow_t {
EDITSHOW_EDIT=0, /* edit mesh on loaded image */
EDITSHOW_SHOW=1, /* show warped image without meshes
dont edit (unless we arein the resulting image)*/
EDITSHOW_SHOWMESHES=2, /* show warped image with both meshes
dont edit*/
EDITSHOW_SHOWANIM=4, /* animate mesh from normal
to warped, on fixed images;
dont edit (NOT IMPLEMENTED)*/
/* the above have a different meaning in the "resulting image" window */
EDITSHOW_EYES=3 /*change the position of the eyes points */
};
GtkWidget*
create_gtkmorph_menuSettings (void);
int
settings_get_value(char *name);
GtkWidget*
create_image_menu_settings (int i);
int
image_settings_get_value(char *name, int i);
int
image_settings_set_value(char *name, int i, int value);
#endif //_SETTINGS_H_
|