New GUI for Emc available for testing...

More
16 years 2 months ago #3622 by ynneb
Ok I have installed mocca and I have seen the screen you have made. I think I am making progress.
Now to make my own screen. Am I right in understanding that this is not a WYSIWYG editor, and we must edit the mocca.xml file, or am I missing something?
I did try and insert <string name ="image" value="mybackgrond.jpg"/> and I had the image in the same folder as the mocca.xml folder but I see no change.
I really want to understand all this, and will produce some "how to" videos for others once I understand.
Any help would be appreciated.
Benny

PS I know it must be frustrating holding hands with people like me, but once I can undestand I will endeavour to make it easier for others to also understand.

Please Log in to join the conversation.

More
16 years 2 months ago #3627 by ynneb
This is all I see. I do not see the background image as included with the files.
I have put all the files in the same folder. Is this right?
I'm really hoping for some sort of response because so far I have made 7 posts and NOTHING has been responded to. :(

Please Log in to join the conversation.

More
16 years 2 months ago #3628 by gtom
Wich Version are you using ???
Have you installed a binary or the package or from source ?

the Name of the skins folder reflects the screen-Size it was designed for:
hh_1280x1024 is for a 1280 x 1024 Pixel Screen.

Your screen resolution is 1024 x786 ?

So try to use the default screen so you can see whole screen.

Next open in the default skin folder the file mocca.xml

<?xml version="1.0"?>
<CONFIG>
<Component>
<component name="MainForm" class="TMainForm">
<properties>
<integer name="Height" value="724"/>
<integer name="Width" value="961"/>
<ident name="Color" value="clSilver"/>
</properties>
<children>
<component name="BgImage" class="TImage">
<properties>
<integer name="Left" value="00"/>
<integer name="Height" value="600"/>
<integer name="Top" value="0"/>
<integer name="Width" value="800"/>
<string name="Picture" value="background.jpg"/>
</properties>

The property "Picture" will load the background- image "background.jpg"
With left,top,width & height you can move the picture on the mocca- screen...



regards, Thomas

Please Log in to join the conversation.

More
16 years 2 months ago #3630 by ynneb
Hi Tom I am using EMC 2.4.3 HH8.04
I installed Mocca from "mocca24_0.0.3-1_i386.deb"

I have added the code you posted as shown. I still do not see a background.
See the picture.

Please Log in to join the conversation.

More
16 years 2 months ago #3632 by gtom
Please try to start mocca from the shell, mocca tells you a lot of stuff when starting,....,
Thomas

Please Log in to join the conversation.

More
16 years 2 months ago #3638 by ynneb
Thanks Tom, I dont know how to run from shell. Linux is not native to me.
I have started to work on a design www.linuxcnc.org/component/option,com_ku...7/lang,english/#3637

Please Log in to join the conversation.

More
13 years 10 months ago #27138 by cmorley

ynneb wrote: Here is a screen I did years ago. More than likely not many peoples taste, but it demonstrates having a single BMP/JPG and having transparent buttons and DROs over it. I have found this to be the easiest method for screen design.
I wouldlove to start making screen for EMC using Mocca.

I did install Mocca but now EMC just creashes each time.


Anyone know if this screen is copyrighted?

Please Log in to join the conversation.

More
13 years 10 months ago #27149 by tjamscad

cmorley wrote:

ynneb wrote: Here is a screen I did years ago. More than likely not many peoples taste, but it demonstrates having a single BMP/JPG and having transparent buttons and DROs over it. I have found this to be the easiest method for screen design.
I wouldlove to start making screen for EMC using Mocca.

I did install Mocca but now EMC just creashes each time.


Anyone know if this screen is copyrighted?


I would say no since they are listed here www.machsupport.com/screens.php for download.

Please Log in to join the conversation.

More
13 years 10 months ago #27150 by tjamscad

Please Log in to join the conversation.

More
13 years 10 months ago #27151 by cncbasher
Benny did that particular one ( YNNEB)

Please Log in to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum