New GUI for Emc available for testing...

More
07 Aug 2010 12:28 - 07 Aug 2010 12:30 #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.
Last edit: 07 Aug 2010 12:30 by ynneb.

Please Log in or Create an account to join the conversation.

More
08 Aug 2010 05:49 - 08 Aug 2010 05:50 #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. :(
Attachments:
Last edit: 08 Aug 2010 05:50 by ynneb.

Please Log in or Create an account to join the conversation.

More
08 Aug 2010 06:30 #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 or Create an account to join the conversation.

More
08 Aug 2010 09:47 - 08 Aug 2010 09:48 #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.
Attachments:
Last edit: 08 Aug 2010 09:48 by ynneb.

Please Log in or Create an account to join the conversation.

More
08 Aug 2010 12:31 #3632 by gtom
Please try to start mocca from the shell, mocca tells you a lot of stuff when starting,....,
Thomas

Please Log in or Create an account to join the conversation.

More
09 Aug 2010 00:19 #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 or Create an account to join the conversation.

More
03 Dec 2012 18:54 #27138 by cmorley

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 or Create an account to join the conversation.

More
04 Dec 2012 02:02 #27149 by tjamscad

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 or Create an account to join the conversation.

More
04 Dec 2012 02:04 #27150 by tjamscad

Please Log in or Create an account to join the conversation.

More
04 Dec 2012 03:14 #27151 by cncbasher
Benny did that particular one ( YNNEB)

Please Log in or Create an account to join the conversation.

Time to create page: 0.193 seconds
Powered by Kunena Forum