Frans de Jonge
9eb073a524
[travis] Add protection against unscaled sizes
...
As pointed out by @poire-z
* [fix, UX] SkimToWidget scaling
* [fix] Button scaling
* [fix, UX] Scale ProgressWidget
* [fix, UX] Scale confirmbox
* [fix, UX] Scale just about everything
7 years ago
Frans de Jonge
cfb039a91b
[fix] Scale ImageWidget by screen size as well as DPI
...
Fix #3204
7 years ago
poire-z
c3778bdb2a
Button and TextWidget: added max_width attribute
...
Simple way to ensure overlong text is truncated.
Used by dictquicklookup to truncate long titles.
7 years ago
Hzj_jie
ed461c7f30
InputDialog is broken by #2672 ( #2690 )
...
This change also adds a tap_input_func in both TouchMenu and Button.
7 years ago
Qingping Hou
a10a4f65a5
minor: use predefined color instead of gray method
8 years ago
Qingping Hou
11ee8d6fcc
refactor: use new KeyValuePage widget for displaying statistics
8 years ago
Qingping Hou
a62e7ee34c
feat: add keyboard support for button table
9 years ago
NiLuJe
50dbf6b581
Switch a few widgets to ui refresh modes
...
More closely matches native behavior on REAGL devices.
Closing those widgets should still trigger a partial refresh though,
because we usually get back to the reader, and text, so we want REAGL
;).
9 years ago
chrox
ebdd374c93
Add 'input page number' function in filemanager
...
by holding on the page info label at the buttom of the filemanager
9 years ago
Hans-Werner Hilse
82c26b1f18
adapt widgets to new refresh/repaint API
10 years ago
NiLuJe
e9573ebe58
Try to avoid more update_regions_func mismatches
...
scheduling tricks
10 years ago
NiLuJe
c3274a9d5e
Unbreak FM by reverting 7a812f
...
:D
10 years ago
NiLuJe
7a812ff86d
Make Button update regional
10 years ago
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
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
chrox
2ad63fc1a3
expand/collapse TOC only by tap on the icon
10 years ago
chrox
96960cd554
don't dim icon button by default
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
Qingping Hou
5e035c2517
fix(ui): hide button framecontainer background in hide() method
10 years ago
chrox
948d92a3b3
fix tap on word title will crash koreader
10 years ago
chrox
d34a7fb355
lookup input word when holding on word in dict lookup window
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
877cff2933
invert button on tap
10 years ago
chrox
92219a1f1e
cleanup: expand tab to 4 spaces
10 years ago
chrox
98f1c90d87
make dictionary title, toggle option and button text bold
10 years ago
HW
ef111b99c6
Refactored to use strictly locals
11 years ago
chrox
4547273d7b
add icon button and show/hide method of button
11 years ago
chrox
b24db8a1ca
refactoring using centercontainer in button widget
11 years ago
chrox
c246696de9
add enable/disable method for Button widget
11 years ago
Qingping Hou
ce0ab36908
add gettext to all widgets
11 years ago
Qingping Hou
b4c5f28164
add iconbutton widget
11 years ago
Qingping Hou
10d980ed87
rearranged source tree
11 years ago