Remove bounds for everything except the geometry element
This commit is contained in:
@ -3,117 +3,51 @@
|
|||||||
<bounds x="0" y="10.000000" width="426.0000" height="296.5853"/>
|
<bounds x="0" y="10.000000" width="426.0000" height="296.5853"/>
|
||||||
<section angle="0">
|
<section angle="0">
|
||||||
<row orientation="1">
|
<row orientation="1">
|
||||||
<key keycode="24" name="AD01" oref="outline2">
|
<key keycode="24" name="AD01" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="25" name="AD02" oref="outline2" />
|
||||||
</key>
|
<key keycode="26" name="AD03" oref="outline2" />
|
||||||
<key keycode="25" name="AD02" oref="outline2">
|
<key keycode="27" name="AD04" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="28" name="AD05" oref="outline2" />
|
||||||
</key>
|
<key keycode="29" name="AD06" oref="outline2" />
|
||||||
<key keycode="26" name="AD03" oref="outline2">
|
<key keycode="30" name="AD07" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="31" name="AD08" oref="outline2" />
|
||||||
</key>
|
<key keycode="32" name="AD09" oref="outline2" />
|
||||||
<key keycode="27" name="AD04" oref="outline2">
|
<key keycode="33" name="AD10" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="28" name="AD05" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="29" name="AD06" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="30" name="AD07" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="31" name="AD08" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="32" name="AD09" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="33" name="AD10" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
</row>
|
</row>
|
||||||
</section>
|
</section>
|
||||||
<section angle="0">
|
<section angle="0">
|
||||||
<row orientation="1">
|
<row orientation="1">
|
||||||
<key keycode="38" name="AC01" oref="outline2">
|
<key keycode="38" name="AC01" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="39" name="AC02" oref="outline2" />
|
||||||
</key>
|
<key keycode="40" name="AC03" oref="outline2" />
|
||||||
<key keycode="39" name="AC02" oref="outline2">
|
<key keycode="41" name="AC04" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="42" name="AC05" oref="outline2" />
|
||||||
</key>
|
<key keycode="43" name="AC06" oref="outline2" />
|
||||||
<key keycode="40" name="AC03" oref="outline2">
|
<key keycode="44" name="AC07" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="45" name="AC08" oref="outline2" />
|
||||||
</key>
|
<key keycode="46" name="AC09" oref="outline2" />
|
||||||
<key keycode="41" name="AC04" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="42" name="AC05" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="43" name="AC06" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="44" name="AC07" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="45" name="AC08" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="46" name="AC09" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
</row>
|
</row>
|
||||||
</section>
|
</section>
|
||||||
<section angle="0">
|
<section angle="0">
|
||||||
<row orientation="1">
|
<row orientation="1">
|
||||||
<key keycode="50" name="LFSH" oref="altline">
|
<key keycode="50" name="LFSH" oref="altline" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="52" name="AB01" oref="outline2" />
|
||||||
</key>
|
<key keycode="53" name="AB02" oref="outline2" />
|
||||||
<key keycode="52" name="AB01" oref="outline2">
|
<key keycode="54" name="AB03" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="55" name="AB04" oref="outline2" />
|
||||||
</key>
|
<key keycode="56" name="AB05" oref="outline2" />
|
||||||
<key keycode="53" name="AB02" oref="outline2">
|
<key keycode="57" name="AB06" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="58" name="AB07" oref="outline2" />
|
||||||
</key>
|
<key keycode="22" name="BKSP" oref="altline" />
|
||||||
<key keycode="54" name="AB03" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="55" name="AB04" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="56" name="AB05" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="57" name="AB06" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="58" name="AB07" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="22" name="BKSP" oref="altline">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
</row>
|
</row>
|
||||||
</section>
|
</section>
|
||||||
<section angle="0">
|
<section angle="0">
|
||||||
<row orientation="1">
|
<row orientation="1">
|
||||||
<key keycode="0" name="ABC123" oref="altline">
|
<key keycode="0" name="ABC123" oref="altline" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="150" name="I150" oref="altline" />
|
||||||
</key>
|
<key keycode="65" name="SPCE" oref="spaceline" />
|
||||||
<key keycode="150" name="I150" oref="altline">
|
<key keycode="60" name="AB09" oref="outline2" />
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
<key keycode="36" name="RTRN" oref="outline7" />
|
||||||
</key>
|
|
||||||
<key keycode="65" name="SPCE" oref="spaceline">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="60" name="AB09" oref="outline2">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
<key keycode="36" name="RTRN" oref="outline7">
|
|
||||||
<bounds x="0" y="0" width="0" height="0"/>
|
|
||||||
</key>
|
|
||||||
</row>
|
</row>
|
||||||
</section>
|
</section>
|
||||||
<outline id="outline2" corner-radius="1.000000">
|
<outline id="outline2" corner-radius="1.000000">
|
||||||
|
|||||||
@ -362,8 +362,6 @@ geometry_start_element_callback (GMarkupParseContext *pcontext,
|
|||||||
|
|
||||||
if (g_strcmp0 (data->element_stack->data, "geometry") == 0)
|
if (g_strcmp0 (data->element_stack->data, "geometry") == 0)
|
||||||
eek_element_set_bounds (EEK_ELEMENT(data->keyboard), &bounds);
|
eek_element_set_bounds (EEK_ELEMENT(data->keyboard), &bounds);
|
||||||
else if (g_strcmp0 (data->element_stack->data, "section") == 0)
|
|
||||||
eek_element_set_bounds (EEK_ELEMENT(data->section), &bounds);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user