This should explode in multiple ways. Let's see.

This commit is contained in:
Thomas Göttgens
2026-04-18 20:40:14 +02:00
parent 34aa5e995b
commit 110933d73f
215 changed files with 3092 additions and 3079 deletions
@@ -0,0 +1,36 @@
#ifdef MESHTASTIC_INCLUDE_INKHUD
/*
A bare-minimum example of an InkHUD applet.
Only prints Hello World.
In variants/<your device>/nicheGraphics.h:
- include this .h file
- add the following line of code:
windowManager->addApplet("Basic", new InkHUD::BasicExampleApplet);
*/
#pragma once
#include "configuration.h"
#include "graphics/niche/Applet.h"
namespace NicheGraphics::InkHUD
{
class BasicExampleApplet : public Applet
{
public:
// You must have an onRender() method
// All drawing happens here
void onRender(bool full) override;
};
} // namespace NicheGraphics::InkHUD
#endif