|
|
@@ -16,7 +16,7 @@ The Indicator uses the 3 standard constructors as shown in the <<jme3/contributi
|
|
|
|
|
|
* Orientation appended to the end of the param list for each
|
|
|
|
|
|
-*Features include:*+
|
|
|
+*Features include:*
|
|
|
|
|
|
* Clipping + an alpha mask to create any shaped indicator you would like
|
|
|
* Display the indicator in any color you choose.
|
|
|
@@ -46,6 +46,7 @@ Indicator ind = new Indicator(
|
|
|
----
|
|
|
|
|
|
|
|
|
+
|
|
|
=== Changing & Reshaping the Indicator
|
|
|
|
|
|
[source,java]
|
|
|
@@ -69,6 +70,7 @@ ind.setAlphaMap(String alphaMapPath);
|
|
|
----
|
|
|
|
|
|
|
|
|
+
|
|
|
=== Methods specific to the Indicator class
|
|
|
|
|
|
[source,java]
|
|
|
@@ -93,6 +95,7 @@ ind.setHideText(); // removes display text (default)
|
|
|
----
|
|
|
|
|
|
|
|
|
+
|
|
|
== Indicator Examples
|
|
|
|
|
|
Cut & Paste the following code into the simpleInitApp method of a new JME project. Use the slider to adjust the indicator.
|
|
|
@@ -141,4 +144,4 @@ screen.addElement(slider);
|
|
|
|
|
|
----
|
|
|
|
|
|
-image:jme3/contributions/tonegodgui/indicatorexample.png[indicatorexample.png,with="",height=""]
|
|
|
+image:jme3/contributions/tonegodgui/indicatorexample.png[indicatorexample.png,width="",height=""]
|