From 685cf5900825b10c952f36301abbbd9968567435 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 3 Dec 2012 20:43:58 +1100 Subject: 9 segment bitmap drawing: Use %x9(id) to draw an image in the whole current viewport using the 9 segment drawer (which draws the corners as normal and *tiles* the middle segments to the needed width/height). Future work is to make it scale instead of tile Change-Id: Ic3ed1cad93f96091694801eb442e0da5a2401203 --- apps/screen_access.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/screen_access.h') diff --git a/apps/screen_access.h b/apps/screen_access.h index ab2ef4f14d..ea05a2294d 100644 --- a/apps/screen_access.h +++ b/apps/screen_access.h @@ -167,6 +167,10 @@ struct screen unsigned start, unsigned end); #endif #endif +#if defined(HAVE_LCD_BITMAP) + void (*nine_segment_bmp)(const struct bitmap* bm, int x, int y, + int width, int height); +#endif }; #if defined(HAVE_LCD_BITMAP) || defined(HAVE_REMOTE_LCD) -- cgit v1.2.3