[#2485] Add icons for component visibility
This commit is contained in:
parent
e2b69c4650
commit
6c750e68bd
@ -99,6 +99,8 @@ public class UITheme {
|
||||
Icon getCDOverrideIcon();
|
||||
Icon getCDOverrideSubcomponentIcon();
|
||||
|
||||
Icon getVisibilityHiddenIcon();
|
||||
|
||||
Border getBorder();
|
||||
Border getMarginBorder();
|
||||
Border getUnitSelectorBorder();
|
||||
@ -424,6 +426,11 @@ public class UITheme {
|
||||
return Icons.CD_OVERRIDE_SUBCOMPONENT_LIGHT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getVisibilityHiddenIcon() {
|
||||
return Icons.COMPONENT_HIDDEN_LIGHT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Border getBorder() {
|
||||
return new FlatBorder();
|
||||
@ -810,6 +817,11 @@ public class UITheme {
|
||||
return Icons.CD_OVERRIDE_SUBCOMPONENT_DARK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getVisibilityHiddenIcon() {
|
||||
return Icons.COMPONENT_HIDDEN_DARK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Border getBorder() {
|
||||
return new FlatBorder();
|
||||
@ -1196,6 +1208,11 @@ public class UITheme {
|
||||
return Icons.CD_OVERRIDE_SUBCOMPONENT_DARK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getVisibilityHiddenIcon() {
|
||||
return Icons.COMPONENT_HIDDEN_DARK;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Border getBorder() {
|
||||
return new FlatBorder();
|
||||
@ -1601,6 +1618,11 @@ public class UITheme {
|
||||
return getCurrentTheme().getCDOverrideSubcomponentIcon();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getVisibilityHiddenIcon() {
|
||||
return getCurrentTheme().getVisibilityHiddenIcon();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Border getBorder() {
|
||||
return getCurrentTheme().getBorder();
|
||||
|
@ -117,6 +117,10 @@ public class Icons {
|
||||
public static final Icon CD_OVERRIDE_SUBCOMPONENT_LIGHT = loadImageIcon("pix/icons/cd-override-subcomponent_light.png", "CD Override Subcomponent");
|
||||
public static final Icon CD_OVERRIDE_SUBCOMPONENT_DARK = loadImageIcon("pix/icons/cd-override-subcomponent_dark.png", "CD Override Subcomponent");
|
||||
|
||||
public static final Icon COMPONENT_HIDDEN = loadImageIcon("pix/icons/component-hidden.png", "Component Hidden");
|
||||
public static final Icon COMPONENT_HIDDEN_DARK = loadImageIcon("pix/icons/component-hidden_dark.png", "Component Hidden");
|
||||
public static final Icon COMPONENT_HIDDEN_LIGHT = loadImageIcon("pix/icons/component-hidden_light.png", "Component Hidden");
|
||||
|
||||
// MANUFACTURERS ICONS
|
||||
public static final Icon RASAERO = loadImageIcon("pix/icons/RASAero_16.png", "RASAero Icon");
|
||||
public static final Icon ROCKSIM = loadImageIcon("pix/icons/Rocksim_16.png", "Rocksim Icon");
|
||||
|
BIN
swing/src/main/resources/pix/icons/component-hidden.png
Normal file
BIN
swing/src/main/resources/pix/icons/component-hidden.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
swing/src/main/resources/pix/icons/component-hidden_dark.png
Normal file
BIN
swing/src/main/resources/pix/icons/component-hidden_dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
swing/src/main/resources/pix/icons/component-hidden_light.png
Normal file
BIN
swing/src/main/resources/pix/icons/component-hidden_light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 364 B |
Loading…
x
Reference in New Issue
Block a user