-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* v0.1.5 develop preparation * Better unicode IV numbers (#476) * Fix for select Pokemon with less than IV input (#482) * Fix for select Pokemon with less than IV input * Use PokeColumn enum to retrieve column index for IV rating * Outmost exception handler not closing automatically now (#483) * Remove outdated message * Fix CP Evolved column (sorting) (#488) * Checking null values in all CellRenderers (#487) * Updated base stats + New API (#491) * Fix Ditto (#492) * New API version + codestyle of Utilities class (#495) * Fix cp evolved eevee (#499) * Fix Eevee CP calculation (partly) * Fix resource folder * Fix colored background when selected (#500) * Fix colored background when selected * Remove unused imports * Changed version to v0.1.5 (#502)
- Loading branch information
Showing
19 changed files
with
216 additions
and
110 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.1.4 | ||
v0.1.5 |
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
29 changes: 29 additions & 0 deletions
29
src/me/corriekay/pokegoutil/utils/helpers/ColorHelper.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,29 @@ | ||
package me.corriekay.pokegoutil.utils.helpers; | ||
|
||
import java.awt.Color; | ||
|
||
import me.corriekay.pokegoutil.utils.Utilities; | ||
|
||
/** | ||
* Helper class for managing colors. | ||
*/ | ||
public final class ColorHelper { | ||
|
||
public static final int MAX_COLOR = 255; | ||
|
||
/** Prevent initializing this class. */ | ||
private ColorHelper() { | ||
} | ||
|
||
/** | ||
* Gets a random color. | ||
* Notes to Developers: If there will be more color functions in the future, please extract them to a ColorHelper. | ||
* | ||
* @return A random color. | ||
*/ | ||
public static Color randomColor() { | ||
final Color color = new Color(Utilities.RANDOM.nextInt(MAX_COLOR), Utilities.RANDOM.nextInt(MAX_COLOR), Utilities.RANDOM.nextInt(MAX_COLOR), MAX_COLOR); | ||
return color; | ||
} | ||
|
||
} |
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.