Table A-1 through Table A-17 list the Sun WorkShop color and font resources that you can change in the WORKSHOP resource file.
The resources listed in Table A-1 control the colors used to highlight functions, breakpoints, query matches, and build errors in source code displayed in the text editor windows (for an example of highlighting, see Figure 5-2).
Table A-1 Highlight Colors in Sun WorkShop Editors
Resource Name |
Description |
Default Value |
|
---|---|---|---|
WORKSHOP.curPCColor: |
Current function |
#8BD98B |
|
WORKSHOP.visitPCColor: |
Visited function |
#EDC9FF |
|
WORKSHOP.breakptColor: |
Breakpoint |
#FF9696 |
|
WORKSHOP.disabledBreakptColor |
Disabled breakpoint |
#BDBDBD |
|
WORKSHOP.matchColor: |
Pattern or symbol match |
#99CFFF |
|
WORKSHOP.errorColor: |
Current build error |
#FFCC40 |
The resources listed in Table A-2 control the colors used in the graph types in the Data Graph window of the debugger (see Debugging a Program With dbx).
Table A-2 Data Graph Window Colors
Resource Name |
Description |
Default Value |
---|---|---|
WORKSHOP.dgLineColor: |
Color for Line graph type |
#OOOOFF |
WORKSHOP.dgFillColor: |
Color for Fill graph type |
#FDF5E6 |
WORKSHOP.dgMeshColor: |
Color for Mesh graph type |
#OOOOFF |
The resources listed in Table A-3 control the colors of the nodes, the lines (or arrows) connecting the nodes, and background color of the graph pane in the Call Graph window (see Figure 3-5) and the Class Graph window (see Figure 3-6).
Table A-3 Resources for Class Graph and Call Graph Windows
Resource Name |
Description |
Default Value |
---|---|---|
WORKSHOP*labelNodeBackground: |
Background color of each node |
#EFEFEF |
WORKSHOP*viewBackground: |
Graph pane background (Default uses X's Old Lace) |
#FDF5E6 |
Node properties when unhighlighted |
||
WORKSHOP*arcForeground: |
Arrow between nodes |
#000000 |
WORKSHOP*nodeForegroundColor: |
Node border |
#000000 |
WORKSHOP*labelNodeForeground: |
Node text |
#000000 |
Node properties when highlighted |
||
WORKSHOP*arcHighlightColor: |
Arrow between nodes |
#FF0000 |
WORKSHOP*nodeHighlightColor: |
Node border |
#FF0000 |
Table A-4 lists the color resource settings for the standard Help window and the smaller Quick Help window.
Table A-4 Colors for General Help Viewer
Resource Name |
Description |
Default Value |
---|---|---|
Colors for Help viewer |
||
WORKSHOP*XmDialogShell.DtHelpDialog*DisplayArea.background: |
Background color |
White |
WORKSHOP*XmDialogShell*XmDialogShell.DtHelpDialog*DisplayArea.background |
Background color |
White |
WORKSHOP*XmDialogShell.DtHelpDialog*DisplayArea.foreground: |
Foreground color |
Black |
WORKSHOP*XmDialogShell*XmDialogShell.DtHelpDialog*DisplayArea.foreground |
Foreground color |
: Black |
Colors for Quick Help viewer |
||
WORKSHOP*XmDialogShell.DtHelpQuickDialog*DisplayArea.background: |
Background color |
White |
WORKSHOP*XmDialogShell*XmDialogShell.DtHelpQuickDialog*DisplayArea.background |
Background color |
White |
WORKSHOP*XmDialogShell.DtHelpQuickDialog*DisplayArea.foreground: |
Foreground color |
Black |
WORKSHOP*XmDialogShell*XmDialogShell.DtHelpQuickDialog*DisplayArea.foreground |
Foreground color |
Black |
The resource listed in Table A-5 enables you to turn off audible warning beeps. The possible values are -XmBell and -XmNONE.
Table A-5 Resource for Audible WarningsResource Name | Description | Default Value |
---|---|---|
WORKSHOP*audibleWarning: | Turns audible beeps on and off | XmBell |
The resource listed in Table A-6 enables you to set the delay in milliseconds before debugger and text editor buttons are disabled when dbx starts. This disabling prevents button flashes when you are stepping through code. If you are running Sun WorkShop on a slow system or over an ISDN line, you may want to increase this delay.
Table A-6 Resource for Debugger Button Disable DelayResource Name | Description | Default Value |
---|---|---|
WORKSHOP.ButtonDisableDelay | Delays disabling of debugger and text editor buttons when dbx starts | 250 |
The resource listed in Table A-7 sets the number of lines of output to save in the Dbx Commands window and the Program Input/Output window.
Table A-7 Number of Output Lines Saved in Dbx Commands and Program I/O WindowsResource | Description | Default Value |
---|---|---|
WORKSHOP*dtTerm.saveLines | Number of output lines saved | 1000 |
The resource listed in Table A-8 enables you to change the default path for the browser used to display the Sun WorkShop Web Updates page (see "Web Updates").
Table A-8 Web Updates BrowserResource | Description | Default Value |
---|---|---|
WORKSHOP.browser | Path to browser used to display Web Updates | sdtwebclient |