NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: Display background colour

Hi Ugo,
 
We left a few things unimplemented for a while, just because we are
busy, and control over background color is one of them.  I have just
added the following methods to DisplayRenderer:
 
  public void setBackgroundColor(float r, float g, float b);
 
  public void setCursorColor(float r, float g, float b);
 
  public void setBoxColor(float r, float g, float b);
 
  public void setBoxOn(boolean on);
 
visad/examples/DisplayTest cases 53 and 54 test these capabilities
in Java2D and Java3D.  Note also that Dave Glowacki has reorganized
DisplayTest, so that each test case is now in a separate source file
(named TestNN.java for case NN).  This should make it easier to copy
a DisplayTest case to start a new application.
 
Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
whibbard@xxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html
 

  • 1999 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: