Skip to content

Commit 7418651

Browse files
committed
v4.0.0
1 parent d727670 commit 7418651

File tree

8 files changed

+139
-136
lines changed

8 files changed

+139
-136
lines changed

CHANGES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(UPCOMING) [4.0.0]
1+
[4.0.0]
22
- A `Batch` does not need to be passed to the constructors anymore.
33
- Introduced `PieWidget` in the new design: the `RadialGroup` now doesn't deal in any way with the `ShapeDrawer`.
44
- `getMaxDiameter` has been renamed to `getCurrentDiameter`.

src/main/java/com/payne/games/piemenu/AnimatedPieMenu.java

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
import com.badlogic.gdx.scenes.scene2d.Actor;
88
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
99
import com.badlogic.gdx.utils.Align;
10-
1110
import java.util.HashMap;
1211

1312

1413
/**
15-
* An animated {@link PieMenu}.<br/>
16-
* A very simple folding/unfolding animation can be displayed whenever desired.<br/>
14+
* An animated {@link PieMenu}.<br>
15+
* A very simple folding/unfolding animation can be displayed whenever desired.<br>
1716
* Internally uses a {@link #currentAngle} attribute that is used for transitions
1817
* between states. Because of that, using {@link #setVisible(boolean)} might not
1918
* always reveal the Widget: you would have to ensure to call a setter before:
@@ -353,8 +352,8 @@ public void animateClosing(float durationSeconds) {
353352
}
354353

355354
/**
356-
* Transitions from the current state to the other.<br/>
357-
* If the widget is opening, it will now be closing, for example.<br/>
355+
* Transitions from the current state to the other.<br>
356+
* If the widget is opening, it will now be closing, for example.<br>
358357
* Visibility plays a role in determining the current state (for example,
359358
* if the widget is not visible, it is assumed that it's as if it was closed).
360359
*
@@ -369,7 +368,7 @@ public void toggleVisibility(float durationSeconds) {
369368
}
370369

371370
/**
372-
* @return {@code true} if the widget is being closed or opened.<br/>
371+
* @return {@code true} if the widget is being closed or opened.<br>
373372
* {@code false} otherwise.
374373
*/
375374
public boolean isCurrentlyAnimated() {
@@ -440,7 +439,7 @@ public void setDuration(float duration) {
440439

441440
/**
442441
* @return {@code true} only when the Widget is currently running an opening
443-
* animation.<br/>
442+
* animation.<br>
444443
* To be more precise, for example: when an opening animation ends,
445444
* this returns {@code false}
446445
*/
@@ -450,7 +449,7 @@ public boolean isOpening() {
450449

451450
/**
452451
* @return {@code true} only when the Widget is currently running a closing
453-
* animation.<br/>
452+
* animation.<br>
454453
* To be more precise, for example: when a closing animation ends,
455454
* this returns {@code false}
456455
*/
@@ -459,7 +458,7 @@ public boolean isClosing() {
459458
}
460459

461460
/**
462-
* After a closing animation, its value is equal to 0.<br/>
461+
* After a closing animation, its value is equal to 0.<br>
463462
* After an opening animation, its value is equal to
464463
* {@code style.totalDegreesDrawn}.
465464
*
@@ -475,13 +474,13 @@ public float getCurrentAngle() {
475474

476475
/**
477476
* Use this if you want to manipulate the internal state of how much of the
478-
* widget should be drawn.<br/>
479-
* After a closing animation, its value is equal to 0.<br/>
477+
* widget should be drawn.<br>
478+
* After a closing animation, its value is equal to 0.<br>
480479
* After an opening animation, its value is equal to
481-
* {@code style.totalDegreesDrawn}.<br/>
480+
* {@code style.totalDegreesDrawn}.<br>
482481
* This means that the accepted values are from 0 to style.totalDegreesDrawn,
483-
* inclusively.<br/>
484-
* <br/>
482+
* inclusively.<br>
483+
* <br>
485484
* It is recommended to use
486485
* <pre>
487486
* {@code

src/main/java/com/payne/games/piemenu/AnimatedPieWidget.java

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
import com.badlogic.gdx.scenes.scene2d.Actor;
88
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
99
import com.badlogic.gdx.utils.Align;
10-
1110
import java.util.HashMap;
1211

1312

1413
/**
15-
* An animated {@link RadialGroup}.<br/>
16-
* A very simple folding/unfolding animation can be displayed whenever desired.<br/>
14+
* An animated {@link RadialGroup}.<br>
15+
* A very simple folding/unfolding animation can be displayed whenever desired.<br>
1716
* Internally uses a {@link #currentAngle} attribute that is used for transitions
1817
* between states. Because of that, using {@link #setVisible(boolean)} might not
1918
* always reveal the Widget: you would have to ensure to call a setter before:
@@ -354,8 +353,8 @@ public void animateClosing(float durationSeconds) {
354353
}
355354

356355
/**
357-
* Transitions from the current state to the other.<br/>
358-
* If the widget is opening, it will now be closing, for example.<br/>
356+
* Transitions from the current state to the other.<br>
357+
* If the widget is opening, it will now be closing, for example.<br>
359358
* Visibility plays a role in determining the current state (for example,
360359
* if the widget is not visible, it is assumed that it's as if it was closed).
361360
*
@@ -370,7 +369,7 @@ public void toggleVisibility(float durationSeconds) {
370369
}
371370

372371
/**
373-
* @return {@code true} if the widget is being closed or opened.<br/>
372+
* @return {@code true} if the widget is being closed or opened.<br>
374373
* {@code false} otherwise.
375374
*/
376375
public boolean isCurrentlyAnimated() {
@@ -440,7 +439,7 @@ public void setDuration(float duration) {
440439

441440
/**
442441
* @return {@code true} only when the Widget is currently running an opening
443-
* animation.<br/>
442+
* animation.<br>
444443
* To be more precise, for example: when an opening animation ends,
445444
* this returns {@code false}
446445
*/
@@ -450,7 +449,7 @@ public boolean isOpening() {
450449

451450
/**
452451
* @return {@code true} only when the Widget is currently running a closing
453-
* animation.<br/>
452+
* animation.<br>
454453
* To be more precise, for example: when a closing animation ends,
455454
* this returns {@code false}
456455
*/
@@ -459,7 +458,7 @@ public boolean isClosing() {
459458
}
460459

461460
/**
462-
* After a closing animation, its value is equal to 0.<br/>
461+
* After a closing animation, its value is equal to 0.<br>
463462
* After an opening animation, its value is equal to
464463
* {@code style.totalDegreesDrawn}.
465464
*
@@ -475,13 +474,13 @@ public float getCurrentAngle() {
475474

476475
/**
477476
* Use this if you want to manipulate the internal state of how much of the
478-
* widget should be drawn.<br/>
479-
* After a closing animation, its value is equal to 0.<br/>
477+
* widget should be drawn.<br>
478+
* After a closing animation, its value is equal to 0.<br>
480479
* After an opening animation, its value is equal to
481-
* {@code style.totalDegreesDrawn}.<br/>
480+
* {@code style.totalDegreesDrawn}.<br>
482481
* This means that the accepted values are from 0 to style.totalDegreesDrawn,
483-
* inclusively.<br/>
484-
* <br/>
482+
* inclusively.<br>
483+
* <br>
485484
* It is recommended to use
486485
* <pre>
487486
* {@code

0 commit comments

Comments
 (0)