From a5399ccbefd5bbd45675a1415941f41b0da16622 Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Thu, 18 Feb 2016 22:06:41 -0800 Subject: [PATCH] add missing file --- topics/Hacking.md.html | 87 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 topics/Hacking.md.html diff --git a/topics/Hacking.md.html b/topics/Hacking.md.html new file mode 100644 index 0000000000..8e2e73ab50 --- /dev/null +++ b/topics/Hacking.md.html @@ -0,0 +1,87 @@ + + + + + KOReader Documentation + + + + +
+ +
+ +
+
+
+ + +
+ + + + + + +
+ + +

Hacking

+ +

Developing UI Widgets

+ +

If you need to create new UI widgets, utils/wbuilder.lua is your friend. It +sets up a minimal environment to bootstrap KOReader's UI framework to avoid +starting the whole reader. This gives you quick feedback loop while iterating +through your widget changes.

+ +

To get a taste of how it works, try running this command at the root of +KOReader's source tree:

+ +
 ./kodev wbuilder
+
+ + +

It will spawn up an emulator window with a grid and simple timer widget for +demonstration.

+ +

You can add your own UIManager:show show call at the end of +utils/wbuilder.lua to test your new widget.

+ + +
+
+
+generated by LDoc 1.4.3 +Last updated 2016-02-18 22:05:53 +
+
+ +