User Tools

Site Tools


projects:louie-the-gui

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

projects:louie-the-gui [2020/05/02 17:18] – created - external edit 127.0.0.1projects:louie-the-gui [2025/06/14 06:43] (current) – removed jkent
Line 1: Line 1:
-====== Louie the GUI ====== 
- 
-Louie the GUI is a tile based immediate GUI intended for microcontrollers. 
- 
-Tilesets are 1bpp. 
- 
-<code:c> 
-typedef struct louie_tileset_t louie_tileset_t; 
-struct louie_tileset_t { 
-    uint8_t tile_width; 
-    uint8_t tile_height; 
-    uint16_t reserved; 
-    uint16_t first_tile; 
-    uint16_t last_tile; 
-    uint8_t tile_data[]; 
-}; 
-</code> 
- 
-Tilemaps are 16-bit.  The 4 most significant bits are two color entries, which reference a device specific, 4-entry palette map. 
- 
-=== Tile entry: === 
-^  bits 15-14  ^  bits 13-12    bits 11-0   ^ 
-|  on/1 color  |  off/0 color  |  tile index  | 
- 
  
projects/louie-the-gui.1588439933.txt.gz · Last modified: by 127.0.0.1