Re: [E-devel] [e17] about the seg fault of the color config dialog

2009-01-26 Thread The Rasterman
On Sun, 25 Jan 2009 12:15:02 +0300 sda  said:

> > 
> > you do know.. color and font class config is going to be disabled for
> > e17...? worry about it for e18... (just too much to do there to make it
> > work well).
> > 
> hi guys,
> 
> sorry to bother, but may be it'd be better just to remove this from GUI
> Settings Panel? i mean not to disable, but allow only console management
> using 'enlightenment_remote' and declare some general warning that some
> options are 'experimental' one.
> 
> suppose it'd be not very pleasant if this functions gonna be buried
> until e18.

thats what i meant - just wouldn't compile the color and font config modules.
they they wont appear anywhere. code will be there - just not being compiled or
used until its fixed.

> thx. regards,
> sda
> 
> --
> 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
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.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

2009-01-26 Thread Vincent Torri


On Mon, 26 Jan 2009, Roberto Huelga wrote:

>> 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 ?
>
> 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.

right. Stupid headers, stupid OS.

I'll commit these changes (with some modifications) tomorrow.

In addition, I've made a tarball with the headers and import lib of that 
SDK. I'll put it in the wiki, so that people won't have to download that 
huge file

Vincent

--
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

2009-01-26 Thread Roberto Huelga
On Mon, Jan 26, 2009 at 9:25 PM, Vincent Torri  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


Re: [E-devel] Evas+winxp get errors on engine direct3d

2009-01-26 Thread Vincent Torri


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

--
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] swallowing a box with a picture inside it

2009-01-26 Thread Gustavo Sverzut Barbieri
2009/1/26 Oguz Yarimtepe :
> Hi,
>
> I was trying to set a box that will include some thumbs at my
> application but i couldn't find how to use swallowing with a box that
> will include some pics. Here is the EDC part:
>
> part {
>name: "picthumblist";
>clip_to: "left";
>repeat_events: 1;
>type: "SWALLOW";

You rather use "type: BOX" ;-)


> Ned here is the code:
>
>   Evas_Object *box;
>Evas_Object *img;
>box=evas_object_box_add(evas);
>evas_object_box_layout_set(box,
> evas_object_box_layout_homogeneous_max_size_horizontal, NULL, NULL);
>
>img=evas_object_image_filled_add(evas);
>evas_object_image_file_set(img, "/animage.png", NULL);
>evas_object_box_prepend(box, img);

almost fine, but if you want your object to be resized you must use
size_hints, see documentation at evas_object_box.c or
http://docs.enlightenment.org/api/evas/html/group__Evas__Object__Box.html#g9c9046e3d12eefca2d53992521e9bdd9
more specifically under "Child element's properties". In code:

evas_object_size_hints_align_set(img, -1.0, -1.0);
evas_object_box_prepend(box, img);


should be that.

Yes, we really lack some examples about box and table, which are quite
new. If you have some minutes, please add some examples at
http://trac.enlightenment.org/wiki/ we'd appreciate.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
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] [e17] about the seg fault of the color config dialog

2009-01-26 Thread sda
> 
> you do know.. color and font class config is going to be disabled for e17...?
> worry about it for e18... (just too much to do there to make it work well).
> 
hi guys,

sorry to bother, but may be it'd be better just to remove this from GUI
Settings Panel? i mean not to disable, but allow only console management
using 'enlightenment_remote' and declare some general warning that some
options are 'experimental' one.

suppose it'd be not very pleasant if this functions gonna be buried
until e18.

thx. regards,
sda

--
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

2009-01-26 Thread Roberto Huelga
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 

in evas_direct3d_object_image.h and evas_direct3d_shader_pack.cpp
add the #include 

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  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


[E-devel] swallowing a box with a picture inside it

2009-01-26 Thread Oguz Yarimtepe
Hi,

I was trying to set a box that will include some thumbs at my
application but i couldn't find how to use swallowing with a box that
will include some pics. Here is the EDC part:

part {
name: "picthumblist";
clip_to: "left";
repeat_events: 1;
type: "SWALLOW";


description
{
state: "default" 0.0;
color: 255 255 255 128;
visible: 1;
rel1
{
relative: 0 0;
offset: 40 40;
to: left;
}
rel2
{
relative: 0 1;
offset: 800 -70;
to: left;
}
}
}

Ned here is the code:

   Evas_Object *box;
Evas_Object *img;
box=evas_object_box_add(evas);
evas_object_box_layout_set(box,
evas_object_box_layout_homogeneous_max_size_horizontal, NULL, NULL);

img=evas_object_image_filled_add(evas);
evas_object_image_file_set(img, "/animage.png", NULL);
evas_object_box_prepend(box, img);
ecore_evas_object_associate(ee,box,0);
evas_object_name_set(box, "picthumblist");

const Evas_Object *swallow = NULL;
swallow = edje_object_part_object_get(edje, "place_for_box");
int w, h;

edje_object_size_min_get(swallow, &w, &h);
printf("%d %d\n", w, h);
edje_object_part_swallow(edje, "place_for_box", img);
evas_object_show(box);

The EDC part is as you can see is clipped_to another part and is being
transited, become shown when i click on an menu item at the app.

Will be happy if someone help.

-- 
Oğuz Yarımtepe
www.loopbacking.info

--
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] epsilon usage problem

2009-01-26 Thread Oguz Yarimtepe
Hi,

When i run this code (http://rafb.net/p/y5jDZO42.html) it is trying to
save the thumb under / instead of ~/.thumbnails. Is this a bug or am i
using in a wrong way?

-- 
Oğuz Yarımtepe
www.loopbacking.info

--
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