Appendix D  


The X application resource file helps describe the look of the application. Much of the program's appearance is described within the software, but some options are left to the user. For plotgraph, these are defined in the file:

$UNCERT/app-defaults/Graph

The X resource file describes such things as the size of the application window, the color of different portions of the application, and the fonts used for the text in the application. For more information on these resources refer to the OSF Programmer's Guide (1991) and Programmer's Reference (1991).

Graph Resource File:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Graph:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
Graph*title:    Graph     Version 1.0
Graph.geometry: 1240x882+10+87
!
Graph*background:                    wheat3
Graph*XmTextField.background:        wheat2
Graph*XmTextField.highlightColor:    red
Graph*XmToggleButton.selectColor:    wheat2
Graph*XmToggleButton.highlightColor: red
Graph*XmText.background:             wheat2
Graph*XmList.background:             wheat2
Graph*XmPushButton.highlightColor:   red
!
Graph*text_out*background:           wheat3
!
Graph*text_w*fontList:          -*-courier-medium-r-*--12-*
!
Graph*XmList.fontList:                -*-times-medium-r-*--14-*
Graph*XmText.fontList:                -*-times-medium-r-*--14-*
Graph*XmTextField.fontList:           -*-times-medium-r-*--14-*
Graph*XmScale.fontList:               -*-times-bold-r-*--14-*
Graph*XmLabel.fontList:               -*-times-bold-r-*--14-*
Graph*XmLabelGadget.fontList:         -*-times-bold-r-*--14-*
Graph*XmCascadeButton.fontList:       -*-times-bold-r-*--14-*
Graph*XmCascadeButtonGadget.fontList: -*-times-bold-r-*--14-*
Graph*XmPushButton.fontList:          -*-times-bold-r-*--14-*
Graph*XmPushButtonGadget.fontList:    -*-times-bold-r-*--14-*
Graph*XmToggleButton.fontList:        -*-times-bold-r-*--14-*
Graph*XmToggleButtonGadget.fontList:  -*-times-medium-r-*--14-*
!
Graph*topShadowColor: white
Graph*borderColor:    wheat3
!
Graph*foreground: black
!
Graph*Help*foreground:                 red
!
Graph*View Port*foreground: black
Graph*View Port*background: black

[TOP]


Table of Contents
Previous Appendix
Beginning of this Appendix
Next Appendix