|
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright | Copyright (c) 2025 8BitMods. All rights reserved. --- --- Display and graphics utilities for VMU Pro LUA applications. --- All display functions are available globally in the LUA environment. --- @brief Clear the display with a specific color --- @param color number RGB565 color value(optional |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage | vmupro_display_clear () -- Clear to black --- @usage vmupro_display_clear(0xFFFF) -- Clear to white --- @usage vmupro_display_clear(0xF800) -- Clear to red --- @note This is a stub definition for IDE support only. --- Actual implementation is provided by VMU Pro firmware at runtime. function vmupro_display_clear(color) end --- @brief Refresh the display to show all drawing operations --- @usage vmupro_display_refresh() -- Update the screen --- @note Call this after drawing operations to make them visible --- @note This is a stub definition for IDE support only. --- Actual implementation is provided by VMU Pro firmware at runtime. function vmupro_display_refresh() end --- @brief Draw a rectangle outline --- @param x number X coordinate of top-left corner --- @param y number Y coordinate of top-left corner --- @param width number Width of rectangle --- @param height number Height of rectangle --- @param color number RGB565 color value --- @usage vmupro_draw_rect(10 |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage White rectangle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function | vmupro_draw_rect (x, y, width, height, color) end --- @brief Draw a filled rectangle --- @param x number X coordinate of top-left corner --- @param y number Y coordinate of top-left corner --- @param width number Width of rectangle --- @param height number Height of rectangle --- @param color number RGB565 color value --- @usage vmupro_draw_fill_rect(10 |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage White rectangle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function Red filled rectangle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function | vmupro_draw_fill_rect (x, y, width, height, color) end --- @brief Draw text on the display --- @param text string Text to display --- @param x number X coordinate for text --- @param y number Y coordinate for text --- @param color number RGB565 text color --- @param bg_color number RGB565 background color(optional |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage White rectangle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function Red filled rectangle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function defaults to black usage | vmupro_draw_text ("Hello World", 10, 10, 0xFFFF) -- White text on black background --- @usage vmupro_draw_text("Hello" |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage White rectangle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function Red filled rectangle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function defaults to black usage White text on blue background note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function | vmupro_draw_text (text, x, y, color, bg_color) end --- @brief Draw a line between two points --- @param x1 number X coordinate of first point --- @param y1 number Y coordinate of first point --- @param x2 number X coordinate of second point --- @param y2 number Y coordinate of second point --- @param color number RGB565 color value --- @usage vmupro_draw_line(0 |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage White rectangle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function Red filled rectangle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function defaults to black usage White text on blue background note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_WHITE Diagonal line note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function | vmupro_draw_line (x1, y1, x2, y2, color) end --- @brief Draw a circle outline --- @param x number X coordinate of center --- @param y number Y coordinate of center --- @param radius number Radius of circle --- @param color number RGB565 color value --- @usage vmupro_draw_circle(50 |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage White rectangle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function Red filled rectangle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function defaults to black usage White text on blue background note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_WHITE Diagonal line note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_RED Red circle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function | vmupro_draw_circle (x, y, radius, color) end --- @brief Draw a filled circle --- @param x number X coordinate of center --- @param y number Y coordinate of center --- @param radius number Radius of circle --- @param color number RGB565 color value --- @usage vmupro_draw_circle_filled(50 |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage White rectangle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function Red filled rectangle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function defaults to black usage White text on blue background note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_WHITE Diagonal line note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_RED Red circle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_BLUE Blue filled circle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function | vmupro_draw_circle_filled (x, y, radius, color) end --- @brief Draw an ellipse outline --- @param x number X coordinate of center --- @param y number Y coordinate of center --- @param rx number X-axis radius --- @param ry number Y-axis radius --- @param color number RGB565 color value --- @usage vmupro_draw_ellipse(50 |
| |
| file vmupro_display lua brief VMU Pro LUA SDK Display and Graphics Functions author version date copyright defaults to black usage White rectangle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function Red filled rectangle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function defaults to black usage White text on blue background note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_WHITE Diagonal line note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_RED Red circle outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_BLUE Blue filled circle note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function COLOR_GREEN Green ellipse outline note This is a stub definition for IDE support only Actual implementation is provided by VMU Pro firmware at runtime function | vmupro_draw_ellipse (x, y, rx, ry, color) end --- @brief Draw a filled ellipse --- @param x number X coordinate of center --- @param y number Y coordinate of center --- @param rx number X-axis radius --- @param ry number Y-axis radius --- @param color number RGB565 color value --- @usage vmupro_draw_ellipse_filled(50 |
| |