Dark icons option, other UI changes
12
LICENSE.md
|
@ -1,9 +1,9 @@
|
|||
Tile Molester
|
||||
Copyright (c) 2003-2005 Kent Hansen (SnowBro) - Original code
|
||||
Copyright (c) 2005 Central MiB - v0.15a
|
||||
Copyright (c) 2013 Lab313 - v0.17.2
|
||||
Copyright (c) 2014-2015 Mewster - v0.19
|
||||
Copyright (c) 2020 toruzz - v0.20
|
||||
# Tile Molester
|
||||
- Copyright (c) 2003-2005 Kent Hansen (SnowBro) - Original code
|
||||
- Copyright (c) 2005 Central MiB - v0.15a
|
||||
- Copyright (c) 2013 Lab313 - v0.17.2
|
||||
- Copyright (c) 2014-2015 Mewster - v0.19
|
||||
- Copyright (c) 2020 toruzz - v0.20
|
||||
|
||||
Tile Molester is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
BIN
TileMolester.jar
|
@ -1,4 +1,5 @@
|
|||
rm -rf ./build/*
|
||||
javac -sourcepath src -d ./build src/TileMolester.java
|
||||
cp -R src/tm/icons build/tm/
|
||||
cp -R src/tm/icons/ build/tm/
|
||||
cp src/tm/splash.gif build/tm/splash.gif
|
||||
jar cvfm TileMolester.jar META-INF/MANIFEST.MF -C build/ .
|
|
@ -8,7 +8,9 @@
|
|||
<property key="recentFile" value="/home/ivan/Escritorio/Otros/Apps/TM200"/>
|
||||
<property key="recentFile" value="/home/ivan/Escritorio/Otros/DK94/DK94.gb"/>
|
||||
<property key="lastPath" value="/home/ivan/Escritorio/Otros/DK94"/>
|
||||
<property key="MenuBG" value="#ff0000"/>
|
||||
<property key="WindowBG" value="#0000ff"/>
|
||||
<property key="AsideBG" value="#00ff00"/>
|
||||
<property key="MenuBG" value="#1b2224"/>
|
||||
<property key="WindowBG" value="#141a1b"/>
|
||||
<property key="AsideBG" value="#1b2224"/>
|
||||
<property key="FrameBG" value="#222b2e"/>
|
||||
<property key="DarkIcons" value="false"/>
|
||||
</settings>
|
||||
|
|
|
@ -61,38 +61,6 @@ public class TileMolester {
|
|||
**/
|
||||
|
||||
public static void main(String[] args) {
|
||||
Color[] sysColor = new Color[]{
|
||||
SystemColor.activeCaption,
|
||||
SystemColor.activeCaptionBorder,
|
||||
SystemColor.activeCaptionText,
|
||||
SystemColor.control,
|
||||
SystemColor.controlDkShadow,
|
||||
SystemColor.controlHighlight,
|
||||
SystemColor.controlLtHighlight,
|
||||
SystemColor.controlShadow,
|
||||
SystemColor.controlText,
|
||||
SystemColor.desktop,
|
||||
SystemColor.inactiveCaption,
|
||||
SystemColor.inactiveCaptionBorder,
|
||||
SystemColor.inactiveCaptionText,
|
||||
SystemColor.info,
|
||||
SystemColor.infoText,
|
||||
SystemColor.menu,
|
||||
SystemColor.menuText,
|
||||
SystemColor.scrollbar,
|
||||
SystemColor.text,
|
||||
SystemColor.textHighlight,
|
||||
SystemColor.textHighlightText,
|
||||
SystemColor.textInactiveText,
|
||||
SystemColor.textText,
|
||||
SystemColor.window,
|
||||
SystemColor.windowBorder,
|
||||
SystemColor.windowText};
|
||||
|
||||
for(Color c: sysColor){
|
||||
System.out.println(c);
|
||||
}
|
||||
|
||||
new TileMolester();
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ import java.awt.event.*;
|
|||
|
||||
public class TMEditorCanvas extends TMTileCanvas implements MouseInputListener {
|
||||
|
||||
|
||||
// custom cursors
|
||||
private Cursor zoomCursor;
|
||||
private Cursor pickupCursor;
|
||||
|
@ -70,7 +71,9 @@ public class TMEditorCanvas extends TMTileCanvas implements MouseInputListener {
|
|||
private int blockWidth=1;
|
||||
private int blockHeight=1;
|
||||
private boolean rowInterleaved=false;
|
||||
private boolean showBlockGrid=false;
|
||||
private boolean showBlockGrid=false;
|
||||
|
||||
boolean DarkIcons = TMUI.DarkIcons;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -91,7 +94,9 @@ public class TMEditorCanvas extends TMTileCanvas implements MouseInputListener {
|
|||
zoomCursor = Toolkit.getDefaultToolkit().createCustomCursor(new ImageIcon(cl.getResource("tm/icons/ZoomCursor24.gif")).getImage(), new Point(8,7), "Zoom");
|
||||
pickupCursor = Toolkit.getDefaultToolkit().createCustomCursor(new ImageIcon(cl.getResource("tm/icons/DropperCursor24.gif")).getImage(), new Point(6,19), "Dropper");
|
||||
brushCursor = Toolkit.getDefaultToolkit().createCustomCursor(new ImageIcon(cl.getResource("tm/icons/BrushCursor24.gif")).getImage(), new Point(5,19), "Brush");
|
||||
fillCursor = Toolkit.getDefaultToolkit().createCustomCursor(new ImageIcon(cl.getResource("tm/icons/FillCursor24.gif")).getImage(), new Point(5,16), "Fill");
|
||||
fillCursor = Toolkit.getDefaultToolkit().createCustomCursor(new ImageIcon(cl.getResource("tm/icons/FillCursor24.gif")).getImage(), new Point(5,16), "Fill");
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -101,10 +106,11 @@ public class TMEditorCanvas extends TMTileCanvas implements MouseInputListener {
|
|||
**/
|
||||
|
||||
public void paintComponent(Graphics g) {
|
||||
super.paintComponent(g);
|
||||
super.paintComponent(g);
|
||||
drawBlockGrid(g);
|
||||
drawIntermediateSelection(g);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
Before Width: | Height: | Size: 835 B |
Before Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 643 B |
Before Width: | Height: | Size: 674 B |
Before Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 635 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 473 B |
Before Width: | Height: | Size: 816 B |
Before Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 795 B |
Before Width: | Height: | Size: 665 B |
Before Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 650 B |
Before Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 652 B |
Before Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 772 B |
Before Width: | Height: | Size: 802 B |
Before Width: | Height: | Size: 804 B |
Before Width: | Height: | Size: 779 B |
Before Width: | Height: | Size: 132 B |
Before Width: | Height: | Size: 429 B |
Before Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 477 B |
After Width: | Height: | Size: 993 B |
After Width: | Height: | Size: 982 B |
After Width: | Height: | Size: 979 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 557 B |
After Width: | Height: | Size: 970 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 425 B |
After Width: | Height: | Size: 993 B |
After Width: | Height: | Size: 401 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 585 B |
After Width: | Height: | Size: 489 B |
After Width: | Height: | Size: 980 B |
After Width: | Height: | Size: 1016 B |
After Width: | Height: | Size: 537 B |
After Width: | Height: | Size: 434 B |
After Width: | Height: | Size: 1004 B |
After Width: | Height: | Size: 398 B |
After Width: | Height: | Size: 430 B |
After Width: | Height: | Size: 364 B |
After Width: | Height: | Size: 527 B |
After Width: | Height: | Size: 109 B |
After Width: | Height: | Size: 993 B |
After Width: | Height: | Size: 975 B |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 395 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 544 B |
After Width: | Height: | Size: 542 B |
After Width: | Height: | Size: 517 B |
After Width: | Height: | Size: 524 B |
After Width: | Height: | Size: 966 B |
After Width: | Height: | Size: 953 B |
After Width: | Height: | Size: 376 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 998 B |
After Width: | Height: | Size: 1001 B |
After Width: | Height: | Size: 979 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 555 B |
After Width: | Height: | Size: 973 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 416 B |
After Width: | Height: | Size: 993 B |
After Width: | Height: | Size: 402 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 599 B |
After Width: | Height: | Size: 489 B |
After Width: | Height: | Size: 992 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 537 B |
After Width: | Height: | Size: 426 B |