[E-devel] Bad parrents HWND WinXP
The bad word is only cause WinXP is in the sentence. Ok, here are my needs. I'm developing a VST plugin, and the host application give me a HWND where I have to construct the gui. How could I construct the edje gui Inside? I think that the api didn't give me that possibility, but maybe I can make a little modification or use a internal function. Please point me to a direction where I can start. Thanks. -- http://marssong.blogspot.com -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] gl_glew VS opengl_glew
I can't use the gl_glew engine, so I start debugging a little bit and I found that ecore try to find the opengl_glew engine using the function evas_render_engine_lookup in file ecore_evas_win32.c: static int _ecore_evas_engine_opengl_glew_init(Ecore_Evas *ee) { Evas_Engine_Info_GL_Glew *einfo; const char *driver; int rmethod; driver = opengl_glew; rmethod = evas_render_method_lookup(driver); if (!rmethod) return 0; but evas name the engine gl_glew and if I call evas_render_method_lookup(gl_glew) it return true. What is the correct name gl_glew or opengl_glew, to rectificate the wrong in ecore (ecore_evas_win32.c line 1099) or evas (src/lib/canvas/evas_main.c line 756 and src/modules/engines/gl_glew/evas_engine.c line 994) -- http://marssong.blogspot.com -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] gl_glew VS opengl_glew
I thought that the ecore should be the wrong so here is a patch. On Tue, Jan 27, 2009 at 9:14 PM, Roberto Huelga rhue...@gmail.com wrote: I can't use the gl_glew engine, so I start debugging a little bit and I found that ecore try to find the opengl_glew engine using the function evas_render_engine_lookup in file ecore_evas_win32.c: static int _ecore_evas_engine_opengl_glew_init(Ecore_Evas *ee) { Evas_Engine_Info_GL_Glew *einfo; const char *driver; int rmethod; driver = opengl_glew; rmethod = evas_render_method_lookup(driver); if (!rmethod) return 0; but evas name the engine gl_glew and if I call evas_render_method_lookup(gl_glew) it return true. What is the correct name gl_glew or opengl_glew, to rectificate the wrong in ecore (ecore_evas_win32.c line 1099) or evas (src/lib/canvas/evas_main.c line 756 and src/modules/engines/gl_glew/evas_engine.c line 994) -- http://marssong.blogspot.com -- http://marssong.blogspot.com -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Evas+winxp get errors on engine direct3d
I get the direct3d module compiled. To make it compile I move the header d3dx9.h to the file where it's needed, files that compile with g++. So I make the following changes: in direct3d/evas_engine.h comment the //#include d3dx9.h in evas_direct3d_object_image.h and evas_direct3d_shader_pack.cpp add the #include d3dx9.h in the attach file is the patch. I think that using ifdef __cplusplus to include the d3dx9 will work too. Now it compile, but... there is a but, a little sample that works with ddraw blow up. I get the following error: Program received signal SIGSEGV, Segmentation fault. 0x68214c3e in evas_object_render_pre_effect_updates () from c:\msys\1.0\local\bin\libevas-0.dll and here is the backtrace #0 0x68214a4f in evas_object_render_pre_effect_updates () from c:\msys\1.0\local\bin\libevas-0.dll #1 0x6821c7bf in evas_object_rectangle_render_pre () from c:\msys\1.0\local\bin\libevas-0.dll #2 0x6821c5d0 in evas_object_rectangle_render_pre () from c:\msys\1.0\local\bin\libevas-0.dll #3 0x6823b95d in evas_render_updates_internal () from c:\msys\1.0\local\bin\libevas-0.dll #4 0x6823c483 in evas_render_updates () from c:\msys\1.0\local\bin\libevas-0.dll #5 0x6bbc5ecc in _ecore_evas_win32_render (ee=0x3ec988) at ecore_evas_win32.c:98 #6 0x6bbc5f6f in _ecore_evas_win32_idle_enter (data=0x0) at ecore_evas_win32.c:123 #7 0x7100321f in _ecore_idle_enterer_call () at ecore_idle_enterer.c:101 #8 0x71006024 in _ecore_main_loop_iterate_internal (once_only=2293504) at ecore_main.c:653 #9 0x71006267 in ecore_main_loop_begin () at ecore_main.c:88 #10 0x0040153c in main () at testedje.c:66 On Sun, Jan 25, 2009 at 9:53 PM, Vincent Torri vto...@univ-evry.fr wrote: On Sun, 25 Jan 2009, Roberto Huelga wrote: Finally,after a lot of tries I get a little edje sample working with the software_ddraw engine, so I'm happy note that you can even be happier by trying to compile elementary :-) It works with the ddraw engine (with 2 problems: the shapes are not supported with that engine right now, and the entry, as there are problems with keyboard (i don't know why yet)). and frustrated, because I couldn't compile the direct3d engine when I run make in evas, I get the following output: [snip] In file included from c:/msys/1.0/local/include/d3dx9.h:47, from evas_engine.h:7, from evas_engine.c:1: c:/msys/1.0/local/include/d3dx9math.h:1314: error: redefinition of typedef 'ID3DXMatrixStack' [snip] I'm using the DirectX SDK of November 2008 and last svn update. these headers are an horror. I already had problems with them before. I'll check if I have the problem asap (i have to check if i compiled the d3d engine last time i compiled evas). Vincent -- http://marssong.blogspot.com -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Evas+winxp get errors on engine direct3d
On Mon, Jan 26, 2009 at 9:25 PM, Vincent Torri vto...@univ-evry.fr wrote: On Mon, 26 Jan 2009, Roberto Huelga wrote: I get the direct3d module compiled. To make it compile I move the header d3dx9.h to the file where it's needed, it's even not sufficient for me, because, with the SDK from november, d3d9.h seems that it can't be used with a C compiler... Don't you have problems with d3d9.h at all ? Vincent I didn't have problems with the d3d9.h, but I'm using the d3d9.h that comes with the mingw distribution in c:\Mingw\include\d3d9.h, and I copy only the d3dx9***.h files of DirectX SDK in the local\include. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Evas+winxp get errors on engine direct3d
Finally,after a lot of tries I get a little edje sample working with the software_ddraw engine, so I'm happy and frustrated, because I couldn't compile the direct3d engine when I run make in evas, I get the following output: /bin/sh ../../../../libtool --tag=CC --tag=disable-static --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines -Ic:/msys/1.0/local/include/eina-0 -Ic:/msys/1.0/local/include/eina-0/eina -Ic:/msys/1.0/local/include/freetype2 -Ic:/msys/1.0/local/include -I/usr/local/include -mms-bitfields -march=i686 -DWINVER=0x0501 -D_GNU_SOURCE -MT module_la-evas_engine.lo -MD -MP -MF .deps/module_la-evas_engine.Tpo -c -o module_la-evas_engine.lo `test -f 'evas_engine.c' || echo './'`evas_engine.c gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines -Ic:/msys/1.0/local/include/eina-0 -Ic:/msys/1.0/local/include/eina-0/eina -Ic:/msys/1.0/local/include/freetype2 -Ic:/msys/1.0/local/include -I/usr/local/include -mms-bitfields -march=i686 -DWINVER=0x0501 -D_GNU_SOURCE -MT module_la-evas_engine.lo -MD -MP -MF .deps/module_la-evas_engine.Tpo -c evas_engine.c -DDLL_EXPORT -DPIC -o .libs/module_la-evas_engine.o In file included from c:/msys/1.0/local/include/d3dx9.h:47, from evas_engine.h:7, from evas_engine.c:1: c:/msys/1.0/local/include/d3dx9math.h:1314: error: redefinition of typedef 'ID3DXMatrixStack' c:/msys/1.0/local/include/d3dx9math.h:1303: error: previous declaration of 'ID3DXMatrixStack' was here In file included from c:/msys/1.0/local/include/d3dx9.h:48, from evas_engine.h:7, from evas_engine.c:1: c:/msys/1.0/local/include/d3dx9core.h:106: error: redefinition of typedef 'ID3DXBuffer' c:/msys/1.0/local/include/d3dx9core.h:96: error: previous declaration of 'ID3DXBuffer' was here c:/msys/1.0/local/include/d3dx9core.h:203: error: redefinition of typedef 'ID3DXSprite' c:/msys/1.0/local/include/d3dx9core.h:191: error: previous declaration of 'ID3DXSprite' was here c:/msys/1.0/local/include/d3dx9core.h:319: error: redefinition of typedef 'ID3DXFont' c:/msys/1.0/local/include/d3dx9core.h:307: error: previous declaration of 'ID3DXFont' was here c:/msys/1.0/local/include/d3dx9core.h:483: error: redefinition of typedef 'ID3DXRenderToSurface' c:/msys/1.0/local/include/d3dx9core.h:471: error: previous declaration of 'ID3DXRenderToSurface' was here c:/msys/1.0/local/include/d3dx9core.h:573: error: redefinition of typedef 'ID3DXRenderToEnvMap' c:/msys/1.0/local/include/d3dx9core.h:561: error: previous declaration of 'ID3DXRenderToEnvMap' was here c:/msys/1.0/local/include/d3dx9core.h:697: error: redefinition of typedef 'ID3DXLine' c:/msys/1.0/local/include/d3dx9core.h:686: error: previous declaration of 'ID3DXLine' was here In file included from c:/msys/1.0/local/include/d3dx9.h:49, from evas_engine.h:7, from evas_engine.c:1: c:/msys/1.0/local/include/d3dx9xof.h:153: error: redefinition of typedef 'ID3DXFile' c:/msys/1.0/local/include/d3dx9xof.h:140: error: previous declaration of 'ID3DXFile' was here c:/msys/1.0/local/include/d3dx9xof.h:174: error: redefinition of typedef 'ID3DXFileSaveObject' c:/msys/1.0/local/include/d3dx9xof.h:141: error: previous declaration of 'ID3DXFileSaveObject' was here c:/msys/1.0/local/include/d3dx9xof.h:193: error: redefinition of typedef 'ID3DXFileSaveData' c:/msys/1.0/local/include/d3dx9xof.h:142: error: previous declaration of 'ID3DXFileSaveData' was here c:/msys/1.0/local/include/d3dx9xof.h:215: error: redefinition of typedef 'ID3DXFileEnumObject' c:/msys/1.0/local/include/d3dx9xof.h:143: error: previous declaration of 'ID3DXFileEnumObject' was here c:/msys/1.0/local/include/d3dx9xof.h:235: error: redefinition of typedef 'ID3DXFileData' c:/msys/1.0/local/include/d3dx9xof.h:144: error: previous declaration of 'ID3DXFileData' was here In file included from c:/msys/1.0/local/include/d3dx9.h:50, from evas_engine.h:7, from evas_engine.c:1: c:/msys/1.0/local/include/d3dx9mesh.h:1631: error: redefinition of typedef 'ID3DXPRTBuffer' c:/msys/1.0/local/include/d3dx9mesh.h:1622: error: previous declaration of 'ID3DXPRTBuffer' was here c:/msys/1.0/local/include/d3dx9mesh.h:1691: error: redefinition of typedef 'ID3DXPRTCompBuffer' c:/msys/1.0/local/include/d3dx9mesh.h:1683: error: previous declaration of 'ID3DXPRTCompBuffer' was here c:/msys/1.0/local/include/d3dx9mesh.h:1762: error: redefinition of typedef 'ID3DXTextureGutterHelper' c:/msys/1.0/local/include/d3dx9mesh.h:1621: error: previous declaration of 'ID3DXTextureGutterHelper' was here c:/msys/1.0/local/include/d3dx9mesh.h:1890: error: redefinition of typedef 'ID3DXPRTEngine' c:/msys/1.0/local/include/d3dx9mesh.h:1865: error: previous declaration of 'ID3DXPRTEngine' was here In file included from
[E-devel] EFL on Windows XP and Evil compile error
I'm developing a VST, and I think will be great use EFL for the GUI. Just svn and following the instructions on the web http://wiki.enlightenment.org/index.php/EFL_Windows_XP, when compiling evil I get this error: -- make output -- /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DEFL_EVIL_BUILD -D_WIN32_WINNT=0x0500 -I/usr/local/include -g -O2 -MT libevil_la-evil_pwd.lo -MD -MP -MF .deps/libevil_la-evil_pwd.Tpo -c -o libevil_la-evil_pwd.lo `test -f 'evil_pwd.c' || echo './'`evil_pwd.c gcc -DHAVE_CONFIG_H -I. -I../.. -DEFL_EVIL_BUILD -D_WIN32_WINNT=0x0500 -I/usr/local/include -g -O2 -MT libevil_la-evil_pwd.lo -MD -MP -MF .deps/libevil_la-evil_pwd.Tpo -c evil_pwd.c -DDLL_EXPORT -DPIC -o .libs/libevil_la-evil_pwd.o In file included from c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:38, from evil_pwd.c:8: c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sspi.h:60: error: syntax error before SECURITY_STRING In file included from c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:39, from evil_pwd.c:8: c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:123: error: syntax error before SECURITY_STRING c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:125: error: syntax error before LogonServer c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:127: error: syntax error before '}' token c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:212: error: syntax error before SECPKG_NAME_TYPE c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225: error: syntax error before SECPKG_NAME_TYPE c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:342: error: syntax error before PSecurityUserData make[4]: *** [libevil_la-evil_pwd.lo] Error 1 - I solved it modifying src/lib/evil_pwd.c adding a #include ntsecapi.h: - src/lib/evil_pwd.c --- #ifdef HAVE_CONFIG_H # include config.h #endif /* HAVE_CONFIG_H */ #include windows.h = #include ntsecapi.h #include security.h #include Evil.h #include pwd.h #ifndef __CEGCC__ static struct passwd pw; - I hope it will help others. -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Patch solve two bugs in key bindings desk change
This is a really little contribution of Kanzeon to your great work. Index: e_actions.c === RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_actions.c,v retrieving revision 1.4 diff -u -r1.4 e_actions.c --- e_actions.c 29 Apr 2005 19:47:30 - 1.4 +++ e_actions.c 30 Apr 2005 14:32:59 - @@ -195,7 +195,7 @@ dx = zone-desk_x_current + dx; if (dx 0) dx = 0; else if (dx = zone-desk_x_count) dx = zone-desk_x_count - 1; -dy = zone-desk_x_current + dy; +dy = zone-desk_y_current + dy; if (dy 0) dy = 0; else if (dy = zone-desk_y_count) dy = zone-desk_y_count - 1; desk = e_desk_at_xy_get(zone, dx, dy); Index: e_bindings.c === RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_bindings.c,v retrieving revision 1.6 diff -u -r1.6 e_bindings.c --- e_bindings.c29 Apr 2005 19:42:18 - 1.6 +++ e_bindings.c30 Apr 2005 14:32:21 - @@ -72,7 +72,7 @@ desk_flip_by, 0 -1); e_bindings_key_add(E_BINDING_CONTEXT_ANY, Down, E_BINDING_MODIFIER_SHIFT | E_BINDING_MODIFIER_ALT, 0, - desk_flip_by, 0 -1); + desk_flip_by, 0 1); e_bindings_key_add(E_BINDING_CONTEXT_ANY, Up, E_BINDING_MODIFIER_CTRL | E_BINDING_MODIFIER_ALT, 0, window_raise, ); --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel