Commit Graph

3999 Commits

Author SHA1 Message Date
xianjimli
b98540a502 rework lcd mem to support hardware blend image 2018-05-09 16:18:05 +08:00
xianjimli
cfb7e25914 update g2d 2018-05-08 13:47:38 +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
0925783616 improve image manager and locale 2018-05-05 19:20:45 +08:00
xianjimli
e0ed9ac914 fix str return value 2018-05-05 18:07:36 +08:00
xianjimli
084c127b04 rename to awtk 2018-05-05 16:47:58 +08:00
xianjimli
a11386cd1c improve image manager to unify agg/picasso/nanovg 2018-05-04 18:18:09 +08:00
xianjimli
2b31c1efd6 update docs 2018-05-04 17:32:02 +08:00
xianjimli
02449e1979 unify array return value 2018-05-04 17:23:21 +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
f2ba7f8264 supported strings translation 2018-05-04 14:52:15 +08:00
xianjimli
9644db7f43 add RESOURCE_TYPE_STRINGS 2018-05-04 11:45:50 +08:00
xianjimli
064cd18eaf add TKMEM_INIT 2018-05-04 11:45:09 +08:00
xianjimli
be2f85e685 add destroy_t 2018-05-04 11:43:30 +08:00
xianjimli
ac30eb0b32 add EVT_LOCALE_CHANGED 2018-05-04 11:42:47 +08:00
xianjimli
3a29300e7f support re-translate text when locale changed 2018-05-04 11:42:11 +08:00
xianjimli
bc22b6af9b improve resource cache 2018-05-04 11:40:15 +08:00
xianjimli
86152cef86 image_manager_create with image loader 2018-05-04 11:36:32 +08:00
xianjimli
92b92f3fd5 use fs_read_file to read file 2018-05-04 11:35:11 +08:00
xianjimli
492c013e60 add xml_builder_get_attr 2018-05-04 11:34:29 +08:00
xianjimli
fbac995b50 update docs 2018-05-04 11:33:23 +08:00
xianjimli
54bbcb8906 fs_read_file allow size be NULL 2018-05-04 11:32:33 +08:00
xianjimli
8b6a42e830 add array_remove_all 2018-05-04 11:28:07 +08:00
xianjimli
56e9961dab add skip and docs 2018-05-04 11:27:12 +08:00
xianjimli
1468d14be9 add str_set_with_len 2018-05-04 11:00:21 +08:00
xianjimli
36de4d0e19 add str_t 2018-05-01 12:02:42 +08:00
xianjimli
b3304e2ea7 Merge branch 'master' of https://github.com/xianjimli/lftk 2018-04-30 12:14:21 +08:00
xianjimli
781f2f4c0a fix stm32 2018-04-30 12:12:12 +08:00
xianjimli
f0d2a0f4e4 improve resource manager 2018-04-30 08:13:36 +08:00
xianjimli
285e3bfccb draw image support device pixel ratio 2018-04-30 07:55:02 +08:00
xianjimli
92b8c210f5 fix stm32 compile 2018-04-29 19:00:47 +08:00
xianjimli
bdef65d580 fix time and update resource 2018-04-29 18:30:51 +08:00
xianjimli
0096b9566f fix windows compile warnings 2018-04-29 17:31:07 +08:00
xianjimli
ef4d66be4d fix windows compile warnings 2018-04-29 17:30:16 +08:00
xianjimli
b66d00b0ac rename MEM_ to TKMEM_ and format code 2018-04-29 16:51:54 +08:00
xianjimli
4b964a97e0 update docs 2018-04-29 12:29:15 +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
8c25e7886b fix compile warnings 2018-04-27 10:01:26 +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
306ea9106e improve window animator 2018-04-23 11:33:45 +08:00
xianjimli
132ac68121 ignore user input when window animating 2018-04-22 21:59:55 +08:00
xianjimli
6d5f099997 window animator on framebuffer 2018-04-22 16:57:05 +08:00
xianjimli
e87c457344 add vtranslate 2018-04-21 19:09:35 +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
26c9759017 add window_close 2018-04-21 07:42:22 +08:00
xianjimli
35d4ea8f5e add window animator framework 2018-04-20 21:49:47 +08:00
xianjimli
10ddd28752 fix timer_remove 2018-04-19 14:25:02 +08:00
xianjimli
a5dab59fd9 add src/base/idle.c src/base/idle.h tests/idle_test.cc src/main_loop 2018-04-19 14:24:41 +08:00
xianjimli
597365517b add test 2018-04-18 17:33:40 +08:00
xianjimli
c1f2dc8a51 fix draw points 2018-04-18 16:58:51 +08:00
xianjimli
d63707f289 improve image loader 2018-04-18 14:27:14 +08:00
xianjimli
b8372edbca Merge branch 'master' of https://github.com/xianjimli/lftk 2018-04-17 15:10:34 +08:00
xianjimli
9a855c483d add lcd_get_point_color 2018-04-17 15:09:25 +08:00
xianjimli
d2571c94d7 fix compile warnings 2018-04-15 18:15:27 +08:00
xianjimli
cfaf1b67bb add nanovg implememented vgcanvas 2018-04-15 17:58:24 +08:00
xianjimli
1d8e49519c fix windows compile error 2018-04-13 21:44:50 +08:00
xianjimli
122207fd9b use glad to load opengl 2018-04-13 13:54:36 +08:00
xianjimli
23eb92a0d9 add nanovg lcd 2018-04-13 10:25:58 +08:00
xianjimli
7ee3205aa7 update docs 2018-04-10 11:16:30 +08:00
xianjimli
6ccd728b72 rename width to w, height to h 2018-04-09 16:22:35 +08:00
xianjimli
2ca1c15d6f improve lcd interface 2018-04-09 15:58:47 +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
2bb60afed3 fix windows compile errors 2018-04-08 11:34:05 +08:00
xianjimli
fd8081d770 fix linux compile 2018-04-08 07:43:28 +08:00
xianjimli
a0d33ef894 fix wstr 2018-04-08 07:43:17 +08:00
xianjimli
b29773aad8 add edit 2018-04-08 07:32:48 +08:00
xianjimli
aaab737c83 improve key event dispatch 2018-04-08 07:31:31 +08:00
xianjimli
b9bb7a3b2e improve wstr 2018-04-08 07:28:21 +08:00
xianjimli
231f8b1621 add keys 2018-04-08 07:12:54 +08:00
xianjimli
657e5280d0 move text to widget 2018-04-05 18:45:19 +08:00
xianjimli
cbee2b6f78 change double to float_t 2018-04-05 18:00:06 +08:00
xianjimli
cb032566f0 add view 2018-04-05 17:59:53 +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
xianjimli
6e9ef4c85a fix windows compile error 2018-03-28 21:52:45 +08:00
lixianjing
d17bfd7b5a refactoring 2018-03-28 21:36:07 +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
03ce6fb5d6 emit EVT_VALUE_CHANGE 2018-03-26 12:15:19 +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
8d7aaf09a5 add matrix 2018-03-23 19:15:24 +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
5f36f35611 redesign resource manager 2018-03-18 11:29:31 +08:00
jim
0b97e1e0b8 update docs 2018-03-17 12:18:30 +08:00
xianjimli
37d844c918 improve stm32 2018-03-17 07:40:02 +08:00
jim
906a09f6d9 add qt_to_xml/rc_to_xml 2018-03-15 22:07:01 +08:00
jim
9e7efeaf8d refactor 2018-03-13 21:53:21 +08:00
jim
47d73bcecf add event_queue 2018-03-13 21:23:34 +08:00
jim
79cde3f835 add docs 2018-03-12 21:24:24 +08:00
jim
73b8e1a3d0 call widget_layout after winodw create completed 2018-03-12 20:31:16 +08:00
jim
581f0d330b update demo data 2018-03-12 07:33:58 +08:00
jim
d96c0ec537 improve layout 2018-03-12 07:12:35 +08:00
jim
8d3686bb21 support layout 2018-03-11 22:25:54 +08:00
xianjimli
b98395e864 fix build warnings 2018-03-11 16:10:01 +08:00
jim
3fb0ff30b9 support fast mode 2018-03-11 14:21:19 +08:00
jim
f1c875c453 update docs 2018-03-11 12:04:43 +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
9a0590ba59 support load ui from xml/bin ui description 2018-03-10 19:11:37 +08:00
jim
998ce389b1 improve lua binding. 2018-03-10 08:06:02 +08:00
xianjimli
37decfbf27 change sre s to uin src/base to tf8-bom encoding 2018-03-09 22:21:56 +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
xianjimli
7da0296ade fix compile warnings 2018-03-05 17:13:09 +08:00
jim
8a5b7a63a9 fix linux/windows build errors. 2018-03-05 11:51:05 +08:00
jim
1e9d85353b improve lua generator 2018-03-04 13:09:23 +08:00
jim
0d420c9665 1.add api doc. 2.add lua generator 2018-03-04 08:32:52 +08:00
jim
95e9f2f070 remove lcd_init 2018-02-26 17:32:00 +08:00
jim
e84dc43e2d fix memory function name 2018-02-26 17:24:07 +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
1f468e80fb tools use self-contained memory manager 2018-02-22 11:37:13 +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