-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Application: Update icons and theme; upgrade to FlatLaf 3.4
- Loading branch information
1 parent
f264efe
commit 5c9ebc3
Showing
81 changed files
with
501 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
modules/decima-ui/src/main/java/com/shade/decima/ui/data/handlers/ModelValueHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.shade.decima.ui.data.handlers; | ||
|
||
import com.shade.decima.model.rtti.RTTIType; | ||
import com.shade.decima.ui.data.registry.ValueHandlerRegistration; | ||
import com.shade.decima.ui.data.registry.ValueHandlerRegistration.Selector; | ||
import com.shade.decima.ui.data.registry.ValueHandlerRegistration.Type; | ||
import com.shade.util.NotNull; | ||
import com.shade.util.Nullable; | ||
|
||
import javax.swing.*; | ||
|
||
@ValueHandlerRegistration(value = { | ||
@Selector(type = @Type(name = "ModelResource")), | ||
@Selector(type = @Type(name = "MeshResourceBase")), | ||
}) | ||
public class ModelValueHandler extends ObjectValueHandler { | ||
@Nullable | ||
@Override | ||
public Icon getIcon(@NotNull RTTIType<?> type) { | ||
return UIManager.getIcon("Node.modelIcon"); | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
modules/decima-ui/src/main/java/com/shade/decima/ui/data/handlers/TextureValueHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.shade.decima.ui.data.handlers; | ||
|
||
import com.shade.decima.model.rtti.RTTIType; | ||
import com.shade.decima.ui.data.registry.ValueHandlerRegistration; | ||
import com.shade.decima.ui.data.registry.ValueHandlerRegistration.Selector; | ||
import com.shade.decima.ui.data.registry.ValueHandlerRegistration.Type; | ||
import com.shade.util.NotNull; | ||
import com.shade.util.Nullable; | ||
|
||
import javax.swing.*; | ||
|
||
@ValueHandlerRegistration(value = { | ||
@Selector(type = @Type(name = "Texture")), | ||
}) | ||
public class TextureValueHandler extends ObjectValueHandler { | ||
@Nullable | ||
@Override | ||
public Icon getIcon(@NotNull RTTIType<?> type) { | ||
return UIManager.getIcon("Node.textureIcon"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
modules/decima-ui/src/main/resources/icons/actions/add_element.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions
7
modules/decima-ui/src/main/resources/icons/actions/contains.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions
9
modules/decima-ui/src/main/resources/icons/actions/duplicate_element.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions
14
modules/decima-ui/src/main/resources/icons/actions/edit_modal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions
10
modules/decima-ui/src/main/resources/icons/actions/export.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion
3
...rc/main/resources/icons/toolbars/hide.svg → ...src/main/resources/icons/actions/hide.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions
10
modules/decima-ui/src/main/resources/icons/actions/import.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions
4
modules/decima-ui/src/main/resources/icons/actions/monitorActive.svg
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
modules/decima-ui/src/main/resources/icons/actions/monitorInactive.svg
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.