gaemir / u8glib

Automatically exported from code.google.com/p/u8glib
0 stars 0 forks source link

Implement indexed color and hi/full-color modes #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

The message U8G_DEV_MSG_SET_COLOR_INDEX 
is unused so far, add a suitable structure for this message.

I think this message has not been used so far.

Original issue reported on code.google.com by olikr...@gmail.com on 20 May 2013 at 9:42

GoogleCodeExporter commented 9 years ago
added
typedef struct _u8g_irgb_t u8g_irgb_t;

Rename U8G_DEV_MSG_SET_COLOR_INDEX toU8G_DEV_MSG_SET_COLOR_ENTRY

Original comment by olikr...@gmail.com on 20 May 2013 at 7:21

GoogleCodeExporter commented 9 years ago
Added U8G_MODE_INDEX
Added u8g::setColorEntry()

Original comment by olikr...@gmail.com on 21 May 2013 at 4:52

GoogleCodeExporter commented 9 years ago
Rename u8g_irgb_t to u8g_dev_arg_irgb_t

Original comment by olikr...@gmail.com on 21 May 2013 at 4:58

GoogleCodeExporter commented 9 years ago
Added u8g::setHiColor
updated modes for index and hi color

Original comment by olikr...@gmail.com on 21 May 2013 at 5:24

GoogleCodeExporter commented 9 years ago
ToDo: create 8h16 (or 4h16) mem architecture

Original comment by olikr...@gmail.com on 21 May 2013 at 5:33

GoogleCodeExporter commented 9 years ago
renamed u8g_dev_ssd1351_128x128_xxx to
u8g_dev_ssd1351_128x128_332_sw_spi and u8g_dev_ssd1351_128x128_332_hw_spi

Original comment by olikr...@gmail.com on 22 May 2013 at 4:18

GoogleCodeExporter commented 9 years ago
added u8g_dev_ssd1351_128x128_idx_xxx
ToDo
  Documentation
    device U8GLIB_SSD1351_128X128_332
    device U8GLIB_SSD1351_128X128_IDX
    fn setColorEntry
    fn setHiColor
  Code
    Support larger buffer 32h8 instead of 8h8
    Implement Hi Color Mode

Original comment by olikr...@gmail.com on 22 May 2013 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by olikr...@gmail.com on 22 May 2013 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by olikr...@gmail.com on 22 May 2013 at 5:01

GoogleCodeExporter commented 9 years ago
Support larger buffer 32h8 instead of 8h8 --> already includes 8 lines --> 
u8g_dev_ssd1351_128x128.c should be updated.

uint8_t u8g_index_color_8h8_buf[WIDTH*8] U8G_NOCOMMON ; 
u8g_pb_t u8g_index_color_8h8_pb = { {8, HEIGHT, 0, 0, 0},  WIDTH, 
u8g_index_color_8h8_buf}; 
u8g_dev_t u8g_dev_sdl_8bit = { u8g_dev_sdl_8bit_fn, &u8g_index_color_8h8_pb, 
NULL };

-_> Done, testing required

Original comment by olikr...@gmail.com on 22 May 2013 at 10:29

GoogleCodeExporter commented 9 years ago
added hi color memory handler:
uint8_t u8g_dev_pbxh16_base_fn(u8g_t *u8g, u8g_dev_t *dev, uint8_t msg, void 
*arg);

Original comment by olikr...@gmail.com on 22 May 2013 at 2:18

GoogleCodeExporter commented 9 years ago
also added full color mode

Original comment by olikr...@gmail.com on 26 May 2013 at 4:17

GoogleCodeExporter commented 9 years ago
http://www.kickstarter.com/projects/ilsoftltd/colour-oled-breakout-board

Original comment by olikr...@gmail.com on 11 Jun 2013 at 6:59

GoogleCodeExporter commented 9 years ago
full color mode not yet added (maybe later)
all other todo's done...

Original comment by olikr...@gmail.com on 30 Jun 2013 at 7:17