From 2ed6cf760d9be55069dcc838828a88c38491e854 Mon Sep 17 00:00:00 2001 From: Dimitrios Semitsoglou-Tsiapos Date: Fri, 25 Nov 2016 16:57:02 +0200 Subject: [PATCH] Finish renaming `utils` to `tools` Continues the work of 9afad43a3ea781e98895fadbd85fac3fa42d2f45 --- doc/Hacking.md | 4 ++-- kodev | 2 +- tools/wbuilder.lua | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/Hacking.md b/doc/Hacking.md index 725c0c1e2..58f9fef1e 100644 --- a/doc/Hacking.md +++ b/doc/Hacking.md @@ -4,7 +4,7 @@ Hacking Developing UI Widgets --------------------- -`utils/wbuilder.lua` is your friend, if you need to create new UI widgets. It +`tools/wbuilder.lua` is your friend, if you need to create new UI widgets. 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. It's also a handy tool for debugging widget @@ -20,5 +20,5 @@ KOReader's source tree: It will spawn up an emulator window with a grid and simple timer widget for demonstration. -You can add more `UIManager:show` call at the end of `utils/wbuilder.lua` to +You can add more `UIManager:show` call at the end of `tools/wbuilder.lua` to test your new widgets. diff --git a/kodev b/kodev index 6ce99864e..d83f001fc 100755 --- a/kodev +++ b/kodev @@ -204,7 +204,7 @@ function kodev-wbuilder { kodev-build echo "[*] Running wbuilder.lua..." pushd "${EMU_DIR}" - EMULATE_READER_W=540 EMULATE_READER_H=720 ./luajit ./utils/wbuilder.lua + EMULATE_READER_W=540 EMULATE_READER_H=720 ./luajit ./tools/wbuilder.lua popd } diff --git a/tools/wbuilder.lua b/tools/wbuilder.lua index f3440981c..62f8f26bc 100755 --- a/tools/wbuilder.lua +++ b/tools/wbuilder.lua @@ -394,7 +394,7 @@ function testBookStatus() end function testTouchProbe() - local TouchProbe = require("utils/kobo_touch_probe") + local TouchProbe = require("tools/kobo_touch_probe") UIManager:show(TouchProbe:new{}) end