From: <enl...@li...> - 2003-02-16 11:58:13
|
Enlightenment CVS committal Author : fletch3k Project : misc Module : enotes Dir : misc/enotes/src Modified Files: main.h Added Files: evasfuncs.c Log Message: A Small Evas Layer to be implimented Later. =================================================================== RCS file: /cvsroot/enlightenment/misc/enotes/src/main.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- main.h 13 Feb 2003 19:00:50 -0000 1.12 +++ main.h 16 Feb 2003 11:58:11 -0000 1.13 @@ -88,6 +88,8 @@ Thomas Fletcher.\n\n\ Any Bugs, Please E-Mail to sha...@ya... .\n" + + extern char *tmp; extern char *str; @@ -145,6 +147,46 @@ extern Ewl_Widget *note12; extern Ewl_Widget *okbtn; extern Ewl_Widget *cancelbtn; + +typedef struct _fadeinfo fadeinfo; + +struct _fadeinfo { + Evas_Object *ob; + int a1; + int a2; + int freq; + double speed; + int loop; +}; +//extern struct _fadeinfo; + + + +void fadein_loop (int val, fadeinfo *fi); +void fadeobin (Evas_Object *ob, int a1, int a2, int freq, double speed); +void change_alpha (Evas_Object *ob, int alpha); + +Evas_Object *new_line (Evas *evas, int x1, int y1, int x2, int y2, int r, int g, + int b, int alpha, int layer); +Evas_Object *new_image (Evas *evas, char *imagefile, int layer, int fill_x, + int fill_y, int width, int height, int x, int y); +Evas_Object *new_rectangle (Evas *evas, int r, int g, int b, int alpha, + int width_x, int width_y, int x, int y, int layer); +Evas_Object *new_text (Evas *evas, char *font, int size, char *text, int r, + int g, int b, int alpha, int x, int y, int layer); +E_Prog *new_window (int width, int height); + +void move_object (Evas_Object *ob, int x, int y); +void resize_object (Evas_Object *ob, int width, int height); +void init (); +void floop (); +void onclick (Evas_Object *ob, void (*func), const void *data); +void addtimer (char *name, double interval, void (*func), + int initloopval /*Optional For Use*/, const void *data); +void mousemoveforward (Ecore_Event *event); +void onmousemove (E_Prog *eprog, void (*func)); +void movemouseimg (Ecore_Event *event); +void changemouse (E_Prog *eprog, char *img, int width, int height); void openwin (void); |