Update Arduboy2.cpp
just a few more things that had to be referenced. works great now
This commit is contained in:
parent
22d49b4edc
commit
8565086d8f
|
@ -10,17 +10,16 @@
|
||||||
//========== class Arduboy2Base ==========
|
//========== class Arduboy2Base ==========
|
||||||
//========================================
|
//========================================
|
||||||
|
|
||||||
uint8_t Arduboy2Base::sBuffer[];
|
uint8_t Arduboy2Base::sBuffer[];
|
||||||
|
|
||||||
Arduboy2Base::Arduboy2Base()
|
uint8_t Arduboy2Base::currentButtonState = 0;
|
||||||
{
|
uint8_t Arduboy2Base::previousButtonState = 0;
|
||||||
currentButtonState = 0;
|
|
||||||
previousButtonState = 0;
|
|
||||||
// frame management
|
// frame management
|
||||||
setFrameRate(60);
|
uint16_t Arduboy2Base::frameCount = 0;
|
||||||
frameCount = 0;
|
uint8_t Arduboy2Base::eachFrameMillis = 16;
|
||||||
justRendered = false;
|
uint8_t Arduboy2Base::thisFrameStart;
|
||||||
}
|
uint8_t Arduboy2Base::lastFrameDurationMs;
|
||||||
|
bool Arduboy2Base::justRendered = false;
|
||||||
|
|
||||||
// functions called here should be public so users can create their
|
// functions called here should be public so users can create their
|
||||||
// own init functions if they need different behavior than `begin`
|
// own init functions if they need different behavior than `begin`
|
||||||
|
@ -1177,15 +1176,14 @@ void Arduboy2Base::swapInt16(int16_t& a, int16_t& b)
|
||||||
//========== class Arduboy2 ==========
|
//========== class Arduboy2 ==========
|
||||||
//====================================
|
//====================================
|
||||||
|
|
||||||
Arduboy2::Arduboy2()
|
int16_t Arduboy2::cursor_x = 0;
|
||||||
{
|
int16_t Arduboy2::cursor_y = 0;
|
||||||
cursor_x = 0;
|
uint8_t Arduboy2::textColor = 1;
|
||||||
cursor_y = 0;
|
uint8_t Arduboy2::textBackground = 0;
|
||||||
textColor = 1;
|
uint8_t Arduboy2::textSize = 1;
|
||||||
textBackground = 0;
|
bool Arduboy2::textWrap = false;
|
||||||
textSize = 1;
|
//bool Arduboy2::textRaw = false;
|
||||||
textWrap = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// bootLogoText() should be kept in sync with bootLogoShell()
|
// bootLogoText() should be kept in sync with bootLogoShell()
|
||||||
// if changes are made to one, equivalent changes should be made to the other
|
// if changes are made to one, equivalent changes should be made to the other
|
||||||
|
|
Loading…
Reference in New Issue