Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adjust whitespace (git blame -w to ignore)
- Loading branch information
Showing
25 changed files
with
259 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
#ifndef ABOUTSCREEN_H_ | ||
#define ABOUTSCREEN_H_ | ||
|
||
#include "TextElement.hpp" | ||
#include "../libs/get/src/Get.hpp" | ||
#include "ImageElement.hpp" | ||
#include "ListElement.hpp" | ||
#include "../libs/get/src/Get.hpp" | ||
#include "TextElement.hpp" | ||
|
||
class AboutScreen : public Element | ||
{ | ||
public: | ||
AboutScreen(Get* get); | ||
Get* get = NULL; | ||
void render(Element* parent); | ||
AboutScreen(Get* get); | ||
Get* get = NULL; | ||
void render(Element* parent); | ||
|
||
// button bindings | ||
void back(); | ||
void removeEmptyFolders(); | ||
void wipeCache(); | ||
void launchFeedback(); | ||
// button bindings | ||
void back(); | ||
void removeEmptyFolders(); | ||
void wipeCache(); | ||
void launchFeedback(); | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
#include "TextElement.hpp" | ||
#include "ImageElement.hpp" | ||
#include "TextElement.hpp" | ||
|
||
class Button : public Element | ||
{ | ||
public: | ||
Button(const char* text, int button, bool dark = false, int size = 20, int width = 0); | ||
bool process(InputEvents* event); | ||
void render(Element* parent); | ||
void position(int x, int y); | ||
|
||
// original x and y coordinates of this button before add in the parent | ||
int ox = 0, oy = 0; | ||
Button(const char* text, int button, bool dark = false, int size = 20, int width = 0); | ||
bool process(InputEvents* event); | ||
void render(Element* parent); | ||
void position(int x, int y); | ||
|
||
// the physical button to activate this button | ||
int physical = -1; | ||
// original x and y coordinates of this button before add in the parent | ||
int ox = 0, oy = 0; | ||
|
||
bool dark = false; | ||
// the physical button to activate this button | ||
int physical = -1; | ||
|
||
bool dark = false; | ||
|
||
// TOOD: callback -> part of Element? | ||
// TOOD: callback -> part of Element? | ||
}; |
Oops, something went wrong.