54 lines
940 B
C++
54 lines
940 B
C++
#include "time.h"
|
|
|
|
/*
|
|
LiquidCrystal* display = getDisplay();
|
|
display->setCursor(0, 1);
|
|
|
|
String time = FormatTime(ExposureTime);
|
|
uint8_t offset = (LCDWidth - time.length()) / 2;
|
|
|
|
for (uint8_t space = 0; space < offset; space++)
|
|
display->print(' ');
|
|
|
|
display->print(time);
|
|
offset += time.length();
|
|
|
|
if (getEditMode())
|
|
{
|
|
display->write(LCDCharUpDown);
|
|
offset++;
|
|
}
|
|
|
|
for (uint8_t space = offset; space < LCDWidth; space++)
|
|
display->print(' ');
|
|
|
|
|
|
|
|
|
|
|
|
if (newPosition > lastPosition)
|
|
ExposureTime += ExposureTime >= LargeStepTreshold ? LargeStep : SmallStep;
|
|
else if (ExposureTime > 0)
|
|
ExposureTime -= ExposureTime > LargeStepTreshold ? LargeStep : SmallStep;
|
|
*/
|
|
|
|
char* TimeMenuItem::getTitle()
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
|
|
char* TimeMenuItem::getValue()
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
|
|
void TimeMenuItem::incValue()
|
|
{
|
|
}
|
|
|
|
|
|
void TimeMenuItem::decValue()
|
|
{
|
|
} |