Finish renaming utils to tools

Continues the work of 9afad43a3e
This commit is contained in:
Dimitrios Semitsoglou-Tsiapos
2016-11-25 16:57:02 +02:00
committed by Qingping Hou
parent b16a33a232
commit 2ed6cf760d
3 changed files with 4 additions and 4 deletions

View File

@@ -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.

2
kodev
View File

@@ -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
}

View File

@@ -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