/lk-master/lib/gfx/ |
A D | gfx.c | 106 surface->copyrect(surface, x, y, width, height, x2, y2); in gfx_copyrect() 130 surface->fillrect(surface, x, y, width, height, color); in gfx_fillrect() 142 surface->putpixel(surface, x, y, color); in gfx_putpixel() 351 surface->putpixel(surface, px, py, color); in gfx_line() 362 surface->putpixel(surface, px, py, color); in gfx_line() 516 surface->flush(0, surface->height-1); in gfx_flush() 568 surface->len = (surface->height * surface->stride * surface->pixelsize); in gfx_create_surface() 577 surface->len = (surface->height * surface->stride * surface->pixelsize); in gfx_create_surface() 585 surface->len = (surface->height * surface->stride * surface->pixelsize); in gfx_create_surface() 593 surface->len = (surface->height * surface->stride * surface->pixelsize); in gfx_create_surface() [all …]
|
/lk-master/lib/gfxconsole/ |
A D | gfxconsole.c | 35 gfx_surface *surface; member 58 …font_draw_char(gfxconsole.surface, c, gfxconsole.x * FONT_X, gfxconsole.y * FONT_Y, gfxconsole.fro… in gfxconsole_putc() 88 …gfx_copyrect(gfxconsole.surface, 0, FONT_Y, gfxconsole.surface->width, gfxconsole.surface->height … in gfxconsole_putc() 90 …gfx_fillrect(gfxconsole.surface, 0, gfxconsole.surface->height - FONT_Y - gfxconsole.extray, gfxco… in gfxconsole_putc() 91 gfx_flush(gfxconsole.surface); in gfxconsole_putc() 113 void gfxconsole_start(gfx_surface *surface) { in gfxconsole_start() argument 114 DEBUG_ASSERT(gfxconsole.surface == NULL); in gfxconsole_start() 117 gfxconsole.surface = surface; in gfxconsole_start() 120 gfxconsole.rows = surface->height / FONT_Y; in gfxconsole_start() 121 gfxconsole.columns = surface->width / FONT_X; in gfxconsole_start() [all …]
|
/lk-master/lib/gfx/include/lib/ |
A D | gfx.h | 63 void gfx_copyrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint x2, uint y2); 66 void gfx_fillrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint color); 69 void gfx_putpixel(gfx_surface *surface, uint x, uint y, uint color); 72 void gfx_line(gfx_surface *surface, uint x1, uint y1, uint x2, uint y2, uint color); 75 static inline void gfx_clear(gfx_surface *surface, uint color) { in gfx_clear() argument 76 surface->fillrect(surface, 0, 0, surface->width, surface->height, color); in gfx_clear() 78 if (surface->flush) in gfx_clear() 79 surface->flush(0, surface->height-1); in gfx_clear() 85 void gfx_flush(struct gfx_surface *surface); 87 void gfx_flush_rows(struct gfx_surface *surface, uint start, uint end); [all …]
|
/lk-master/lib/tga/ |
A D | tga.c | 55 static void decode_2byte(gfx_surface *surface, uint x, uint y, const void *input) { in decode_2byte() argument 65 gfx_putpixel(surface, x, y, 0xff000000 | r << 16 | g << 8 | b); in decode_2byte() 68 static void decode_3byte(gfx_surface *surface, uint x, uint y, const void *input) { in decode_3byte() argument 73 gfx_putpixel(surface, x, y, 0xff000000 | in[2] << 16 | in[1] << 8 | in[0]); in decode_3byte() 76 static void decode_4byte(gfx_surface *surface, uint x, uint y, const void *input) { in decode_4byte() argument 82 gfx_putpixel(surface, x, y, 0); in decode_4byte() 125 DEBUG_ASSERT(surface); in tga_decode() 151 surfacey = (surface->height - 1) - y; in tga_decode() 186 decodefunc(surface, x, y, (const uint8_t *)imagestart + pos); in tga_decode() 190 if (x == surface->width) { in tga_decode() [all …]
|
/lk-master/lib/text/ |
A D | text.c | 67 gfx_surface *surface = gfx_create_surface_from_display(&fb); in text_update() local 74 font_draw_char(surface, *c, x, line->y, TEXT_COLOR); in text_update() 79 gfx_flush(surface); in text_update() 81 gfx_surface_destroy(surface); in text_update()
|
/lk-master/lib/font/ |
A D | font.c | 30 void font_draw_char(gfx_surface *surface, unsigned char c, int x, int y, uint32_t color) { in font_draw_char() argument 39 gfx_putpixel(surface, x + j, y + i, color); in font_draw_char() 43 gfx_flush_rows(surface, y, y + FONT_Y); in font_draw_char()
|
/lk-master/lib/gfxconsole/include/lib/ |
A D | gfxconsole.h | 13 void gfxconsole_start(gfx_surface *surface);
|
/lk-master/lib/font/include/lib/ |
A D | font.h | 18 void font_draw_char(gfx_surface *surface, unsigned char c, int x, int y, uint32_t color);
|
/lk-master/external/platform/lpc15xx/lpcopen/usbd_rom_hid_mouse/example/ |
A D | readme.dox | 39 * The tiny joystick that is surface mounted on the eval board moves the mouse.
|
/lk-master/external/platform/lpc15xx/lpcopen/usbd_rom_hid_keyboard/example/ |
A D | readme.dox | 40 * The tiny joystick that is surface mounted on the eval board has 4 positions
|