Commit Graph

736 Commits

Author SHA1 Message Date
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
Dobrica Pavlinusic
9bf6c0902d Merge branch 'master' of github.com:hwhw/kindlepdfviewer 2012-04-26 15:39:32 +02:00
Dobrica Pavlinusic
8c01306154 invoke Screen:restoreFromSavedBB only if font changed 2012-04-26 15:38:35 +02:00
{Qingping,Dave} Hou
d97df04a91 Merge pull request #144 from dpavlin/master
few more InfoMessages in crereader
2012-04-26 06:09:31 -07:00
Dobrica Pavlinusic
5492025a38 pan_margin is really in screen pixels
I don't know what I was thinking when implementing this code. If I
modify it with global zoom, it keeps moving, as we zoom in on multiple
key presses
2012-04-26 14:20:15 +02:00
Dobrica Pavlinusic
17a590cf5a show increase/decrease font size InfoMessage 2012-04-26 14:09:09 +02:00
Dobrica Pavlinusic
ac09213319 show Redrawing with InfoMessage on font change 2012-04-26 14:05:51 +02:00
Dobrica Pavlinušić
5666e5908a Merge pull request #143 from houqp/master
add rounded corner border
2012-04-26 03:02:23 -07:00
Qingping Hou
6c33d80966 add paintCircle and RoundedCornerBorder 2012-04-26 15:15:34 +08:00
HW
8e4bd96199 Merge pull request #141 from houqp/new_ui_code
add a widget that handles line wrapping
2012-04-25 16:08:38 -07:00
Qingping Hou
cb77807a93 add notification for going into screensaver 2012-04-25 14:13:21 +08:00
Qingping Hou
f4c6c6ab1c fix helppage in crereader for font size & line space setting 2012-04-25 14:08:33 +08:00
Qingping Hou
5b61cf0865 test TextBoxWidget & new ConfirmBox in wtest.lua 2012-04-25 12:41:21 +08:00
Qingping Hou
d9241acaa8 use TextBoxWidget in ConfirmBox
also make text in bottons configurable
2012-04-25 12:40:37 +08:00
Qingping Hou
1036db89b6 add TextBoxWidget that handles line wrapping 2012-04-25 12:39:02 +08:00