Root/Software/sie_cg/block_editor/framebuffer_line.die

1<!--File for SIE Code Generator. Custmos Blocks-->
2<CustomItem BlockName="FB Print Line">
3    <Polygon>
4        <Point x="-140" y="-30"/>
5        <Point x="-140" y="30"/>
6        <Point x="160" y="30"/>
7        <Point x="160" y="-10"/>
8        <Point x="160" y="10"/>
9        <Point x="120" y="10"/>
10        <Point x="160" y="10"/>
11        <Point x="160" y="30"/>
12        <Point x="120" y="30"/>
13        <Point x="120" y="10"/>
14        <Point x="60" y="10"/>
15        <Point x="20" y="10"/>
16        <Point x="60" y="10"/>
17        <Point x="60" y="30"/>
18        <Point x="20" y="30"/>
19        <Point x="20" y="10"/>
20        <Point x="0" y="10"/>
21        <Point x="-40" y="10"/>
22        <Point x="0" y="10"/>
23        <Point x="0" y="30"/>
24        <Point x="-40" y="30"/>
25        <Point x="-40" y="10"/>
26        <Point x="-60" y="10"/>
27        <Point x="-60" y="30"/>
28        <Point x="-80" y="30"/>
29        <Point x="-80" y="10"/>
30        <Point x="-60" y="10"/>
31        <Point x="-80" y="10"/>
32        <Point x="-140" y="10"/>
33        <Point x="-140" y="30"/>
34        <Point x="-140" y="-10"/>
35        <Point x="160" y="-10"/>
36        <Point x="160" y="-30"/>
37    </Polygon>
38    <TextItems>
39        <TextItem myStyleIO="0" posOffset-y="-20" editableItem="1" ID="9" text="1" posOffset-x="140"/>
40        <TextItem myStyleIO="0" posOffset-y="-20" editableItem="0" ID="8" text="Color idx" posOffset-x="90"/>
41        <TextItem myStyleIO="0" posOffset-y="-20" editableItem="1" ID="7" text="0" posOffset-x="40"/>
42        <TextItem myStyleIO="0" posOffset-y="-20" editableItem="0" ID="6" text="Y" posOffset-x="10"/>
43        <TextItem myStyleIO="0" posOffset-y="-20" editableItem="1" ID="5" text="0" posOffset-x="-20"/>
44        <TextItem myStyleIO="0" posOffset-y="-20" editableItem="0" ID="4" text="X" posOffset-x="-50"/>
45        <TextItem myStyleIO="0" posOffset-y="-20" editableItem="1" ID="3" text="1" posOffset-x="-70"/>
46        <TextItem myStyleIO="0" posOffset-y="-20" editableItem="0" ID="2" text="Center" posOffset-x="-110"/>
47        <TextItem myStyleIO="0" posOffset-y="-0" editableItem="1" ID="1" text="&lt;Insert Text to Show MAX 40>" posOffset-x="0"/>
48        <TextItem myStyleIO="0" posOffset-y="20" editableItem="0" ID="0" text="Frame Buffer Print Line" posOffset-x="0"/>
49    </TextItems><![CDATA[]]><![CDATA[
50
51]]><![CDATA[
52    if(value_3)
53    {
54        put_string_center (value_5,value_7,"value_1", value_9);
55    }
56    else
57    {
58        put_string (value_5,value_7,"value_1", value_9%5);
59    }
60]]><![CDATA[]]></CustomItem>
61

Archive Download this file

Branches:
master



interactive