Skip to content

Commit

Permalink
Merge pull request #6 from payne911/dev
Browse files Browse the repository at this point in the history
Feature addition: AnimatedRadialGroup
  • Loading branch information
payne911 authored Jan 12, 2020
2 parents 0b42fc8 + ec35eaf commit 1896321
Show file tree
Hide file tree
Showing 8 changed files with 379 additions and 20 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ To use this in your gradle project, add the version number and jitpack repositor
allprojects {
ext {
...
pieMenuVersion = '4.0.0' // add this line
...
pieMenuVersion = '4.1.0' // add this line
}
repositories {
...
maven { url 'https://jitpack.io' } // add this line if it wasn't already there
...
maven { url 'https://jitpack.io' }
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apply from: 'publish.gradle'
sourceCompatibility = 1.8

def projectName = 'pie-menu'
version '4.0.0'
version '4.1.0'
group 'com.payne.games'

def gdxVersion = '1.9.10'
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/com/payne/games/piemenu/AnimatedPieMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
* that is why you might end up not seeing the widget despite setting its
* visibility to {@code true} if you haven't called the recommended line of code
* provided above.
*
* @deprecated Once {@link com.badlogic.gdx.scenes.scene2d.Action Actions} are
* integrated into the library, this class will become obsolete. However,
* the implementation is very easy to use, so it might remain in the code base
* despite Actions being integrated. The reason behind the deprecation is mostly
* because the Animated classes are a hassle to maintain. It's thus more of a
* code-design decision. For users, this is still a very nice class to work with.
* @author Jérémi Grenier-Berthiaume (aka "payne")
*/
@Deprecated
public class AnimatedPieMenu extends PieMenu {
Expand Down
10 changes: 9 additions & 1 deletion src/main/java/com/payne/games/piemenu/AnimatedPieWidget.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


/**
* An animated {@link RadialGroup}.<br>
* An animated {@link PieWidget}.<br>
* A very simple folding/unfolding animation can be displayed whenever desired.<br>
* Internally uses a {@link #currentAngle} attribute that is used for transitions
* between states. Because of that, using {@link #setVisible(boolean)} might not
Expand All @@ -28,6 +28,14 @@
* that is why you might end up not seeing the widget despite setting its
* visibility to {@code true} if you haven't called the recommended line of code
* provided above.
*
* @deprecated Once {@link com.badlogic.gdx.scenes.scene2d.Action Actions} are
* integrated into the library, this class will become obsolete. However,
* the implementation is very easy to use, so it might remain in the code base
* despite Actions being integrated. The reason behind the deprecation is mostly
* because the Animated classes are a hassle to maintain. It's thus more of a
* code-design decision. For users, this is still a very nice class to work with.
* @author Jérémi Grenier-Berthiaume (aka "payne")
*/
@Deprecated
public class AnimatedPieWidget extends PieWidget {
Expand Down
Loading

0 comments on commit 1896321

Please sign in to comment.