Commit Graph

21 Commits (08edf7c259b106d93fc6e238f0c97a5fbffe3e91)

Author SHA1 Message Date
Qingping Hou e492e451ec handle nil width for button widget 11 years ago
chrox 02a159eaf8 a better looking progress bar widget 11 years ago
chrox 7f179c1fa7 confirm and cancel gestures in cropping dialog are replaced by OK/Cancel buttons
Now only "tap" and "pan" gestures are allowed in cropping dialog.
11 years ago
chrox 74f76e98cc separate abstract interface EventListener from Widget
The rationale is that some non-widget modules like ReaderKoptListener should be able
to handle events.
11 years ago
{Qingping,Dave} Hou 3ec818a3cd Merge pull request #684 from chrox/koptreader-new-ui
add reflow mode in pdf/djvu readers
12 years ago
Qingping Hou c0602fba95 fix nil dimen bug in InputContainer:init 12 years ago
Qingping Hou 6af311bc17 add ignore attribute to CenterContainer widget 12 years ago
chrox 074522a36b first usable koptreader for new UI 12 years ago
chrox 755e012dba add config options 12 years ago
chrox 138def10c3 Demo version of koptreader config dialog. 12 years ago
Qingping Hou 2050696de6 bug fix in FrameContainer
content_size should be obtained by calling self[1]:getSize()
12 years ago
Qingping Hou 93f7813d1a do deep copy on InputContainer widget _init 12 years ago
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
12 years ago
Qingping Hou 7accd7572b add OverlapGroup in widget.lua 12 years ago
{Qingping,Dave} Hou 267ed42be6 Merge pull request #638 from houqp/new_ui_code_fix
zoom mode support in reader menu & menu module bug fix
12 years ago
Qingping Hou cf3cc65c03 fix bug in multi-level menu support
The size of framecontainer is not reset after content changed.
12 years ago
Qingping Hou 3486ae7e09 first demo of gesture parsing 12 years ago
Qingping Hou 78c7007f43 add todo for kerning in text widgets 12 years ago
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
12 years ago
HW c136773203 some minor changes to avoid long access paths into tables 12 years ago
HW 9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
12 years ago