Author Topic: Color of interface  (Read 5613 times)

finaty

  • New Member
  • *
  • Posts: 4
Color of interface
« on: June 03, 2019, 09:40:08 AM »
Hi FEAP_Admin,

How to change the background color from default black into white, for the output interface window of FEAP?

Thanks.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Color of interface
« Reply #1 on: June 03, 2019, 02:30:13 PM »
what do you mean by output interface window?

finaty

  • New Member
  • *
  • Posts: 4
Re: Color of interface
« Reply #2 on: June 04, 2019, 12:16:50 AM »
Thanks for reply.

I want to change the color of the output windows, please see the attached figure with black background.

How to change the black background into white background?

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Color of interface
« Reply #3 on: June 04, 2019, 06:10:46 AM »
You may be able to figure this out by looking at x11u.c in the ./unix directory. 

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Color of interface
« Reply #4 on: June 04, 2019, 06:17:26 AM »
In the previous reply, I assume you mean the screen color not a hard copy color.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Color of interface
« Reply #5 on: June 04, 2019, 07:57:24 AM »
Look in the folder unix at the file x11u.c.
There is a function
Code: [Select]
DIGWin *gdx11_create_digwin(xservername,window_width,window_height) which creates the plotting window.
You should be able to swap the background_pixel and foreground_pixel values after the queries that set them and get what you want.  Do that before the call to XCreateWindow( ).
« Last Edit: June 04, 2019, 12:50:46 PM by Prof. S. Govindjee »