Frans de Jonge
a6be301695
Added Size module
2017-09-23 20:24:45 +02:00
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
2017-09-23 20:24:45 +02:00
poire-z
1e17e4c291
Fix crash when tapping on toggleswitch left or bottom borders ( #3181 )
2017-09-06 12:56:50 +02:00
Qingping Hou
a10a4f65a5
minor: use predefined color instead of gray method
2016-07-10 23:25:32 -07:00
Zijie He
1aa0c4192a
Multi-line toggle switch & add instruction to resolve sdcv build error.
2016-05-09 21:59:33 -07:00
Qingping Hou
4759def09c
chore: fix static-check errors
2016-01-02 23:45:23 -08:00
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
;).
2015-04-26 20:07:17 +02:00
chrox
72012e97e1
disable reflow options when reflow is not ON
...
This should also fix #1061 .
2015-03-16 21:51:17 +08:00
Hans-Werner Hilse
82c26b1f18
adapt widgets to new refresh/repaint API
2014-11-30 00:17:50 +00:00
Hans-Werner Hilse
22697adf20
switch from scaleByDPI() to scaleBySize()
2014-11-23 12:13:32 +00:00
chrox
3574865dcb
fix #1166 by auto alignment of option name
2014-11-23 16:52:08 +08:00
NiLuJe
39244aa0cb
Make ToggleSwitch updates regional
2014-11-11 02:52:47 +01:00
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.
2014-11-02 21:19:04 +01:00
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.
2014-10-24 13:48:42 +02:00
chrox
6152198e88
still needs button bgcolor
...
This bgcolor is for framecontainer background color.
2014-10-04 22:01:09 +08:00
Hans-Werner Hilse
7b1777e095
adapt widgets and text rendering to new font rendering
...
no background for text rendering anymore
2014-10-04 15:54:03 +02:00
chrox
e7fc16dd25
hold on config panel option to set default option
2014-07-03 16:31:44 +08:00
chrox
857bd6fcc8
strings not shown on GUI will not be translated
...
This may encourage users in transifex to join Koreader project.
2014-06-05 14:59:06 +08:00
chrox
92219a1f1e
cleanup: expand tab to 4 spaces
2014-03-13 21:52:43 +08:00
chrox
98f1c90d87
make dictionary title, toggle option and button text bold
2014-01-22 17:26:14 +08:00
chrox
e21e017b8d
tweaks on config dialog for crereader
2014-01-03 23:18:10 +08:00
chrox
71b3e717cf
refactoring onConfigChoose
2014-01-03 22:09:55 +08:00
chrox
2ffd9bbeef
tweaks on config dialog responsiveness
2014-01-03 20:41:15 +08:00
HW
09cd5c4104
Make DEBUG a require()d local
2013-10-22 20:51:29 +02:00
HW
ef111b99c6
Refactored to use strictly locals
2013-10-18 22:38:07 +02:00
chrox
ead331924f
fix toggle color inconsistency
2013-10-13 16:52:32 +08:00
chrox
87296fe884
set larger toggle switch width
2013-07-13 11:08:53 +08:00
Qingping Hou
ce0ab36908
add gettext to all widgets
2013-04-08 15:29:23 +08:00
chrox
6ec22c73a0
use inverted font color in toggle switch
2013-03-16 19:48:32 +08:00
Qingping Hou
10d980ed87
rearranged source tree
2013-03-13 01:18:53 +08:00