chrox
74f76e98cc
separate abstract interface EventListener from Widget
...
The rationale is that some non-widget modules like ReaderKoptListener should be able
to handle events.
2013-02-20 11:42:02 +08:00
{Qingping,Dave} Hou
3ec818a3cd
Merge pull request #684 from chrox/koptreader-new-ui
...
add reflow mode in pdf/djvu readers
2013-01-04 00:28:57 -08:00
Qingping Hou
c0602fba95
fix nil dimen bug in InputContainer:init
2013-01-04 03:16:18 -05:00
Qingping Hou
6af311bc17
add ignore attribute to CenterContainer widget
2013-01-01 14:40:02 -05:00
chrox
074522a36b
first usable koptreader for new UI
2012-12-24 08:16:41 +08:00
chrox
755e012dba
add config options
2012-12-24 08:16:33 +08:00
chrox
138def10c3
Demo version of koptreader config dialog.
2012-12-24 08:16:17 +08:00
Qingping Hou
2050696de6
bug fix in FrameContainer
...
content_size should be obtained by calling self[1]:getSize()
2012-12-16 03:42:30 -05:00
Qingping Hou
93f7813d1a
do deep copy on InputContainer widget _init
2012-12-14 05:52:56 +08:00
Qingping Hou
92bce18537
bug fix in InputContainer and menu widget
...
* add _init callback for all widgets, which is used for base widget
initialization. see comment in Widget:new(o) for more information.
* new ges_events and key_events are created for each InputContainer
widget, previously, they shared the same tables.
* remove hardcoded menu widget dimen
* recalculate menu dimen on table item changes
* add CloseAllMenus for menu widget
2012-12-09 01:21:30 +08:00
Qingping Hou
7accd7572b
add OverlapGroup in widget.lua
2012-12-07 23:28:55 +08:00
{Qingping,Dave} Hou
267ed42be6
Merge pull request #638 from houqp/new_ui_code_fix
...
zoom mode support in reader menu & menu module bug fix
2012-11-29 07:33:54 -08:00
Qingping Hou
cf3cc65c03
fix bug in multi-level menu support
...
The size of framecontainer is not reset after content changed.
2012-11-26 15:25:28 +08:00
Qingping Hou
3486ae7e09
first demo of gesture parsing
2012-11-11 14:30:35 +08:00
Qingping Hou
78c7007f43
add todo for kerning in text widgets
2012-10-09 12:39:09 -04:00
HW
ce5614ef6f
cleanup, also removal of G_* constants
...
a bit of cleanup, switched width/height combo over to use
Geom() objects, moved framebuffer handling to Screen object,
callback syntax sanitizing, lots of small changes
2012-06-10 17:36:19 +02:00
HW
c136773203
some minor changes to avoid long access paths into tables
2012-05-27 18:23:01 +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