Decorations! ,still messing with it. It does not save currently. TODO: fix typing in boxes to update the color. Line/box tools. Some basic color selections like an element menu.

This commit is contained in:
Cracker64
2011-04-22 23:11:05 -04:00
committed by Simon Robertshaw
parent aa3f475edc
commit bd8de4c842
7 changed files with 310 additions and 1 deletions

View File

@@ -114,6 +114,8 @@ void xor_rect(pixel *vid, int x, int y, int w, int h);
void draw_parts(pixel *vid);
void draw_decorations(pixel *vid_buf,pixel *decorations);
void draw_wavelengths(pixel *vid, int x, int y, int h, int wl);
void render_signs(pixel *vid_buf);

View File

@@ -244,5 +244,6 @@ int console_parse_coords(char *txt, int *x, int *y, char *err);
int console_parse_type(char *txt, int *element, char *err);
int console_parse_partref(char *txt, int *which, char *err);
void decorations_ui(pixel *vid_buf,pixel *decorations,int *bsx,int *bsy);
#endif

View File

@@ -66,6 +66,9 @@ int register_extension();
int cpu_check(void);
void HSV_to_RGB(int h,int s,int v,int *r,int *g,int *b);
void RGB_to_HSV(int r,int g,int b,int *h,int *s,int *v);
// a b
// c d
struct matrix2d {