Commit Graph

21397 Commits

Author SHA1 Message Date
Benau
5589003a80 Fix RTL text missing in race result gui
We need to always specify the lower corner to allow auto RTL text
alignment working
2019-06-14 14:14:31 +08:00
Benau
1edb0b152e Use 4 spaces instead of tab for separation 2019-06-14 13:44:43 +08:00
Benau
e969a5a352 Reserve enough space for general textfield dialog for RTL text alignment 2019-06-14 13:26:33 +08:00
Benau
d51f7f4448 Avoid substr exception when using on-screen keyboard 2019-06-14 11:32:47 +08:00
Benau
c3a719cd4b Change some on-screen keyboard characters after FreeSans is removed 2019-06-14 11:03:51 +08:00
Benau
acc05bfcef Only toggleOnScreenKeyboard false if using it 2019-06-14 10:40:54 +08:00
dumaosen
b7dc5dd6f2 New interface of challenge selection (#3957)
* New interface

* New interface

* New interface

* Replace tabs into 4 spaces && fix a bug

* Change the solution

* Fix a bug
2019-06-13 20:49:25 +02:00
Benau
84fa4ecac8 Fix text display with RTL 2019-06-14 01:45:21 +08:00
Deve
ec97bc8316 Always call drawTooltips.
If tooltips list is empty, then it does nothing and at least the list is cleared each frame.

It fixes a crash for #3957
2019-06-13 19:21:31 +02:00
Deve
8c4ace6c17 Call onUpdate before drawing is started.
No idea why it's in render() function, especially that some dialogs are self-destroyed in onUpdate.

It may need some testing if everything is ok.
2019-06-13 19:17:25 +02:00
Deve
c8099cd11d Fixed android compilation 2019-06-12 10:00:17 +02:00
Benau
392d3cfe86 Fix memory read error by moving destruction of dialog to onUpdate 2019-06-12 12:07:58 +08:00
Benau
effc0a27dc Always use thin border for fallback font (emoji)
Which avoids the scaling issue of border
2019-06-12 09:06:54 +08:00
Benau
f07110ed26 Fix #3936 2019-06-12 08:44:39 +08:00
Benau
65a54cbd8b Fix color emoji scaled wrongly with overbright color 2019-06-12 01:18:36 +08:00
Benau
c398ba4484 Fix server only build 2019-06-12 00:34:32 +08:00
Benau
d7cd98f636 Use a smaller ratio to waste less space 2019-06-11 16:30:06 +08:00
Benau
1707ac7e1e Use GlyphLayout to draw list widget 2019-06-11 16:29:35 +08:00
Benau
44796bc8c0 Use a better way to erase top text 2019-06-11 15:05:46 +08:00
Benau
0fdbe5d34f Fix utf16 conversion
Follow the rules in:
https://github.com/brofield/simpleini/blob/master/ConvertUTF.c
2019-06-11 08:29:48 +08:00
Benau
5af761b841 Make xmlEncode/Decode working in windows 2019-06-11 01:07:42 +08:00
Benau
591bd0c3af Use utf16 for java string to stringw conversion 2019-06-10 16:09:07 +08:00
Benau
c0faf69a42 Add utf32 / wchar_t handling in network string 2019-06-10 15:31:49 +08:00
Benau
c5f3f3aecf Update android build script for new libraries 2019-06-10 13:54:10 +08:00
Benau
28cc2838a8 Add color emoji 2019-06-10 10:35:42 +08:00
Benau
89e3bcd11b Update stk edit box to be more i18n friendly 2019-06-10 00:43:31 +08:00
Benau
acb9054dcb Use libraqm for text layout 2019-06-09 11:26:00 +08:00
Benau
43d322c634 Add libraries for emoji and complex text 2019-06-09 10:06:50 +08:00
dumaosen
6cc75a106b UI fix bundle VII (#3949)
* Smarter size

* Better size

* Smarter row size

* Smarter size

* Fix #3792

* Bigger title && use 4 spaces

* Fix #3792

* Better credits

* Smarter size

* Less lines to preserve space

* Smarter icon size

* Better size

* Completely fix #3792

Using buttonbar in every line can avoid scaling problems

* Completely fix #3792

* Completely fix #3792

* Add space under the screen

* Make space smaller

* Smarter ratingbar size

* Better size

* More reasonable size for powerup texts

* Better spacer under the screen

* Sparter space under buttons

* Smarter space under buttons

* Smarter space

* Smaeter space under icons

* Smarter space under buttons

* Smarter space

* Smarter space under butons

* Smarter space

* Smarter space under buttons

* Smarter space

* Smarter space under buttons

* Smarter space

* Smarter stars size

* Fix an extra line

* change buttonbar back into ribbon

* dont declare the width of the buttons

It may cause some characters partly showed or hidden in some lang
2019-06-08 22:01:54 +02:00
Deve
08c61bfb91 Disable changing font size during race 2019-06-05 23:31:24 +02:00
Deve
4c4b6eda3a Merge branch 'gradlew' 2019-06-05 23:02:44 +02:00
Deve
7f42b84432 Allow to modify multitouch settings during the race 2019-06-05 22:59:47 +02:00
Benau
75be2b16c9 Update translation with thai font 2019-06-05 10:18:29 +08:00
Reiner Herrmann
07b6a16000 Fix several spelling/grammar errors (#3951)
found by lintian
2019-06-04 19:04:18 -04:00
Deve
c5d681dcc7 Remove ant support 2019-06-04 22:28:24 +02:00
Deve
7129e36901 Use gradle wrapper to avoid compilation errors on some systems 2019-06-04 22:23:07 +02:00
Benau
a429410340 Update fonts to allow use the minimum size
Remove too incomplete translation to load less, and it should be
possible to load CJK font in /system/fonts on android to reduce
apk size
2019-05-31 19:12:35 +08:00
Benau
867cecc01e Refactor FaceTTF for later better usage 2019-05-30 10:34:47 +08:00
dumaosen
dd9d5c89e1 Use icons in general_text_field (#3944)
* Use icons in general_text_field

* Use icons for general_text_field

* Add </buttonbar>

* Use 4 spaces
2019-05-29 01:14:01 +08:00
Benau
d487a2e72e Clear text when closing keyboard if onEnterPressed returns true 2019-05-28 15:21:06 +08:00
Benau
391b61be95 Fix highlighting of composing text in the middle of sentence 2019-05-28 14:24:45 +08:00
Benau
240546ac00 Fix waiting message for big font size 2019-05-28 11:37:50 +08:00
Benau
4413c06a82 Allow login with next button in native android keyboard 2019-05-28 09:52:20 +08:00
Benau
1d3dfc3110 Only do android callback for soft keyboard 2019-05-28 01:55:10 +08:00
Benau
6216d003b6 Code clean up 2019-05-28 01:47:41 +08:00
Benau
677d984267 Fix navigation with hacker keyboard arrows 2019-05-28 01:43:42 +08:00
Benau
2744a24951 Don't set input type if it's the same as old one
It breaks Gboard word correction if you change cursor in screen
2019-05-28 00:53:53 +08:00
Benau
1d5e80c131 Add cap sentences for chat
Can be disabled in per keyboard setting in system configuration
2019-05-28 00:43:08 +08:00
Benau
e3ce7d0a19 Use email keyboard if possible 2019-05-27 21:11:35 +08:00
Benau
336300b997 Allow showing different soft keyboard in android 2019-05-27 16:34:16 +08:00