Commit Graph

42 Commits (3066c86e38c8297c4c534a31c9631bb8bd6535cf)

Author SHA1 Message Date
Hans-Werner Hilse 3066c86e38 Refactoring hardware abstraction
This is a major overhaul of the hardware abstraction layer.
A few notes:

General platform distinction happens in
  frontend/device.lua
which will delegate everything else to
  frontend/device/<platform_name>/device.lua
which should extend
  frontend/device/generic/device.lua

Screen handling is implemented in
  frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.

The same goes for input handling.
10 years ago
chrox dfcd67c5bf move screenshot settings to submenu of Screenshot entry in readermenu
And also fix a touchmenu bug that prevent some menu entries
(always at the bottom of the menu) from showing submenus. The reason is
that the onTapSelect method of TouchMenuItem doesn't return true, so that
the tap gesture will propagate to the parent widget and be captured by
touchmenu itself. But at this time the dimen of touchmenu is changed to
the submenu of the tapped menuitem. If the submenu is short enough the
tap will be outside of touchmenu which will cause a TapCloseAllMenus
event and the submenu will never be shown.
10 years ago
Michael Hall dd80d61155 Leave both readerconfig and readermenu open on wifi toggle 10 years ago
Hans-Werner Hilse 5982e24d57 unify color specification
colors were a mixture of 4bpp integers (0=white, 15=black) and
fractional blackness levels (0=white, 1.0=black) before. This is
now unified to use the color specification of the Blitbuffer API.
10 years ago
Hans-Werner Hilse 7b1777e095 adapt widgets and text rendering to new font rendering
no background for text rendering anymore
10 years ago
Michael Hall 96aa795618 Adding Touch Menu Wifi Status icon/Toggler for Kobo and Kindle. Change to
NetworkMgr:getWifiStatus() to ping default gateway instead of 8.8.8.8.
10 years ago
chrox 55554acf39 refactoring: buildin hold on menu entry to input 10 years ago
chrox 87e667748a add font size menu entry
It changes screen DPI and may needs to reboot the reader to take effect.
This should fix #746.
10 years ago
NiLuJe d45efd81d8 Add a battery indicator to the menu.
Very quick'n dirty hack, doesn't seem to blow up horribly.
re: #679
10 years ago
chrox b0b2149a92 touch menu entry now responses hold gestures 10 years ago
chrox f13a165c4b tweaks of font size 10 years ago
chrox e624695d54 the Back key on Android should close the popup window and menu 10 years ago
chrox 0f829390d6 decrease indentation of touch menu entries 10 years ago
chrox 3ae68399eb add previous and next chevron icon in touch menu 10 years ago
chrox d2eaeeaeed add option to load last opened file automatically 10 years ago
chrox 857bd6fcc8 strings not shown on GUI will not be translated
This may encourage users in transifex to join Koreader project.
10 years ago
chrox 427da958cb adapt touch menu for small screen 10 years ago
chrox 9f4f5fa451 auto adaptation for much smaller screen 10 years ago
chrox 877cff2933 invert button on tap 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox b6b3207a79 swipe north/south in touch menu should also turn page 11 years ago
chrox bc960dcf01 mutable menu item text for 'Toggle page overlap' 11 years ago
chrox 32cd7b2a88 show both reader menu and config menu when tapping top
So the bottom tap zone is optional now and will be removed by default
in the future.
11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
Qingping Hou 92cbbabbcf bug fix in touchmenu, reset menu page on go up 11 years ago
Qingping Hou 0a40658a9d bug fix in touchmenu: properly set max menu height 11 years ago
Qingping Hou ce0ab36908 add gettext to all widgets 11 years ago
chrox bbda1362e3 tweaks on widget alignment in touch menu 11 years ago
chrox 2fc897bc25 add time information in menu footer by neoquest in hi-pda forum 11 years ago
chrox ae40aad56e use new directions in pan/swipe gesture 11 years ago
Qingping Hou bf2b853fd8 add callback to touchmenu bar icon 11 years ago
chrox 17e967a227 bugfix: calculate width of TouchMenu each time when TouchMenu is created 11 years ago
Qingping Hou 4dfb683b78 remove done todo 11 years ago
Qingping Hou a4b17061a5 add page counting in touchmenu & bug fix for sub_item_table 11 years ago
Qingping Hou e44bedfea2 listen swipe gesture in touchmenu 11 years ago
Qingping Hou 495a173ed0 add scaleByDPI and use it in touchmenu 11 years ago
Qingping Hou ad704fa9c2 give a better name for parent 11 years ago
Qingping Hou eaf43dc30b add go back button to touchmenu 11 years ago
Qingping Hou c9c72522b9 add submenu support for touchmenu 11 years ago
Qingping Hou 9840a71335 put menu item callback and closing ops to scheduler
Otherwise, inverted menu item will not be shown
11 years ago
Qingping Hou 38a6ea96d7 fix: set parent on TouchMenuItem 11 years ago
Qingping Hou 44d0a99efd first demo of touch menu 11 years ago