CheeseBoard
A library for use with the CheeseBoard Cheddar platform
GfxScene.h
1 #pragma once
2 
3 #include <Arduino.h>
4 #include <stdint.h>
5 #include "GfxItem.h"
6 
8 class GfxScene {
9 public:
10  const static uint8_t MaxItems = 16;
11 
12 public:
13  GfxScene();
14 
16  bool add(GfxItem* item);
17 
19  void draw();
20 
21 protected:
22  GfxItem *_items[MaxItems];
23 
24 };
25 
bool add(GfxItem *item)
Definition: GfxScene.cpp:10
Definition: GfxItem.h:5
void draw()
Draws all items in a scene in order.
Definition: GfxScene.cpp:21