Commit Graph

913 Commits

Author SHA1 Message Date
xianjimli
fb8f33d458 change widget name from str_t to char* 2018-07-13 16:07:48 +08:00
xianjimli
3a7a78e3c6 add create/properies in widget vtable 2018-07-13 11:22:20 +08:00
xianjimli
9fbedfa60c update resources 2018-07-13 06:38:20 +08:00
xianjimli
2ba43f54f7 update resources and refactor 2018-07-12 15:50:37 +08:00
xianjimli
6bec19b2c1 update resource 2018-07-12 11:45:59 +08:00
xianjimli
94477a2ef9 add lcd flush 2018-07-11 17:41:56 +08:00
xianjimli
b17b983857 improve image draw type and add demos 2018-07-11 17:37:08 +08:00
xianjimli
c869362752 remove timer in widget destroy 2018-07-11 14:34:52 +08:00
xianjimli
5accd9b97a update resources 2018-07-11 09:02:45 +08:00
xianjimli
882c6a9e58 list view support mouse wheel event 2018-07-10 14:04:00 +08:00
xianjimli
a107d29755 improve events 2018-07-10 10:23:35 +08:00
xianjimli
0f39939b30 list view support auto hide scroll bar 2018-07-09 18:17:21 +08:00
xianjimli
bc4cda05cb keyboard action button commit input 2018-07-09 16:53:43 +08:00
xianjimli
ec1e00d91c improve scrollbar to support repeat and animatable 2018-07-09 11:44:06 +08:00
xianjimli
0fe0291d78 improve scrollview set_prop/get_prop 2018-07-09 07:42:35 +08:00
xianjimli
7838fa4ed3 spinbox support repeat 2018-07-09 07:39:23 +08:00
xianjimli
f3bf0b858f button support repeat property; keyboards support repeat. 2018-07-09 07:32:38 +08:00
xianjimli
a5a6d58cfc lcd support swap 2018-07-07 07:12:32 +08:00
xianjimli
4174b08237 update resources 2018-07-06 16:10:24 +08:00
xianjimli
6f2ddc99aa improve list view 2018-07-05 17:27:17 +08:00
xianjimli
9005e20f4b add list item and list demos 2018-07-05 15:22:04 +08:00
xianjimli
a109e8fdc3 improve listview 2018-07-05 11:46:38 +08:00
xianjimli
9bda28b0e4 add listview and refactor 2018-07-04 17:27:32 +08:00
xianjimli
7de34fc265 update resource 2018-07-04 10:57:16 +08:00
xianjimli
aedeb8643c add scroll view 2018-07-04 09:56:07 +08:00
xianjimli
479200e755 improve window theme 2018-07-03 13:49:58 +08:00
xianjimli
1fd8ff02da add scrollbar 2018-07-02 18:17:35 +08:00
xianjimli
a42b8f0669 add dragger 2018-07-01 11:56:06 +08:00
xianjimli
9dd2ab1302 update resources 2018-07-01 07:02:25 +08:00
xianjimli
b45954f7da add spinbox and demos 2018-06-30 18:07:28 +08:00
xianjimli
35e75d6128 improve edit 2018-06-29 19:33:01 +08:00
xianjimli
7fb1fd37e0 add border in theme 2018-06-29 19:12:04 +08:00
xianjimli
48508f2044 add edit demos 2018-06-29 17:22:57 +08:00
xianjimli
33be105e19 improve edit 2018-06-29 15:46:43 +08:00
xianjimli
cdf04d5cf0 update resources 2018-06-28 17:10:38 +08:00
xianjimli
05dc60957f update resources 2018-06-28 16:01:28 +08:00
xianjimli
fe74ae898b update resources 2018-06-28 09:10:18 +08:00
xianjimli
04e8d52e59 fix for stmf103 2018-06-27 15:54:41 +08:00
xianjimli
170156c996 update resources 2018-06-27 15:47:30 +08:00
xianjimli
bca945603b theme support custom widget 2018-06-25 17:27:17 +08:00
xianjimli
c38f74228c improve candidates 2018-06-25 07:32:25 +08:00
xianjimli
3be0736dd0 improve layout 2018-06-25 06:59:12 +08:00
xianjimli
65f9ac0baf update resources 2018-06-24 18:27:27 +08:00
xianjimli
0ba9d3303d integrate pinyin input method 2018-06-24 12:23:51 +08:00
xianjimli
c578553b96 update resources 2018-06-23 18:02:33 +08:00
xianjimli
cc445c74ab add input engine and candidates widget 2018-06-23 17:55:52 +08:00
xianjimli
2d2f72b7fc update resource 2018-06-23 06:35:49 +08:00
xianjimli
51e1b64217 improve sdl input 2018-06-22 18:35:56 +08:00
xianjimli
e1d8b02ed3 improve keyboard 2018-06-22 17:46:09 +08:00
xianjimli
3d52cff061 improve keyboard 2018-06-22 12:17:18 +08:00
xianjimli
8a37c17273 rework rect_init 2018-06-22 12:01:36 +08:00
xianjimli
c917ec6744 demou add locale demo 2018-06-21 17:42:18 +08:00
xianjimli
0cf152527d improve keyboard 2018-06-21 14:02:40 +08:00
xianjimli
2cda38f2f7 rework emitter 2018-06-21 10:16:11 +08:00
xianjimli
1e30eb60d0 update resources 2018-06-20 17:41:55 +08:00
xianjimli
232a783dcf update lua bingings 2018-06-20 17:35:32 +08:00
xianjimli
a8a009ac61 improve keyboard 2018-06-20 16:04:13 +08:00
xianjimli
d0033a7d1f improve edit 2018-06-19 18:21:58 +08:00
xianjimli
82a9ecc1fe keyboard basic function works 2018-06-19 16:29:23 +08:00
xianjimli
60dab5e05d update resource 2018-06-18 12:41:43 +08:00
xianjimli
208d4e0ce4 improve keyboard 2018-06-18 07:19:36 +08:00
xianjimli
0bcac5dbc4 update resources 2018-06-17 18:34:12 +08:00
xianjimli
8b3024125d add str_decode_xml_entity to decode xml entity 2018-06-17 17:58:07 +08:00
xianjimli
006f59e315 update resources 2018-06-17 17:12:07 +08:00
xianjimli
2974fcf94a improve layout 2018-06-17 12:03:18 +08:00
xianjimli
cd4b9e1872 add tokenizer 2018-06-17 07:56:44 +08:00
xianjimli
3e54175570 update demos 2018-06-16 18:43:31 +08:00
xianjimli
792e736c44 add widget_factory to support custom widget in ui file 2018-06-16 17:59:41 +08:00
xianjimli
4fad8e5f2b rename WIDGETP to WIDGET/g 2018-06-16 11:40:13 +08:00
xianjimli
1e0d17a281 update resources 2018-06-16 10:53:15 +08:00
xianjimli
61e204b445 add preload res window 2018-06-16 09:11:12 +08:00
xianjimli
a08aa840f9 window support its own theme file 2018-06-15 19:12:34 +08:00
xianjimli
d89166d325 fix image bgra 2018-06-15 13:39:11 +08:00
xianjimli
ce2aca63f0 improve fps 2018-06-15 11:32:03 +08:00
xianjimli
78164d1310 update demo 2018-06-14 15:53:44 +08:00
xianjimli
a468f82bcd support lcd rotation 2018-06-14 15:50:32 +08:00
xianjimli
a442184d0c support lcd orientation(window translate animation not work yet) 2018-06-14 11:32:46 +08:00
lixianjing
df1cd76758 fix for arm-linux 2018-06-11 17:36:54 +08:00
xianjimli
0cb8307b11 show fps 2018-06-11 09:29:49 +08:00
xianjimli
e12d6d33ff optimize slide view 2018-06-10 19:23:02 +08:00
xianjimli
7cf666a4a2 improve window animation 2018-06-10 18:09:54 +08:00
xianjimli
36854877d5 rename default_ttf.ttf to default.ttf 2018-06-10 17:40:23 +08:00
xianjimli
f071b027e2 improve lcd/animation 2018-06-10 17:39:20 +08:00
xianjimli
9b43bffdda fix for stm32 dma2d 2018-06-10 11:35:46 +08:00
xianjimli
83fb2e7cf5 add glyph_cache to optimize draw text 2018-06-10 08:24:42 +08:00
xianjimli
21b6411561 fix warnings 2018-06-10 06:33:24 +08:00
xianjimli
4712d4b355 update resource 2018-06-09 19:05:56 +08:00
xianjimli
c2cdd4f939 optimize and format code 2018-06-09 18:53:01 +08:00
xianjimli
29b429c0d0 improve resource management 2018-06-09 16:36:53 +08:00
xianjimli
657cf0aefa update resource 2018-06-08 19:19:06 +08:00
xianjimli
e74be7c5f4 improve demos 2018-06-08 17:03:06 +08:00
xianjimli
7b654f6b74 fix layout 2018-06-08 07:50:15 +08:00
xianjimli
461ae54b46 add slide view 2018-06-07 16:23:44 +08:00
xianjimli
78ad8162ab format code 2018-06-06 17:38:50 +08:00
xianjimli
1b86172f41 rework memtest 2018-06-06 17:24:28 +08:00
xianjimli
80f8507fbe fix compile warnings 2018-06-06 16:55:51 +08:00
xianjimli
05f62d2109 show memset/memcpy speed 2018-06-06 16:18:14 +08:00
xianjimli
3422972cda improve slide view 2018-06-06 15:57:15 +08:00
xianjimli
3693497a66 add slide view and improve layout 2018-06-05 11:42:29 +08:00
xianjimli
52c6a58472 add WITH_VGCANVAS_LCD 2018-06-05 08:51:35 +08:00
xianjimli
6d249e62b0 format code 2018-06-03 10:19:34 +08:00
xianjimli
426b8271b3 improve widget animator 2018-05-31 15:47:42 +08:00
xianjimli
2bdab087ab update demos 2018-05-31 11:32:36 +08:00
xianjimli
1b6462c41c add animator_rotation/animator_scale 2018-05-31 11:01:46 +08:00
xianjimli
3b621a4d42 widget animator support delay play 2018-05-31 08:41:13 +08:00
xianjimli
b004ee0cfc support opacity animator 2018-05-30 17:54:37 +08:00
xianjimli
425b380ed9 use agg-svn 2018-05-27 11:52:44 +08:00
xianjimli
991a38ad19 update res 2018-05-26 07:01:12 +08:00
xianjimli
15469629fa format code and update resource 2018-05-24 11:39:11 +08:00
Li XianJing
ff1a79eb67 port to aworks 2018-05-24 11:18:46 +08:00
xianjimli
1d5794f7ff add BITMAP_FMT_BGRA 2018-05-21 15:25:16 +08:00
xianjimli
fed14c164f optimize window animation 2018-05-20 16:35:56 +08:00
xianjimli
bdc14b2e47 add thread/mutex 2018-05-18 17:42:13 +08:00
xianjimli
f5e21e06c7 format code 2018-05-17 11:14:41 +08:00
xianjimli
971962e358 add test 2018-05-17 10:26:18 +08:00
xianjimli
56854ca7ad add widget_animator_value 2018-05-16 16:31:27 +08:00
xianjimli
d6b597057b add widget_animators 2018-05-15 15:55:30 +08:00
xianjimli
6e2dfa8854 update comments 2018-05-15 09:31:58 +08:00
xianjimli
ff2cf9932b fix for stm32f429 2018-05-14 11:53:05 +08:00
xianjimli
30d4e33ca3 update docs 2018-05-13 08:42:53 +08:00
xianjimli
8efcf58867 fix stm32 2018-05-13 07:49:39 +08:00
xianjimli
4eb574a0b7 Support double frame buffer 2018-05-12 18:28:38 +08:00
xianjimli
b323cdd530 remove params of gui_app_start 2018-05-10 14:03:01 +08:00
xianjimli
576b65f974 change file encoding to utf8-bom 2018-05-10 13:47:39 +08:00
xianjimli
b75065650d improve for stm32 2018-05-09 18:15:24 +08:00
xianjimli
b98540a502 rework lcd mem to support hardware blend image 2018-05-09 16:18:05 +08:00
xianjimli
5b350b840a Change copyright notice 2018-05-08 10:22:32 +08:00
xianjimli
bfdc0aa5be add g2d and format code 2018-05-07 17:50:05 +08:00
xianjimli
ea4fc5a02a fix stm32 compile warnings 2018-05-07 12:11:11 +08:00
xianjimli
6ebc46b94a update docs 2018-05-05 19:08:32 +08:00
xianjimli
084c127b04 rename to awtk 2018-05-05 16:47:58 +08:00
xianjimli
f5375677a8 improve font manage and update docs 2018-05-04 16:17:12 +08:00
xianjimli
2cb3d3888a update resources 2018-05-04 15:26:32 +08:00
xianjimli
3e4b2a5455 update images 2018-05-04 15:06:51 +08:00
xianjimli
f2ba7f8264 supported strings translation 2018-05-04 14:52:15 +08:00
xianjimli
1f12df6dea update docs 2018-05-01 17:44:05 +08:00
xianjimli
36de4d0e19 add str_t 2018-05-01 12:02:42 +08:00
xianjimli
285e3bfccb draw image support device pixel ratio 2018-04-30 07:55:02 +08:00
xianjimli
ecbff59603 update resource 2018-04-29 19:11:01 +08:00
xianjimli
bdef65d580 fix time and update resource 2018-04-29 18:30:51 +08:00
xianjimli
9c4004b5a6 fix bugs on windows 2018-04-29 18:06:40 +08:00
xianjimli
b66d00b0ac rename MEM_ to TKMEM_ and format code 2018-04-29 16:51:54 +08:00
xianjimli
535e159ce8 image manager support cache/dpi 2018-04-28 15:09:07 +08:00
xianjimli
f0980f748e resource manager support loading res from file system 2018-04-27 18:12:12 +08:00
xianjimli
cd321ab9fb unify some function/macro names 2018-04-27 11:23:09 +08:00
xianjimli
4097faf16e tidy resources and build script 2018-04-27 10:02:25 +08:00
xianjimli
7d0d2f3080 add system info 2018-04-26 16:09:53 +08:00
xianjimli
7e6bc3591a vgcanvas over picasso draw text works 2018-04-26 15:01:19 +08:00
xianjimli
8e665e77c1 fix picasso matrix and image format 2018-04-25 17:38:51 +08:00
xianjimli
a9ed485499 improve vgcanvas on picasso 2018-04-25 15:14:30 +08:00
xianjimli
11788a5113 add vgcanvas on picasso 2018-04-24 17:38:22 +08:00
xianjimli
6d5f099997 window animator on framebuffer 2018-04-22 16:57:05 +08:00
xianjimli
b1ffe57646 improve window animators 2018-04-21 17:21:55 +08:00
xianjimli
ba2558b783 update demos and tests 2018-04-21 07:43:02 +08:00
xianjimli
35d4ea8f5e add window animator framework 2018-04-20 21:49:47 +08:00
xianjimli
c1f2dc8a51 fix draw points 2018-04-18 16:58:51 +08:00
xianjimli
cfaf1b67bb add nanovg implememented vgcanvas 2018-04-15 17:58:24 +08:00
xianjimli
23eb92a0d9 add nanovg lcd 2018-04-13 10:25:58 +08:00
xianjimli
bfea5c3a97 fix widget_update_style 2018-04-09 11:03:22 +08:00
xianjimli
75bec19cfb improve edit 2018-04-08 21:39:31 +08:00
xianjimli
2ffaa8a2e6 refactoring 2018-04-08 12:41:48 +08:00
xianjimli
fd8081d770 fix linux compile 2018-04-08 07:43:28 +08:00
xianjimli
b29773aad8 add edit 2018-04-08 07:32:48 +08:00
xianjimli
cbee2b6f78 change double to float_t 2018-04-05 18:00:06 +08:00
xianjimli
79e47f5fa8 improve slider/progressbar 2018-04-05 17:09:29 +08:00
xianjimli
f90401bc52 improve slider/progressbar 2018-04-05 07:55:00 +08:00
xianjimli
de159d15c5 add slider 2018-04-02 17:35:20 +08:00
lixianjing
ea03307b96 improve demos 2018-04-01 19:44:39 +08:00
lixianjing
169a33fcde update docs 2018-04-01 18:19:28 +08:00
lixianjing
1317c5410f support ttf font 2018-04-01 08:13:10 +08:00
lixianjing
87805f895c format code 2018-03-31 19:48:56 +08:00
xianjimli
005d71db49 optimize lcd_reg 2018-03-31 18:41:33 +08:00
xianjimli
27c715f359 fix compile warnings 2018-03-31 17:37:14 +08:00
lixianjing
9fa6ba29ae redesign xml theme file format 2018-03-31 13:48:18 +08:00
lixianjing
c73358008b refactoring 2018-03-30 22:15:45 +08:00
lixianjing
cc2f8c4986 fix windows compile error 2018-03-29 21:18:26 +08:00
lixianjing
6b67c4cfde theme support bg-image/bg-image-draw-type 2018-03-26 17:06:12 +08:00
lixianjing
c262208307 add tests and refactoring 2018-03-26 12:16:52 +08:00
lixianjing
4c570f9f04 improve tests and demos 2018-03-26 11:17:38 +08:00
lixianjing
4dddb0fe3f image support diffirent draw_type 2018-03-26 07:36:18 +08:00
lixianjing
9270453e6d improve vgcanvas, and update docs 2018-03-25 20:13:13 +08:00
lixianjing
14d5e73415 add vgcanvas to draw vector graphics 2018-03-24 21:37:40 +08:00
lixianjing
b96b4d8b97 add draw_image_center/scale/scale_x/scale_y 2018-03-22 21:41:30 +08:00
lixianjing
4a1b92739e support draw_image_tile/tile_h/tile_v 2018-03-21 21:34:54 +08:00
lixianjing
16e253eed7 support draw_image_3patch_h/draw_image_3patch_v 2018-03-20 21:38:43 +08:00
lixianjing
4b96ae5695 draw_image support scale image 2018-03-19 17:17:14 +08:00
lixianjing
795ebd306c improve canvas api 2018-03-19 12:03:19 +08:00
jim
12d7dcaa9a format code 2018-03-19 07:19:25 +08:00
jim
6c5e6e5228 support draw antialiasing line 2018-03-19 07:19:12 +08:00
jim
ff26012803 improve stm32 2018-03-18 17:02:10 +08:00
jim
77a1112657 update data 2018-03-18 12:20:58 +08:00
jim
5f36f35611 redesign resource manager 2018-03-18 11:29:31 +08:00
xianjimli
37d844c918 improve stm32 2018-03-17 07:40:02 +08:00
jim
913c625add rc_to_xml works 2018-03-16 18:27:27 +08:00
jim
581f0d330b update demo data 2018-03-12 07:33:58 +08:00
jim
df59a079ba add layout demo xml 2018-03-12 07:12:18 +08:00
jim
8d3686bb21 support layout 2018-03-11 22:25:54 +08:00
jim
3fb0ff30b9 support fast mode 2018-03-11 14:21:19 +08:00
jim
ac8d7f9ebb add prefix_xml_ui tool and update docs 2018-03-11 11:26:12 +08:00
xianjimli
1c7f84f874 improve for stm32 2018-03-11 07:49:28 +08:00
jim
f17fc5cef6 update docs 2018-03-10 22:01:10 +08:00
jim
9a0590ba59 support load ui from xml/bin ui description 2018-03-10 19:11:37 +08:00
jim
db5acd2123 load ui from bin/xml works 2018-03-09 21:54:46 +08:00
jim
9015c0b291 add lua binding for timer. 2018-03-06 21:56:52 +08:00
jim
8a5b7a63a9 fix linux/windows build errors. 2018-03-05 11:51:05 +08:00
jim
0d420c9665 1.add api doc. 2.add lua generator 2018-03-04 08:32:52 +08:00
jim
5b5987c3f6 add lua generator 2018-02-26 12:42:05 +08:00
jim
1dbc376d78 lftk on rt-thread simulator works 2018-02-24 20:40:44 +08:00
jim
07c6ee34e6 add rtthread support 2018-02-22 18:07:22 +08:00
jim
0c87a12324 fix ubuntu compile errors 2018-02-22 11:53:07 +08:00
jim
c84a2c7804 support timer 2018-02-22 09:04:05 +08:00
jim
11a86b1bad add .clang-format and format source code 2018-02-22 08:36:54 +08:00
jim
a68c7d049f init 2018-02-21 19:36:38 +08:00