Arduboy2/keywords.txt

195 lines
3.8 KiB
Plaintext
Raw Normal View History

#######################################
2018-03-07 22:39:06 +00:00
# Syntax Coloring Map For Arduboy2
#######################################
#######################################
# Datatypes (KEYWORD1)
#######################################
2016-06-15 20:18:06 +00:00
Arduboy2 KEYWORD1
Arduboy2Base KEYWORD1
BeepPin1 KEYWORD1
BeepPin2 KEYWORD1
2018-03-07 22:39:06 +00:00
Point KEYWORD1
Rect KEYWORD1
Sprites KEYWORD1
SpritesB KEYWORD1
#######################################
# Methods and Functions (KEYWORD2)
#######################################
allPixelsOn KEYWORD2
anyPressed KEYWORD2
2016-06-15 20:18:06 +00:00
begin KEYWORD2
blank KEYWORD2
2016-06-15 20:18:06 +00:00
boot KEYWORD2
bootLogo KEYWORD2
bootLogoCompressed KEYWORD2
bootLogoExtra KEYWORD2
bootLogoShell KEYWORD2
bootLogoSpritesBOverwrite KEYWORD2
bootLogoSpritesBSelfMasked KEYWORD2
bootLogoSpritesOverwrite KEYWORD2
bootLogoSpritesSelfMasked KEYWORD2
bootLogoText KEYWORD2
buttonsState KEYWORD2
clear KEYWORD2
collide KEYWORD2
cpuLoad KEYWORD2
delayShort KEYWORD2
2016-06-15 20:18:06 +00:00
digitalWriteRGB KEYWORD2
display KEYWORD2
displayOff KEYWORD2
displayOn KEYWORD2
drawBitmap KEYWORD2
drawChar KEYWORD2
drawCircle KEYWORD2
2016-12-13 16:54:25 +00:00
drawCompressed KEYWORD2
drawFastHLine KEYWORD2
drawFastVLine KEYWORD2
drawLine KEYWORD2
drawPixel KEYWORD2
drawRect KEYWORD2
drawRoundRect KEYWORD2
drawSlowXYBitmap KEYWORD2
drawTriangle KEYWORD2
2016-03-02 14:28:27 +00:00
enabled KEYWORD2
everyXFrames KEYWORD2
exitToBootloader KEYWORD2
fillCircle KEYWORD2
fillRect KEYWORD2
fillRoundRect KEYWORD2
fillScreen KEYWORD2
fillTriangle KEYWORD2
2016-06-15 20:18:06 +00:00
flashlight KEYWORD2
flipVertical KEYWORD2
flipHorizontal KEYWORD2
freeRGBled KEYWORD2
generateRandomSeed KEYWORD2
getBuffer KEYWORD2
Refactor text code and add char size functions - Functions write() and drawChar() were refactored for smaller code size and to make text wrapping operate more like what would normally be expected. - A new flag variable, textRaw, has been added, along with functions setTextRawMode() and getTextRawMode() to set and read it. When set, the write() function will render the value \n (0x0a) as an "inverse white circle" instead of handling it as a newline and render value \r (0x0d) as a "musical eighth note" instead of ignoring it. - Spacing added at the end of each character is no longer factored in when determining if a character will fit on screen at the end of a line. - Checking if line wrap is neccessary is done before drawing a character, instead of doing it after drawing to prepare for the next character. This fixed a problem with requested line feeds interacting with wrapping, resulting in unexpected blank lines. - Fixed a bug that caused the drawing of characters with a transparent background to not work properly. (This is selected by setting the background color to be the same as the text color.) - Added new functions getCharacterWidth() getCharacterHeight() getCharacterSpacing() getLineSpacing() to programmatically get the dimensions of a character, given the desired text size. - Functions write() and drawChar() are now able to render a font of any character size, and with any character and line spacing, by setting variables characterWidth characterHeight characterSpacing and lineSpacing, and providing a matching font array. This doesn't affect their use with this library but has been done for the sake of code portability.
2020-08-25 20:40:34 +00:00
getCharacterHeight KEYWORD2
getCharacterSpacing KEYWORD2
getCharacterWidth KEYWORD2
2016-06-15 20:18:06 +00:00
getCursorX KEYWORD2
getCursorY KEYWORD2
Refactor text code and add char size functions - Functions write() and drawChar() were refactored for smaller code size and to make text wrapping operate more like what would normally be expected. - A new flag variable, textRaw, has been added, along with functions setTextRawMode() and getTextRawMode() to set and read it. When set, the write() function will render the value \n (0x0a) as an "inverse white circle" instead of handling it as a newline and render value \r (0x0d) as a "musical eighth note" instead of ignoring it. - Spacing added at the end of each character is no longer factored in when determining if a character will fit on screen at the end of a line. - Checking if line wrap is neccessary is done before drawing a character, instead of doing it after drawing to prepare for the next character. This fixed a problem with requested line feeds interacting with wrapping, resulting in unexpected blank lines. - Fixed a bug that caused the drawing of characters with a transparent background to not work properly. (This is selected by setting the background color to be the same as the text color.) - Added new functions getCharacterWidth() getCharacterHeight() getCharacterSpacing() getLineSpacing() to programmatically get the dimensions of a character, given the desired text size. - Functions write() and drawChar() are now able to render a font of any character size, and with any character and line spacing, by setting variables characterWidth characterHeight characterSpacing and lineSpacing, and providing a matching font array. This doesn't affect their use with this library but has been done for the sake of code portability.
2020-08-25 20:40:34 +00:00
getLineSpacing KEYWORD2
2018-03-07 22:39:06 +00:00
getPixel KEYWORD2
getTextBackground KEYWORD2
getTextColor KEYWORD2
Refactor text code and add char size functions - Functions write() and drawChar() were refactored for smaller code size and to make text wrapping operate more like what would normally be expected. - A new flag variable, textRaw, has been added, along with functions setTextRawMode() and getTextRawMode() to set and read it. When set, the write() function will render the value \n (0x0a) as an "inverse white circle" instead of handling it as a newline and render value \r (0x0d) as a "musical eighth note" instead of ignoring it. - Spacing added at the end of each character is no longer factored in when determining if a character will fit on screen at the end of a line. - Checking if line wrap is neccessary is done before drawing a character, instead of doing it after drawing to prepare for the next character. This fixed a problem with requested line feeds interacting with wrapping, resulting in unexpected blank lines. - Fixed a bug that caused the drawing of characters with a transparent background to not work properly. (This is selected by setting the background color to be the same as the text color.) - Added new functions getCharacterWidth() getCharacterHeight() getCharacterSpacing() getLineSpacing() to programmatically get the dimensions of a character, given the desired text size. - Functions write() and drawChar() are now able to render a font of any character size, and with any character and line spacing, by setting variables characterWidth characterHeight characterSpacing and lineSpacing, and providing a matching font array. This doesn't affect their use with this library but has been done for the sake of code portability.
2020-08-25 20:40:34 +00:00
getTextRawMode KEYWORD2
getTextSize KEYWORD2
getTextWrap KEYWORD2
2016-06-15 20:18:06 +00:00
height KEYWORD2
idle KEYWORD2
initRandomSeed KEYWORD2
invert KEYWORD2
justPressed KEYWORD2
justReleased KEYWORD2
nextFrame KEYWORD2
nextFrameDEV KEYWORD2
notPressed KEYWORD2
2016-03-02 14:28:27 +00:00
off KEYWORD2
on KEYWORD2
paint8Pixels KEYWORD2
paintScreen KEYWORD2
pollButtons KEYWORD2
pressed KEYWORD2
readShowBootLogoFlag KEYWORD2
readShowBootLogoLEDsFlag KEYWORD2
readShowUnitNameFlag KEYWORD2
readUnitID KEYWORD2
readUnitName KEYWORD2
safeMode KEYWORD2
2016-03-02 14:28:27 +00:00
saveOnOff KEYWORD2
setCursor KEYWORD2
setCursorX KEYWORD2
setCursorY KEYWORD2
setFrameDuration KEYWORD2
setFrameRate KEYWORD2
2016-06-15 20:18:06 +00:00
setRGBled KEYWORD2
setTextBackground KEYWORD2
setTextColor KEYWORD2
Refactor text code and add char size functions - Functions write() and drawChar() were refactored for smaller code size and to make text wrapping operate more like what would normally be expected. - A new flag variable, textRaw, has been added, along with functions setTextRawMode() and getTextRawMode() to set and read it. When set, the write() function will render the value \n (0x0a) as an "inverse white circle" instead of handling it as a newline and render value \r (0x0d) as a "musical eighth note" instead of ignoring it. - Spacing added at the end of each character is no longer factored in when determining if a character will fit on screen at the end of a line. - Checking if line wrap is neccessary is done before drawing a character, instead of doing it after drawing to prepare for the next character. This fixed a problem with requested line feeds interacting with wrapping, resulting in unexpected blank lines. - Fixed a bug that caused the drawing of characters with a transparent background to not work properly. (This is selected by setting the background color to be the same as the text color.) - Added new functions getCharacterWidth() getCharacterHeight() getCharacterSpacing() getLineSpacing() to programmatically get the dimensions of a character, given the desired text size. - Functions write() and drawChar() are now able to render a font of any character size, and with any character and line spacing, by setting variables characterWidth characterHeight characterSpacing and lineSpacing, and providing a matching font array. This doesn't affect their use with this library but has been done for the sake of code portability.
2020-08-25 20:40:34 +00:00
setTextRawMode KEYWORD2
setTextSize KEYWORD2
setTextWrap KEYWORD2
SPItransfer KEYWORD2
SPItransferAndRead KEYWORD2
2016-06-15 20:18:06 +00:00
systemButtons KEYWORD2
2016-12-13 16:49:29 +00:00
toggle KEYWORD2
waitNoButtons KEYWORD2
2016-06-15 20:18:06 +00:00
width KEYWORD2
writeShowBootLogoFlag KEYWORD2
writeShowBootLogoLEDsFlag KEYWORD2
writeShowUnitNameFlag KEYWORD2
writeUnitID KEYWORD2
writeUnitName KEYWORD2
# Arduboy2Beep classes
freq KEYWORD2
noTone KEYWORD2
timer KEYWORD2
tone KEYWORD2
# Sprites class
drawErase KEYWORD2
drawExternalMask KEYWORD2
drawOverwrite KEYWORD2
drawPlusMask KEYWORD2
drawSelfMasked KEYWORD2
2020-09-27 19:19:20 +00:00
##### Public variables #####
audio KEYWORD2
arduboy_logo KEYWORD2
arduboy_logo_compressed KEYWORD2
arduboy_logo_sprite KEYWORD2
currentButtonState KEYWORD2
font5x7 KEYWORD2
frameCount KEYWORD2
previousButtonState KEYWORD2
sBuffer KEYWORD2
# Arduboy2Beep classes
duration KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
2016-11-21 21:31:10 +00:00
ARDUBOY_LIB_VER LITERAL1
2018-03-07 22:39:06 +00:00
ARDUBOY_UNIT_NAME_LEN LITERAL1
ARDUBOY_UNIT_NAME_BUFFER_SIZE LITERAL1
2018-03-07 22:39:06 +00:00
2016-11-21 21:31:10 +00:00
EEPROM_STORAGE_SPACE_START LITERAL1
2016-06-15 20:18:06 +00:00
HEIGHT LITERAL1
WIDTH LITERAL1
BLACK LITERAL1
WHITE LITERAL1
2016-11-21 21:31:10 +00:00
INVERT LITERAL1
CLEAR_BUFFER LITERAL1
2016-06-15 20:18:06 +00:00
A_BUTTON LITERAL1
B_BUTTON LITERAL1
DOWN_BUTTON LITERAL1
LEFT_BUTTON LITERAL1
RIGHT_BUTTON LITERAL1
UP_BUTTON LITERAL1
PIN_SPEAKER_1 LITERAL1
PIN_SPEAKER_2 LITERAL1
BLUE_LED LITERAL1
GREEN_LED LITERAL1
RED_LED LITERAL1
RGB_OFF LITERAL1
RGB_ON LITERAL1
ARDUBOY_NO_USB LITERAL1