Commit Graph

750 Commits

Author SHA1 Message Date
HW
60ccd7441e fixed menu info displaying, replaced debug() by DEBUG()
the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
2012-05-28 18:59:16 +02:00
HW
8191cbe852 some fixes to filechoser and menu 2012-05-28 00:14:08 +02:00
HW
ca3247320f first filechooser implementation 2012-05-27 23:43:00 +02:00
HW
c136773203 some minor changes to avoid long access paths into tables 2012-05-27 18:23:01 +02:00
HW
a92f63bfed Merge pull request #177 from houqp/new_ui_code
First try on Toc Menu
2012-05-27 06:27:02 -07:00
Qingping Hou
cf048e286d add toc menu support for readerui 2012-05-27 19:47:22 +08:00
Qingping Hou
284d5ce9d9 two bug fixes in menu widget
* update page info
* item shortcut support in all pages
2012-05-27 19:44:37 +08:00
Qingping Hou
07e17125b5 add select callback to menu and bug fix in shortcut 2012-05-27 14:03:13 +08:00
HW
d5c7e6ccb5 factored out pdfdocument implementation 2012-05-19 01:13:53 +02:00
HW
9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
2012-05-19 01:10:57 +02:00
HW
2a2a0828c8 added example usage for reader widget 2012-05-19 00:50:57 +02:00
HW
f685f68852 added reader widget implementation
zooming, rotating, panning works already
2012-05-19 00:50:26 +02:00
HW
bc191c1d9e started with a document abstraction
for now, only an implementation for PDFs exist. to be
separated out... and we need implementations for the
other supported engines
2012-05-19 00:49:01 +02:00
HW
389ee898b4 load geometry abstraction with ui 2012-05-19 00:44:06 +02:00
HW
0865d89463 geometry abstraction 2012-05-19 00:37:49 +02:00
HW
5cf8fec09d added input group for numerical input 2012-05-19 00:35:46 +02:00
HW
ec39c408e9 add new generic global cache 2012-05-19 00:35:09 +02:00
Dobrica Pavlinušić
33538c4f66 Merge pull request #161 from houqp/new_ui_code
more fixes in new_ui_code
2012-05-02 06:17:37 -07:00
Qingping Hou
0ddc9f26da Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 2012-05-02 20:39:47 +08:00
Qingping Hou
e300881361 update test file & add TestGrid widget for debug 2012-05-02 20:38:36 +08:00
Qingping Hou
2e3e0d849a some more fixes for menu widget 2012-05-02 20:37:38 +08:00
Qingping Hou
c9114dabcc revert getSize() method of FrameContainer
my previous modification is wrong.
2012-05-02 20:37:19 +08:00
Dobrica Pavlinušić
5e7b0bfeb9 Merge pull request #160 from houqp/new_ui_code
more changes in new_ui_code
2012-05-02 03:44:47 -07:00
Qingping Hou
12bf282ef2 fix bug in paintRoundedRect
rounded up decimal leads to wrong claculation
for bottom corners
2012-05-02 11:33:34 +08:00
Qingping Hou
e2fc72b411 add more styles for menu item icons 2012-05-01 17:36:01 +08:00
Qingping Hou
525c2f17c0 use rendertext in TextWidget for text background support 2012-05-01 17:35:33 +08:00
Dobrica Pavlinušić
c486f5f8b3 Merge pull request #155 from houqp/new_ui_code
add paintRoundedRect & use it in FrameContainer
2012-04-30 03:30:59 -07:00
Qingping Hou
c70146bf7e use paintRoundedRect in FrameContainer 2012-04-30 15:40:43 +08:00
Qingping Hou
e2911b8d8f add paintRoundedRect in graphics.lua 2012-04-30 15:39:44 +08:00
Dobrica Pavlinušić
76f8b2bdd9 Merge pull request #152 from houqp/new_ui_code
half done menu widget for new ui framework
2012-04-29 10:30:34 -07:00
Qingping Hou
aee9871d4d add PgBack and PgFwd key group in inputevent.lua 2012-04-29 23:54:20 +08:00
Qingping Hou
b47d5b76eb add demo menu widget in new ui framework 2012-04-29 23:53:48 +08:00
Qingping Hou
df1c8814ea Merge branch 'master' into new_ui_code 2012-04-28 14:44:29 +08:00
Qingping Hou
3ef820681b add radius property to FrameContainer 2012-04-28 14:41:05 +08:00
Qingping Hou
c23555c48d use RoundedCornerRect to draw buttons frame
Also did some tunings for ConfirmBox widget.
2012-04-28 14:38:00 +08:00
Qingping Hou
2a7cfb68f5 add callback functions to confirmbox buttons 2012-04-28 11:58:33 +08:00
Qingping Hou
81d733d269 fix bug in TextBoxWidget
shrink box width if text is shorter than one line.
2012-04-28 11:49:38 +08:00
Qingping Hou
db02c7ca1d apply key repeat from menus 2012-04-28 09:28:50 +08:00
Dobrica Pavlinusic
bb5c54dd1c Merge branch 'master' of github.com:hwhw/kindlepdfviewer v2012.04.2 2012-04-27 23:45:21 +02:00
Dobrica Pavlinusic
761cd68964 highlight mode also benefits from key repeat 2012-04-27 23:45:07 +02:00
Dobrica Pavlinušić
97f8b80db2 Merge pull request #147 from dpavlin/issue_142_key_repeat
few more places in which repeat key is useful
2012-04-27 14:36:46 -07:00
Dobrica Pavlinusic
c688e6e20c few more places in which repeat key is useful 2012-04-27 23:35:33 +02:00
Dobrica Pavlinušić
8db0aef635 Merge pull request #146 from dpavlin/issue_142_key_repeat
Issue #142 key repeat
2012-04-27 14:16:23 -07:00
Dobrica Pavlinusic
9bdf4bf4c7 prevent full screen refresh if key is repeating #142 2012-04-27 20:38:29 +02:00
Dobrica Pavlinusic
6a479aee80 support pressed or repeating keys 2012-04-27 20:37:07 +02:00
Qingping Hou
6dcd849515 remove x shortcut in crereader 2012-04-27 11:18:59 +08:00
Qingping Hou
08e2c7888e Merge branch 'master' into new_ui_code 2012-04-27 11:14:38 +08:00
{Qingping,Dave} Hou
d54c31b461 Merge pull request #145 from dpavlin/master
Show page bbox
2012-04-26 19:34:11 -07:00
Dobrica Pavlinusic
44be823115 use getRectInScreen 2012-04-26 22:27:00 +02:00
Dobrica Pavlinusic
37289fb18d invert page bbox on X #35 2012-04-26 22:16:36 +02:00