Change-Id: I63908b03d0276aa78bc8a266c62a89c98f9634c1
/* Drawing Commands */
/************************************************************************/
-#define NUM_PER_LINE 6
-#define SIZE (WIDTH/NUM_PER_LINE)
+#define NUM_PER_ROW 7
+#define NUM_PER_COL 6
+#define SIZE (WIDTH/NUM_PER_ROW)
static int count = 0;
if (picture->load(buf) != tvg::Result::Success) return;
picture->size(SIZE, SIZE);
- picture->translate((count % NUM_PER_LINE) * SIZE, SIZE * (count / NUM_PER_LINE));
+ picture->translate((count % NUM_PER_ROW) * SIZE, (count / NUM_PER_ROW) * (HEIGHT / NUM_PER_COL));
pictures.push_back(move(picture));