![]() |
Position information of object on graph |
Post Reply
|
| Author | |
iceman
Major Contributor
Joined: 19.Jun.2011 Points: 32 |
Post Options
Thanks(0)
Quote Reply
Topic: Position information of object on graphPosted: 27.Jun.2013 at 11:30 |
|
I want to build a very simple user interface language with
buttons,labels,textfield. The generated code is a xml
file for example:
<screencomponents> <textfield y="100" x="50" width="924" textsize="50" > <part type="text">Please put on the SPO2 sensor as shown in the video.</part> </textfield> <video y="280" x="192" width="640" height="480"> <path>SPO2Instructions.flv</path> </video> <button y="10" x="28" width="80" textsize="14" label="SKIP" icon="none" height="30" /> </screencomponents> How can i get position information of the objects from the graph when I write the generator? Can you give a code sample for the above xml schema? |
|
![]() |
|
stevek
MetaCase
Joined: 11.Mar.2008 Points: 643 |
Post Options
Thanks(0)
Quote Reply
Posted: 27.Jun.2013 at 12:36 |
|
Please see the MERL Representation commands like x, y, width, height, left, top in the manual.
|
|
![]() |
|
Post Reply
|
|
| Tweet |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |