Expand description
Brain screen display and touch functions.
Contains user calls to the v5 screen for touching and displaying graphics.
Structs§
- screen_
touch_ status_ s_ t - Struct representing screen touch status, screen last x, screen last y, press count, release count.
Constants§
- E_
TEXT_ LARGE - E_
TEXT_ LARGE_ CENTER - E_
TEXT_ MEDIUM - E_
TEXT_ MEDIUM_ CENTER - E_
TEXT_ SMALL - E_
TOUCH_ ERROR - E_
TOUCH_ HELD - E_
TOUCH_ PRESSED - E_
TOUCH_ RELEASED
Functions§
- display_
fatal_ ⚠error - Display a fatal error to the built-in LCD/touch screen.
- screen_
copy_ ⚠area - Copy a screen region (designated by a rectangle) from an off-screen buffer to the screen
- screen_
draw_ ⚠circle - Draw a circle on the screen using the current pen color
- screen_
draw_ ⚠line - Draw a line on the screen using the current pen color
- screen_
draw_ ⚠pixel - Draw a single pixel on the screen using the current pen color
- screen_
draw_ ⚠rect - Draw a rectangle on the screen using the current pen color
- screen_
erase ⚠ - Clear display with eraser color
- screen_
erase_ ⚠circle - Erase a circle on the screen using the current eraser color
- screen_
erase_ ⚠line - Erase a line on the screen using the current eraser color
- screen_
erase_ ⚠pixel - Erase a pixel from the screen (Sets the location)
- screen_
erase_ ⚠rect - Erase a rectangle on the screen using the current eraser color
- screen_
fill_ ⚠circle - Fill a circular region of the screen using the current pen color
- screen_
fill_ ⚠rect - Fill a rectangular region of the screen using the current pen color
- screen_
get_ ⚠eraser - Get the current eraser color.
- screen_
get_ ⚠pen - Get the current pen color.
- screen_
print ⚠ - Print a formatted string to the screen on the specified line
- screen_
print_ ⚠at - Print a formatted string to the screen at the specified point
- screen_
scroll ⚠ - Scroll lines on the display upwards.
- screen_
scroll_ ⚠area - Scroll lines within a region on the display
- screen_
set_ ⚠eraser - Set the eraser color for erasing and the current background.
- screen_
set_ ⚠pen - Set the pen color for subsequent graphics operations
- screen_
touch_ ⚠callback - Assigns a callback function to be called when a certain touch event happens.
- screen_
touch_ ⚠status - Gets the touch status of the last touch of the screen.
- screen_
vprintf ⚠ - Print a formatted string to the screen on the specified line