- Timestamp:
- 2013-02-09T14:12:25+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/display/DrawingPreference.java
r5631 r5703 73 73 directionHint.setToolTipText(tr("Draw direction hints for way segments.")); 74 74 directionHint.setSelected(Main.pref.getBoolean("draw.segment.direction", false)); 75 panel.add(directionHint, GBC.eop().insets(20,0,0,0));76 75 77 76 // only on the head of a way … … 79 78 headArrow.setSelected(Main.pref.getBoolean("draw.segment.head_only", false)); 80 79 headArrow.setEnabled(directionHint.isSelected()); 81 panel.add(headArrow, GBC.eop().insets(40, 0, 0, 0));82 80 83 81 // draw oneway arrows 84 82 onewayArrow.setToolTipText(tr("Draw arrows in the direction of oneways and other directed features.")); 85 83 onewayArrow.setSelected(Main.pref.getBoolean("draw.oneway", true)); 86 panel.add(onewayArrow, GBC.eop().insets(20,0,0,0));87 84 88 85 // segment order number 89 86 segmentOrderNumber.setToolTipText(tr("Draw the order numbers of all segments within their way.")); 90 87 segmentOrderNumber.setSelected(Main.pref.getBoolean("draw.segment.order_number", false)); 91 panel.add(segmentOrderNumber, GBC.eop().insets(20,0,0,0));92 88 93 89 // downloaded area 94 90 sourceBounds.setToolTipText(tr("Draw the boundaries of data loaded from the server.")); 95 91 sourceBounds.setSelected(Main.pref.getBoolean("draw.data.downloaded_area", true)); 96 panel.add(sourceBounds, GBC.eop().insets(20,0,0,0));97 92 98 93 // virtual nodes 99 94 virtualNodes.setToolTipText(tr("Draw virtual nodes in select mode for easy way modification.")); 100 95 virtualNodes.setSelected(Main.pref.getInteger("mappaint.node.virtual-size", 8) != 0); 101 panel.add(virtualNodes, GBC.eop().insets(20,0,0,0));102 96 103 97 // background layers in inactive color 104 98 inactive.setToolTipText(tr("Draw the inactive data layers in a different color.")); 105 99 inactive.setSelected(Main.pref.getBoolean("draw.data.inactive_color", true)); 106 panel.add(inactive, GBC.eop().insets(20,0,0,0));107 100 108 101 // antialiasing … … 120 113 drawHelperLine.setToolTipText(tr("Draw rubber-band helper line")); 121 114 drawHelperLine.setSelected(Main.pref.getBoolean("draw.helper-line", true)); 122 panel.add(drawHelperLine, GBC.eop().insets(20, 0, 0, 0));123 115 124 116 // outlineOnly … … 127 119 128 120 JLabel performanceLabel = new JLabel(tr("Options that affect drawing performance")); 121 122 panel.add(new JLabel(tr("Segment drawing options")), 123 GBC.eop().insets(5,10,0,0)); 124 panel.add(directionHint, GBC.eop().insets(20,0,0,0)); 125 panel.add(headArrow, GBC.eop().insets(40, 0, 0, 0)); 126 panel.add(onewayArrow, GBC.eop().insets(20,0,0,0)); 127 panel.add(segmentOrderNumber, GBC.eop().insets(20,0,0,0)); 128 129 panel.add(new JLabel(tr("Select and draw mode options")), 130 GBC.eop().insets(5,10,0,0)); 131 panel.add(virtualNodes, GBC.eop().insets(20,0,0,0)); 132 panel.add(drawHelperLine, GBC.eop().insets(20, 0, 0, 0)); 133 129 134 panel.add(performanceLabel, GBC.eop().insets(5,10,0,0)); 130 panel.add(useAntialiasing, GBC.eop().insets(20, 5,0,0));135 panel.add(useAntialiasing, GBC.eop().insets(20,0,0,0)); 131 136 panel.add(useWireframeAntialiasing, GBC.eop().insets(20, 0, 0, 0)); 132 137 panel.add(useHighlighting, GBC.eop().insets(20,0,0,0)); 133 panel.add(outlineOnly, GBC.eol().insets(20,0,0,5)); 134 138 panel.add(outlineOnly, GBC.eol().insets(20,0,0,0)); 139 140 panel.add(new JLabel(tr("Other options")), 141 GBC.eop().insets(5,10,0,0)); 142 panel.add(sourceBounds, GBC.eop().insets(20,0,0,0)); 143 panel.add(inactive, GBC.eop().insets(20,0,0,0)); 144 135 145 ExpertToggleAction.addVisibilitySwitcher(performanceLabel); 136 146 ExpertToggleAction.addVisibilitySwitcher(useAntialiasing);
Note:
See TracChangeset
for help on using the changeset viewer.