Merge pull request #151 from nobodywasishere/copying-condition
Add source code license and link to github to system app
This commit is contained in:
commit
1ca0c52983
|
@ -112,6 +112,13 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen2() {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
|
std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
|
||||||
strncpy(t3, "Hello from\nthe developer!", 27);
|
sprintf(t3, "Hello from\nthe developer!\n"
|
||||||
|
"Software Licensed\n"
|
||||||
|
"under the terms of\n"
|
||||||
|
"the GNU General\n"
|
||||||
|
"Public License v3\n"
|
||||||
|
"Source code:\n"
|
||||||
|
"https://github.com/\n"
|
||||||
|
" JF002/Pinetime");
|
||||||
return std::unique_ptr<Screen>(new Screens::Label(app, t3));
|
return std::unique_ptr<Screen>(new Screens::Label(app, t3));
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace Pinetime {
|
||||||
|
|
||||||
char t1[200];
|
char t1[200];
|
||||||
char t2[200];
|
char t2[200];
|
||||||
char t3[30];
|
char t3[200];
|
||||||
|
|
||||||
ScreenList<3> screens;
|
ScreenList<3> screens;
|
||||||
std::unique_ptr<Screen> CreateScreen1();
|
std::unique_ptr<Screen> CreateScreen1();
|
||||||
|
|
Loading…
Reference in a new issue