Add Notepad app (#1010)

* easier 'now', start adding text editor

* Adding scrolling to notepad

* Better scrolling

* Better scrolling, off-by-1 bugs

* MVP fit and finish

* Add tiny font and use in Notepad

* Font tweaking, tiny font cursor

* Fix warning

* Format changed files

---------

Co-authored-by: kallanreed <kallanreed@outlook.com>
This commit is contained in:
Kyle Reed 2023-05-19 13:39:35 -07:00 committed by GitHub
parent 693d7864e4
commit 02811b9967
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 1316 additions and 56 deletions

View file

@ -24,12 +24,21 @@
#include "signal.hpp"
#include "lpc43xx_cpp.hpp"
using namespace lpc43xx;
namespace rtc_time {
extern Signal<> signal_tick_second;
void on_tick_second();
/* Returns the current RTCTime from the RTC. */
rtc::RTC now();
/* Returns the current RTCTime from the RTC. */
rtc::RTC now(rtc::RTC& out_datetime);
} /* namespace rtc_time */
#endif /*__RTC_TIME_H__*/