NEWS
LinuxCNC 2.5.4 Release
There are no translations available.

LinuxCNC 2.5.4 Update Released (changelog).
 
LinuxCNC 2.5.3 Release
There are no translations available.

LinuxCNC 2.5.3 Update Released (changelog).
 
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
Home Forum Configuring LinuxCNC GUI's Changing the openGL colors in the Axis GUI

Welcome, Guest
Username: Password: Remember me

TOPIC: Changing the openGL colors in the Axis GUI

Re:Changing the openGL colors in the Axis GUI 06 Mar 2012 09:39 #18430

  • loboy
  • loboy's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
  • Karma: 5
Last Edit: 06 Mar 2012 09:40 by loboy.
The administrator has disabled public write access.

how did you change the backround colors 11 Apr 2012 20:21 #19134

  • JR1050
  • JR1050's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 190
  • Thank you received: 5
  • Karma: 3
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
The administrator has disabled public write access.

Re:how did you change the backround colors 12 Apr 2012 09:21 #19149

  • loboy
  • loboy's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
  • Karma: 5
Hey JR,

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

into the file:
~user/.Xresources

then you have to merge it using:
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:
/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.
The administrator has disabled public write access.

Re:how did you change the backround colors 12 Apr 2012 09:42 #19150

  • loboy
  • loboy's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
  • Karma: 5
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.
The administrator has disabled public write access.

Re:how did you change the backround colors 12 Apr 2012 12:10 #19156

  • toplakd
  • toplakd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hi.

Is there ETA on relase date?

Thank you, Dejan
The administrator has disabled public write access.

Re:how did you change the backround colors 12 Apr 2012 12:41 #19157

  • loboy
  • loboy's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
  • Karma: 5
I have no plans for a release.
The administrator has disabled public write access.
Time to create page: 3.065 seconds
Powered by Kunena Forum
© 2014 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.