New InfoMessage Concept

Part I (still no unireader, crereader, filesearcher & fileinfo)

Conflicts:

	commands.lua
	dialog.lua
	filechooser.lua
	filehistory.lua
	font.lua
	inputbox.lua
	reader.lua
	resources/info-i.png
	screen.lua
	selectmenu.lua
This commit is contained in:
NuPogodi
2012-10-03 00:45:45 +02:00
committed by Qingping Hou
parent 4310b68b3b
commit 0eaf2671fd
10 changed files with 63 additions and 6 deletions

View File

@@ -139,6 +139,26 @@ end
-- @TODO dirty workaround, find a way to force native system poll
-- screen orientation and upside down mode 09.03 2012
Screen:setRotationMode(Screen.native_rotation_mode)
if file then
running = openFile(file)
else
running = false
end
showReader(ARGV[optind], optarg["p"])
end
UIManager:run()
elseif last_file and lfs.attributes(last_file, "mode") == "file" then
showReader(last_file, optarg["p"])
UIManager:run()
else
return showusage()
end
-- @TODO dirty workaround, find a way to force native system poll
-- screen orientation and upside down mode 09.03 2012
Screen:setRotationMode(Screen.native_rotation_mode)