1
0
mirror of https://github.com/s00500/SimpleExpressions synced 2024-11-23 11:00:54 +00:00
SimpleExpressions/Shapes.h

122 lines
1.6 KiB
C
Executable File

#ifndef Shapes_h
#define Shapes_h
struct Frame
{
char name[20];
bool data[7];
}
typedef Frame;
struct MulticolorFrame
{
char name[20];
int data[7][3];
}
typedef MulticolorFrame;
//***********************************************************************************
//*********************************MOUTHS DEFINES************************************
//***********************************************************************************
#define frameCount 18
#define colorFrameCount 1
// TODO: calculate me
const Frame shapes[] = {
{
"zeros",
{0, 0, 0, 0, 0, 0, 0}
},
{
"happySmall",
{0, 0, 1, 1, 0, 0, 0}
},
{
"happyFull",
{0, 1, 1, 1, 1, 0, 0}
},
{
"sadSmall",
{0, 0, 0, 0, 0, 1, 1}
},
{
"sadFull",
{0, 1, 0, 0, 1, 1, 1}
},
{
"neutral",
{1, 1, 0, 0, 1, 0, 0}
},
{
"circle",
{0, 1, 1, 1, 1, 1, 1}
},
{
"center",
{1, 0, 0, 0, 0, 0, 0}
},
{
"hook",
{1, 0, 0, 1, 1, 0, 1}
},
{
"upsidedownhook",
{1, 0, 1, 0, 1, 1, 0}
},
{
"kooh",
{1, 1, 1, 0, 0, 1, 0}
},
{
"upsidedownkooh",
{1, 1, 0, 1, 0, 0, 1}
},
{
"cross",
{1, 0, 1, 1, 0, 1, 1}
},
{
"rect",
{0, 0, 1, 1, 0, 1, 1}
},
{
"leftarrow",
{1, 1, 0, 1, 1, 1, 0}
},
{
"rightarrow",
{1, 1, 1, 0, 1, 0, 1}
},
{
"lefthalf",
{0, 0, 0, 1, 1, 1, 0}
},
{
"righthalf",
{0, 1, 1, 0, 0, 0, 1}
},
};
const MulticolorFrame colorShapes[] = {
{
"colorCircle",
{
{50,0,0},
{0,50,0},
{0,0,50},
{50,0,0},
{0,50,0},
{0,0,50},
{50,0,0}
}
}
};
#endif