Finish renaming `utils` to `tools`

Continues the work of 9afad43a3e
pull/2383/head
Dimitrios Semitsoglou-Tsiapos 8 years ago committed by Qingping Hou
parent b16a33a232
commit 2ed6cf760d

@ -4,7 +4,7 @@ Hacking
Developing UI Widgets 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 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 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 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 It will spawn up an emulator window with a grid and simple timer widget for
demonstration. 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. test your new widgets.

@ -204,7 +204,7 @@ function kodev-wbuilder {
kodev-build kodev-build
echo "[*] Running wbuilder.lua..." echo "[*] Running wbuilder.lua..."
pushd "${EMU_DIR}" 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 popd
} }

@ -394,7 +394,7 @@ function testBookStatus()
end end
function testTouchProbe() function testTouchProbe()
local TouchProbe = require("utils/kobo_touch_probe") local TouchProbe = require("tools/kobo_touch_probe")
UIManager:show(TouchProbe:new{}) UIManager:show(TouchProbe:new{})
end end

Loading…
Cancel
Save