-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Draque Thompson
committed
Mar 18, 2020
1 parent
9374ce5
commit 0d4f834
Showing
19 changed files
with
492 additions
and
98 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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (c) 2014-2019, Draque Thompson, [email protected] | ||
* Copyright (c) 2014-2020, Draque Thompson, [email protected] | ||
* All rights reserved. | ||
* | ||
* Licensed under: MIT Licence | ||
|
@@ -55,8 +55,7 @@ public final class PCellEditor extends AbstractCellEditor implements TableCellEd | |
public PCellEditor(boolean _useConFont, DictCore _core) { | ||
core = _core; | ||
useConFont = _useConFont; | ||
Integer preSize = core.getPropertiesManager().getFontSize(); | ||
preSize = preSize == null ? 0 : preSize; | ||
double preSize = core.getPropertiesManager().getFontSize(); | ||
|
||
Font defFont = useConFont ? core.getPropertiesManager().getFontCon() | ||
: core.getPropertiesManager().getFontLocal(); | ||
|
@@ -227,7 +226,7 @@ public void mouseReleased(MouseEvent e) { | |
} | ||
|
||
/** | ||
* @param ignoreListenerSilencing the ignoreListenerSilencing to set | ||
* @param _ignoreListenerSilencing the ignoreListenerSilencing to set | ||
*/ | ||
public void setIgnoreListenerSilencing(boolean _ignoreListenerSilencing) { | ||
this.ignoreListenerSilencing = _ignoreListenerSilencing; | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (c) 2014-2019, Draque Thompson, [email protected] | ||
* Copyright (c) 2014-2020, Draque Thompson, [email protected] | ||
* All rights reserved. | ||
* | ||
* Licensed under: MIT Licence | ||
|
@@ -49,8 +49,7 @@ public class PCellRenderer implements TableCellRenderer { | |
public PCellRenderer(boolean _useConFont, DictCore _core) { | ||
core = _core; | ||
useConFont = _useConFont; | ||
Integer preSize = core.getPropertiesManager().getFontSize(); | ||
preSize = preSize == null ? 0 : preSize; | ||
double preSize = core.getPropertiesManager().getFontSize(); | ||
|
||
Font selectedFont = useConFont ? | ||
core.getPropertiesManager().getFontCon() : | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (c) 2016-2019, Draque Thompson | ||
* Copyright (c) 2016-2020, Draque Thompson, [email protected] | ||
* All rights reserved. | ||
* | ||
* Licensed under: MIT Licence | ||
|
@@ -201,7 +201,7 @@ private void setupRightClickMenu() { | |
insertImage.addActionListener((ActionEvent ae) -> { | ||
try { | ||
ImageNode image = core.getImageCollection() | ||
.openNewImage((Window)parentPane.getTopLevelAncestor()); | ||
.openNewImage((Window)parentPane.getTopLevelAncestor(), core.getWorkingDirectory()); | ||
if (image != null) { | ||
// null node means user cancelled process | ||
addImage(image); | ||
|
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
Oops, something went wrong.