[Horus] UI continued

This commit is contained in:
Bertrand Songis
2015-11-18 22:07:48 +01:00
parent 22a24d67c9
commit b7c09d703c
40 changed files with 535 additions and 244 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ point_t getPoint(uint8_t i)
void DrawCurve(uint8_t offset=0)
{
DrawFunction(curveFn, offset);
drawFunction(curveFn, offset);
uint8_t i = 0;
do {
+2 -2
View File
@@ -82,7 +82,7 @@ int16_t expoFn(int16_t x)
return anas[ed->chn];
}
void DrawFunction(FnFuncP fn, uint8_t offset)
void drawFunction(FnFuncP fn, uint8_t offset)
{
lcdDrawVerticalLine(X0-offset, 0, LCD_H, 0xee);
lcdDrawHorizontalLine(X0-WCHART-offset, Y0, WCHART*2, 0xee);
@@ -368,7 +368,7 @@ void menuModelExpoOne(uint8_t event)
y += FH;
}
DrawFunction(expoFn);
drawFunction(expoFn);
int16_t x512 = calibratedStick[ed->chn];
lcd_outdezAtt(LCD_W-8, 6*FH, calcRESXto100(x512), 0);
+1 -1
View File
@@ -460,6 +460,6 @@ void displayWarning(uint8_t event);
#define EDIT_MODE_INIT -1
typedef int16_t (*FnFuncP) (int16_t x);
void DrawFunction(FnFuncP fn, uint8_t offset=0);
void drawFunction(FnFuncP fn, uint8_t offset=0);
#endif // _MENUS_H_