lorenzo906 / m2tklib

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

M2_HLINE #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
read only element which draws a horizontal line

Original issue reported on code.google.com by olikr...@gmail.com on 26 Dec 2012 at 5:08

GoogleCodeExporter commented 8 years ago
#define M2_GFX_MSG_DRAW_HLINE                   3
#define M2_GFX_MSG_DRAW_VLINE                       4
#define M2_GFX_MSG_DRAW_BOX                         5

    case M2_GFX_MSG_DRAW_HLINE:
      u8g_DrawHLine(m2_u8g, arg->x, m2_u8g_height_minus_one - arg->y, arg->w);
      break;
    case M2_GFX_MSG_DRAW_VLINE:
      u8g_DrawVLine(m2_u8g, arg->x, m2_u8g_height_minus_one - arg->y, arg->h);  
      break;
    case M2_GFX_MSG_DRAW_BOX:
      m2_u8g_draw_box(arg->x, arg->y, arg->w, arg->h);
      break;

void m2_gfx_hline(uint8_t x0, uint8_t y0, uint8_t w);
void m2_gfx_vline(uint8_t x0, uint8_t y0, uint8_t h);
void m2_gfx_box(uint8_t x0, uint8_t y0, uint8_t w, uint8_t h);

--> hline, vline and box are not used at the moment

Original comment by olikr...@gmail.com on 1 Mar 2013 at 9:09

GoogleCodeExporter commented 8 years ago
implemented: M2_BOX

http://code.google.com/p/m2tklib/wiki/elref#BOX

Original comment by olikr...@gmail.com on 24 Mar 2013 at 9:09