Difference between revisions of "DISPLAY TEXT WITH FLOAT"
Jump to navigation
Jump to search
(New page: {{Native |np=4 |p1t=float |p1d=x pos |p2t=float |p2d=y pos |p3t=string |p3d=gxt entry |p4t=float |p4d=additional float |r=0 }} Draw GXT-Entry Text with additional float.) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Native | {{Native | ||
− | |np= | + | |np=5 |
|p1t=float | |p1t=float | ||
|p1d=x pos | |p1d=x pos | ||
Line 6: | Line 6: | ||
|p2d=y pos | |p2d=y pos | ||
|p3t=string | |p3t=string | ||
− | |p3d= | + | |p3d=Unknown, always "NUMBER" |
|p4t=float | |p4t=float | ||
− | |p4d= | + | |p4d=number to print/draw |
+ | |p5t=int | ||
+ | |p5d=amount of decimal places to show | ||
|r=0 | |r=0 | ||
}} | }} | ||
− | + | Draws a float number on the screen. | |
+ | |||
+ | Notes: parameter 1 and 2 must be numbers between 0.0 and 1.0 where 1.0 representes the screen width/height (e.g: To draw the text on the middle of the screen you should use parameter_1 = 0.5, parameter_2 = 0.5). |
Latest revision as of 23:22, 6 January 2015
Number of parameters: 5 | ||
---|---|---|
Parameter # | Type | Description |
1. | float | x pos |
2. | float | y pos |
3. | string | Unknown, always "NUMBER" |
4. | float | number to print/draw |
5. | int | amount of decimal places to show |
Return value: | ||
Type | Description | |
None |
Draws a float number on the screen.
Notes: parameter 1 and 2 must be numbers between 0.0 and 1.0 where 1.0 representes the screen width/height (e.g: To draw the text on the middle of the screen you should use parameter_1 = 0.5, parameter_2 = 0.5).