[Scilab-Dev] Issue with the palette in an Xcos toolbox based on the Xcos skeleton example

Peter C. th3flyboy at gmail.com
Wed Apr 4 01:35:16 CEST 2012


Thanks, those instructions fixed it, I greatly appreciate the help.


On 04/02/2012 03:13 AM, Clément DAVID wrote:
> Hi,
>
> Thanks for sharing your code. In your macros/buildmacros.sce file, you
> construct the TBX_MUT_STYLE block at line 6. You should remove this
> block and remove the related h5/gif/svg files to avoid this issue.
>
> For blocks icons, we need 2 files on Xcos :
>    svg file as the block foreground (take a look at [1])
>    gif/png file to display on the palette (this is an export see [2])
>
> The first time, the builder try to generate a representatives icons but
> providing our one SVG foreground and generate the export (through
> Xcos->File->Export) of your block is better.
>
> [1]:
> http://cgit.scilab.org/scilab/plain/scilab/modules/xcos/images/blocks/CSCOPXY.svg
> [2]:
> http://cgit.scilab.org/scilab/plain/scilab/modules/xcos/images/palettes/CSCOPXY.png
>
> --
> Clément<davidcl>  David
>
> Le 02/04/2012 05:15, Peter C. a écrit :
>> Hello, I'm working on an Aerospace toolbox as a Proof of concept for a
>> GSoC project. I'm currently having issues involving the palette and
>> icons for blocks. I'm currently having two issues, the first being that
>> the icon in the palette is wrong for the Reynolds number block, and the
>> second is that for some reason, the TBX_MUT_STYLE macro is also being
>> created as an icon/block in the palette. I was wondering if anyone could
>> help me figure out why these issues are occurring and how to fix them.
>>
>> A screen shot of the issue in the palette I'm having is here:
>> http://i.imgur.com/U7Ztp.png
>>
>> A picture of the block in the workspace is here:
>> http://i.imgur.com/I6tb9.png
>>
>> My code is hosted on Git at
>> https://bitbucket.org/th3flyboy/scilab-aerospace-toolbox
>>
>> Thanks,
>> Peter
>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> dev-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/
>




More information about the dev mailing list