Changing the openGL colors in the Axis GUI

More
14 years 7 months ago - 14 years 7 months ago #18430 by loboy
Last edit: 14 years 7 months ago by loboy.

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

More
14 years 6 months ago #19134 by JR1050
I am floored with the changes you made to the Axis GUI,great job!!!!I would really like to change the backround colors and text colors myself.Can you shed some light on how you did it and how.Ive spent some time looking at the axis and and tcl files and Im kinda lost.I do ok with C,but python is new.Thanks

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

More
14 years 6 months ago #19149 by loboy
Hey JR,

First, to change the live plotter preview colors in Axis you have to copy the contents of the file:
Code:
/usr/share/doc/emc2/axis_light_background
(this is where the color values are stored)

into the file:
Code:
~user/.Xresources

then you have to merge it using:
Code:
xrdb -merge .Xresources

You may have to create the .Xresources file if it is not there.


Changing the text colors for the rest of the application is a little more in depth. If you have never programmed in TCL, I would suggest looking at effbot.org/tkinterbook/ . I used it a lot.

The majority of the interface code is found in:
Code:
/usr/share/axis/tcl/axis.tcl

Read over that code. I can give you more specifics where to look if you tell me exactly what you want to change.

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

More
14 years 6 months ago #19150 by loboy
I should have mentioned that what I suggested above is specifically for changing the Live Plotter Preview colors. If you wish to change the background color for the entire application, this is slightly different. TCL is very much object oriented. There is no C, only Python and TCL.

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

More
14 years 6 months ago #19156 by toplakd
Hi.

Is there ETA on relase date?

Thank you, Dejan

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

More
14 years 6 months ago #19157 by loboy
I have no plans for a release.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum