mirror of https://github.com/MLXXXp/Arduboy2.git
Adjust location of some braces for consistency
This is just a source formatting change.
This commit is contained in:
parent
cfb5e89d5c
commit
79f24c47cc
|
@ -177,7 +177,8 @@ bool Arduboy2Base::nextFrame()
|
|||
return post_render;
|
||||
}
|
||||
|
||||
bool Arduboy2Base::nextFrameDEV() {
|
||||
bool Arduboy2Base::nextFrameDEV()
|
||||
{
|
||||
bool ret = nextFrame();
|
||||
|
||||
if (ret) {
|
||||
|
@ -1155,11 +1156,13 @@ void Arduboy2::setCursor(int16_t x, int16_t y)
|
|||
cursor_y = y;
|
||||
}
|
||||
|
||||
int16_t Arduboy2::getCursorX() {
|
||||
int16_t Arduboy2::getCursorX()
|
||||
{
|
||||
return cursor_x;
|
||||
}
|
||||
|
||||
int16_t Arduboy2::getCursorY() {
|
||||
int16_t Arduboy2::getCursorY()
|
||||
{
|
||||
return cursor_y;
|
||||
}
|
||||
|
||||
|
@ -1184,7 +1187,8 @@ void Arduboy2::setTextWrap(bool w)
|
|||
textWrap = w;
|
||||
}
|
||||
|
||||
void Arduboy2::clear() {
|
||||
void Arduboy2::clear()
|
||||
{
|
||||
Arduboy2Base::clear();
|
||||
cursor_x = cursor_y = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue