Difference between revisions of "Reference"

From Gamebuino Wiki
Jump to: navigation, search
(display)
(display)
Line 145: Line 145:
 
* [[gb.display.setTextSize]](size)
 
* [[gb.display.setTextSize]](size)
 
* [[gb.display.setTextWrap]](true/false)
 
* [[gb.display.setTextWrap]](true/false)
 +
useful constants:
 +
LCDWIDTH, LCDHEIGHT, FONTWIDTH, FONTHEIGHT
 
</code>
 
</code>
  
  
 
</div>
 
</div>

Revision as of 2014-04-20T12:03:44

The Reference lists and explains all the functions of the Library.

Arguments in italic are optional.

core

User interface :

Perfomance monitor :

buttons

button:

BTN_A, BTN_B, BTN_C, BTN_UP, BTN_RIGHT, BTN_DOWN, BTN_LEFT

sound

Play :

Volume :

Build-in sounds :

battery

backlight

display

General :

Pixels :

Lines :

Rectangles :

Circles :

Triangles :

Bitmaps :

rotation: NOROT, ROTCCW, ROT180, ROTCW

flip: FLIPH, FLIPV, FLIPVH

Text :

useful constants: LCDWIDTH, LCDHEIGHT, FONTWIDTH, FONTHEIGHT