X Windows Resources



next up previous contents
Next: Little Tennessee River Up: No Title Previous: User Defaults

X Windows Resources

 

X Window resource resolution occurs as a tiered process where each higher level of the tier can override the lower levels. Following is the order of resource resolution, with the top of the tier being hard-coded values:

  1. fallback resources
  2. resource file(s)
  3. command line values
  4. hard-coded values

LUCAS provides a set of fallback resources, a resource file (LUCAS.rf), and hard-coded (unmodifiable) resource values. The fallback resources can be overridden by resource values located in resource files and on the command line, but this is not recommended as it may alter the user interface in such a manner as to make it unusable. A list of the fallback resources is located in LUCAS.c. The LUCAS.rf resource file can be customized by the user to create the required look-and-feel of the user interface. A list of the resources in the resource file and the interfaces that they effect is provided below.

Resources for all LUCAS Interfaces

LUCAS*IconName: LUCAS
LUCAS*background: midnightblue
LUCAS*foreground: wheat
LUCAS*TroughColor: lightslategrey
LUCAS*highlightColor: green
LUCAS*borderColor: red
LUCAS*bottomShadowColor: orange
LUCAS*topShadowColor: darkorange2

Resources for the Setup Menu Interface

LUCAS*topLevelShell.width:  900
LUCAS*topLevelShell.height: 750
LUCAS*topLevelShell.x:      150
LUCAS*topLevelShell.y:       25
LUCAS*topLevelShell*FontList:    
	-adobe-helvetica-bold-r-*-*-24-*-*-*-*-*-*-*
Resources for the Analysis Status Interface

LUCAS*topLevelShell2.x:     150
LUCAS*topLevelShell2.y:     225
LUCAS*topLevelShell2*FontList:   
	-adobe-helvetica-bold-r-*-*-34-*-*-*-*-*-*-*
LUCAS*watershedstatusL.fontList: 
	-adobe-helvetica-bold-r-*-*-34-*-*-*-*-*-*-*
LUCAS*scenariostatusL.fontList:  
	-adobe-helvetica-bold-r-*-*-34-*-*-*-*-*-*-*
LUCAS*currepstatusL.fontList:   
	-adobe-helvetica-bold-r-*-*-34-*-*-*-*-*-*-*
LUCAS*basemapstatusL.fontList:   
	-adobe-helvetica-bold-r-*-*-34-*-*-*-*-*-*-*
LUCAS*curmapstatusL.fontList:    
	-adobe-helvetica-bold-r-*-*-34-*-*-*-*-*-*-*

Resources for the Graphs Selection Interface

LUCAS*topLevelShell5.x:      45
LUCAS*topLevelShell5.y:     345
LUCAS*topLevelShell5*FontList:   
	-adobe-helvetica-bold-r-*-*-24-*-*-*-*-*-*-*



Brett Hazen (hazen@cs.utk.edu)
Wed Jan 11 12:40:20 EST 1995