Hi, my name`s Eros. I`m brazilian boy and don`t write english very well,
but I`ll try. I have some examples about evas programs that I`ll get in
the home page of enlightenment, but this examples didn`t run ocorred
parser error. I compiled Evas end Ecore, I don`t known if is necessary
compile others modules. Somebody run the evas examples ?
I tried to run them yesterday as well and ran into problems. The
problem is that ecore has changed since those examples were written.
You'll have to look at Ecore.h and change the calls accordingly.
Basically, many of the calls have been changed to ecore_* from e_*.
Also, the Eevent struct is now Ecore_Event. Here's what I had to change
in main.c from evas_eg_1:
Eevent -> Ecore_Event
Ev_Window_Expose -> Ecore_Event_Window_Expose
e_event_filter_handler_add -> ecore_event_filter_handler_add
EV_WINDOW_EXPOSE -> ECORE_EVENT_WINDOW_EXPOSE
e_event_filter_idle_handler_add -> ecore_event_filter_idle_handler_add
e_window_new -> ecore_window_new
e_display_get -> ecore_display_get
e_window_show -> ecore_window_show
e_window_set_events -> ecore_window_set_events
e_display_init -> ecore_display_init
e_ev_signal_init -> ecore_event_signal_init
e_event_filter_init -> ecore_event_filter_init
e_ev_x_init -> ecore_event_x_init
e_event_loop -> ecore_event_loop
I think that's it. If not, you should be able to see the pattern. Take
a look at Ecore.h if you still have problems.
To other e developers: should we not redo these examples with the
current API? I'd be happy to do it, but I'm not familiar with pdf
format. So, if I send them to someone, can they put them into the evas
On Tue, 2001-12-11 at 05:07, eros.pagnano wrote:
> Hi, my name`s Eros. I`m brazilian boy and don`t write english very well,
> but I`ll try. I have some examples about evas programs that I`ll get in
> the home page of enlightenment, but this examples didn`t run ocorred
> parser error. I compiled Evas end Ecore, I don`t known if is necessary
> compile others modules. Somebody run the evas examples ?
> enlightenment-devel mailing list