Changeset 12987 in josm for trunk/src/org/openstreetmap/josm/gui/MapStatus.java
- Timestamp:
- 2017-10-12T16:02:15+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r12881 r12987 71 71 import org.openstreetmap.josm.data.preferences.AbstractProperty; 72 72 import org.openstreetmap.josm.data.preferences.BooleanProperty; 73 import org.openstreetmap.josm.data.preferences.ColorProperty;74 73 import org.openstreetmap.josm.data.preferences.DoubleProperty; 74 import org.openstreetmap.josm.data.preferences.NamedColorProperty; 75 75 import org.openstreetmap.josm.gui.help.Helpful; 76 76 import org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor; … … 80 80 import org.openstreetmap.josm.gui.widgets.JosmTextField; 81 81 import org.openstreetmap.josm.spi.preferences.Config; 82 import org.openstreetmap.josm.tools.ColorHelper; 82 83 import org.openstreetmap.josm.tools.Destroyable; 83 84 import org.openstreetmap.josm.tools.GBC; … … 110 111 * @since 6789 111 112 */ 112 public static final ColorProperty PROP_BACKGROUND_COLOR = newColorProperty(113 marktr("Status bar background"), "#b8cfe5");113 public static final NamedColorProperty PROP_BACKGROUND_COLOR = new NamedColorProperty( 114 marktr("Status bar background"), ColorHelper.html2color("#b8cfe5")); 114 115 115 116 /** … … 117 118 * @since 6789 118 119 */ 119 public static final ColorProperty PROP_ACTIVE_BACKGROUND_COLOR = newColorProperty(120 marktr("Status bar background: active"), "#aaff5e");120 public static final NamedColorProperty PROP_ACTIVE_BACKGROUND_COLOR = new NamedColorProperty( 121 marktr("Status bar background: active"), ColorHelper.html2color("#aaff5e")); 121 122 122 123 /** … … 124 125 * @since 6789 125 126 */ 126 public static final ColorProperty PROP_FOREGROUND_COLOR = newColorProperty(127 public static final NamedColorProperty PROP_FOREGROUND_COLOR = new NamedColorProperty( 127 128 marktr("Status bar foreground"), Color.black); 128 129 … … 131 132 * @since 6789 132 133 */ 133 public static final ColorProperty PROP_ACTIVE_FOREGROUND_COLOR = newColorProperty(134 public static final NamedColorProperty PROP_ACTIVE_FOREGROUND_COLOR = new NamedColorProperty( 134 135 marktr("Status bar foreground: active"), Color.black); 135 136
Note:
See TracChangeset
for help on using the changeset viewer.