Le mercredi 17 décembre 2008, Nils Meier a écrit :
> Hi Daniel
>
>
> (1) when creating a new icon for a report (same name + gif extension) if a
>
> > simply create it in the src section on same location as for the report
> > itself
> > it is not automatically built in the build section when computing the
> > source ;
> > if I dump it directltly inside the proper location in build after this it
> > is
> > seen displayed by the main app,
>
> GenJ will look for a .gif file in the same directory that the report
> class-file resides in (not where the source is).
> So make sure that your build compiles the report into the same directory as
> the image and you should be fine
Nils, for report itself it works when installing the icon according to the 
convention in build but the question was more about the way to integrate the 
icon from source towards build (ie if the icon is properly set in src/report 
apparently it will not be installed through the compilation process itself in 
build as the compiled class and its properties.
> > (2) when creating a new category where to store the icon same way as
> > above for
> > the app to see it and display it.
>
> the image for category FOO is going to be loaded from
>
>  CategoryFOO.gif
>
> again in the same directory as the report class.
I have done this Nils in HEAD/images/genj/report because this is where I found 
your icons for the other categories ! ; I will check again by installing 
directly in build and report accordingly ; the same question again regarding 
src or image installation and eventually build installation as above to make 
sure the process is coherent between source structure and buid structure.
> In both cases can I use other format than gif as it is proprietary and here
>
> > not animated (I do not think animation would work anyways !).
>
> currently we only check for gif - we could support more if that's really
> needed (yes, no animation though).
>
> Cheers
> Nils


-- 
Daniel Moyne (Nulix)---------------------------------------------------------
Distribution : Ubuntu 8.04 Hardy Heron    \\|||// Machine : x86_64
               kernel 2.6.24-19-generic   / --- \ ATI Radeon X300 Express
               KDE 3.5.10+4.1.0(test)    (' o-o ')
----------------------------------------oOO-(_)-OOo--------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

Répondre à