Changing the openGL colors in the Axis GUI

More
14 years 6 months ago #19158 by toplakd
To bad.

Because I think it will be a success, even if it was for sale.

Dejan

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

More
14 years 6 months ago #19159 by loboy
I really don't know the process of releasing it and I have only tested it on my hardware. Right now I just do not have the time to figure out how to package it correctly for release. I would love to give it back to the community. I also ripped out code I did not need, and wrote some new stuff. I would probably have to fork it.

If you could give me some suggestions as to how to proceed, I will definitely look in to it.

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

More
14 years 6 months ago #19160 by JR1050
Thanks for the response.I would like to change the backround color of the lower box with the g code program in it from white to black and the text to either bright blue or green.I would also like to change the bluish geay back round of the basic gui to blue.

Eventually I would like to put the plot,dro,mdi,manual and tool offsets in their own tab,similar to the way the dro and plot is set up now.It would be similar to the way Fanuc uses soft keys.I have downloaded a couple TKinter tutorials and how to's.The axis file is just plain hard to follow.Thanks for your help.


JR

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

  • KPA
  • New Member
  • New Member
More
14 years 6 months ago #19162 by KPA
toplakd wrote:

To bad.

Because I think it will be a success, even if it was for sale.

Dejan


I agree, you've done a great job modernizing Axis, sort of breathed some life back into it. Not sure of the submission process, I think you need to ask one of the Board of Director types here, they should be able to answer that question.

Thanks

Jay

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

More
14 years 6 months ago - 14 years 6 months ago #19222 by loboy
JR,

Yes, I agree that the axis.tcl file is hard to follow. I started out my revamp just like you, with absolutely zero knowledge of TCL. I spent the majority of my time commenting out the code and cleaning it up, making it easier to manipulate.


Most of the elements do not have attributes and use the default values assigned by TCL, and have to be added in order to change their appearance. My example elements may not be named exactly the same, but it should give you an idea.

Here is an example with attributes:
Code:
frame .gcodepanel.readout -borderwidth 0 -highlightthickness 1 -highlightcolor "#000000" -highlightbackground "#000000"

Using the search function in gedit is very helpful in determining how all the elements are linked together.

Here is an example of a restyled button:
Code:
Button .controls.toolbar.estop -activebackground "#ff0000" -background "#ff0000" -helptext [_ "Toggle Emergency Stop [F1]"] -borderwidth 5 -font "Helvetica 12" -height 2 -width 6 -highlightthickness 1 -highlightcolor "#000000" -highlightbackground "#000000" -takefocus 0 -padx 5 -pady 5

Remember, my element names will not be the same as the original axis.tcl code.

For some reason the forum is not allowing backslashing in the code sections. Each attribute line break must end with a backslash.
Last edit: 14 years 6 months ago by loboy.

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

More
14 years 6 months ago #19223 by loboy
Oh, and be sure to backup your original.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum