Commit Graph

558 Commits

Author SHA1 Message Date
lixianjing
57e2147f1c fix dirty rect bug 2019-06-21 17:29:35 +08:00
lixianjing
aa2c092c95 fix window_manager_update_cursor 2019-06-18 11:01:38 +08:00
lixianjing
84d0ba8399 update docs 2019-06-17 17:59:46 +08:00
lixianjing
e0c9f4a903 add timer_modify and fix screen saver timer 2019-06-15 06:17:27 +08:00
lixianjing
66468aace6 update docs 2019-06-14 17:48:09 +08:00
lixianjing
260cd73f57 support load image from filesystem 2019-06-13 15:15:12 +08:00
lixianjing
2fc2f60c52 update docs 2019-06-12 15:54:21 +08:00
lixianjing
1335c176d7 fix switch paint bug 2019-06-10 10:13:41 +08:00
xianjimli
aa62bd4544 update docs 2019-06-08 15:10:02 +08:00
lixianjing
fc8bafdacb add border width 2019-06-06 18:19:03 +08:00
lixianjing
8700d69530 update docs 2019-06-06 17:38:32 +08:00
lixianjing
bde1c5f8be add slide view indicator 2019-06-05 17:50:55 +08:00
lixianjing
46bcc5adc5 xml ui desc file support property tag 2019-06-04 18:04:52 +08:00
lixianjing
75d63a3380 improve widget_clone to support copy mutable style 2019-06-04 14:29:39 +08:00
xianjimli
45be58901d enable style mutable by default 2019-06-03 18:35:42 +08:00
xianjimli
02d4dba030 fix combox in list view 2019-06-03 11:38:59 +08:00
xianjimli
1adb9e2401 improve expr eval 2019-06-02 07:53:24 +08:00
xianjimli
3f71687128 improve children layout 2019-05-31 18:55:56 +08:00
xianjimli
26d76546ac update docs 2019-05-31 17:12:51 +08:00
xianjimli
46c7a3bb5d fix cairo backend 2019-05-31 11:56:30 +08:00
lixianjing
fb6cee39cc improve assets manager 2019-05-30 18:06:54 +08:00
lixianjing
4a79ec7bd1 make candidates scollable 2019-05-30 16:24:04 +08:00
lixianjing
a4f349c414 ensure tab button visible in scroll view 2019-05-30 09:47:26 +08:00
lixianjing
a3bd93419d update docs 2019-05-30 09:25:26 +08:00
lixianjing
6d4513da79 remove TK_DEFAULT_FONT macro 2019-05-29 17:24:46 +08:00
lixianjing
055a67d859 add overlay 2019-05-29 15:24:59 +08:00
lixianjing
c481023a84 improve vgcanvas 2019-05-28 17:43:32 +08:00
lixianjing
bf4c8b30ad improve shortcut 2019-05-28 14:26:01 +08:00
lixianjing
81207a2227 merge bgfx patch 2019-05-28 08:56:35 +08:00
lixianjing
d35137359e add shortcut 2019-05-27 18:08:29 +08:00
lixianjing
8804dd3c90 pages/slide_view change key target to active page 2019-05-27 13:01:28 +08:00
lixianjing
41f3d32eb3 improve window manager 2019-05-27 11:35:25 +08:00
lixianjing
12f8a4ff0a improve move focus 2019-05-25 11:41:03 +08:00
lixianjing
121ab03831 update docs 2019-05-24 19:22:05 +08:00
lixianjing
cae02148a1 fix progress circle radius 2019-05-24 17:02:53 +08:00
lixianjing
eca9743b1a update docs 2019-05-23 16:00:37 +08:00
lixianjing
f8b3a8b50c fix guage pointer warnings 2019-05-23 15:22:46 +08:00
lixianjing
ff8693ce7e focus first 2019-05-23 15:00:06 +08:00
lixianjing
ce56289ce4 move focus skip invisible and disabled widgets 2019-05-23 14:09:33 +08:00
lixianjing
b32e564564 fix slide menu find target 2019-05-23 11:09:17 +08:00
lixianjing
9179c4c1b8 fix edit in scroll view 2019-05-23 10:59:21 +08:00
lixianjing
00d3fd91aa rework list view layouter 2019-05-22 18:05:44 +08:00
lixianjing
1b00a0b169 update docs 2019-05-22 16:12:55 +08:00
lixianjing
947d2c9df2 update docs 2019-05-22 16:12:02 +08:00
lixianjing
b40624f907 window add move_focus_next_key/move_focus_prev_key props 2019-05-22 16:11:10 +08:00
lixianjing
00c8fb7bcf improve event flow, support place slide menu in slide view 2019-05-22 14:42:15 +08:00
lixianjing
daf43c19c4 support tab stop 2019-05-21 16:23:10 +08:00
lixianjing
ef7086e56d button/check button trigger click event when space/return key pressed 2019-05-21 13:49:34 +08:00
xianjimli
1bfb030799 fix widget_set_tr_text 2019-05-20 17:22:26 +08:00
xianjimli
aba26729d9 improve slider to support left/right/up/down 2019-05-18 19:07:10 +08:00
xianjimli
269c94a0a7 fix window_manager_open_window 2019-05-18 18:19:02 +08:00
xianjimli
7975dc4bde merge text selector patch 2019-05-18 18:08:59 +08:00
lixianjing
244a610c27 improve scroll view so it can be the child of slide view. 2019-05-16 15:12:35 +08:00
lixianjing
1a71a3eb2a update docs 2019-05-16 14:09:53 +08:00
lixianjing
1c2d10d441 update docs 2019-05-16 11:09:46 +08:00
lixianjing
a87e9558a2 update docs 2019-05-15 16:11:15 +08:00
lixianjing
2ddede6eea update docs 2019-05-15 10:54:38 +08:00
lixianjing
6ac45bcf4f fix guage pointer docs 2019-05-15 10:51:40 +08:00
lixianjing
d3fcefa81e improve margin 2019-05-14 17:29:48 +08:00
xianjimli
a6cb009eb8 add function widget_find_animator 2019-05-13 17:53:02 +08:00
xianjimli
89a6dcb592 add self_layouter_factory/children_layouter_factory 2019-05-13 17:19:11 +08:00
xianjimli
f86e4df3ad add widget_add_idle 2019-05-13 12:05:32 +08:00
xianjimli
48aa03a1fe add cond_var 2019-05-11 18:35:14 +08:00
lixianjing
bf2f33d1e6 fix build for 32bit ubuntu 2019-05-11 17:37:07 +08:00
xianjimli
0990b2607f guage pointer support anchor. fix issue #116 2019-05-11 11:14:28 +08:00
xianjimli
c327143350 add some xxx_BEFORE_CHILDREN events, give user register event handlers an opportunity to intercept default event handler 2019-05-10 16:52:06 +08:00
xianjimli
aed17d169c update assets 2019-05-10 07:11:33 +08:00
lixianjing
95d0ec3748 add merge.js and update docs 2019-05-08 16:23:46 +08:00
lixianjing
e401363002 update docs 2019-05-08 15:50:21 +08:00
lixianjing
9929555d9f refactor image loader to support custom image loader 2019-05-07 17:17:57 +08:00
xianjimli
0117c69a82 add new state WIDGET_STATE_EMPTY_FOCUS for edit. 2019-05-07 14:28:43 +08:00
xianjimli
2204f9c7d2 update assets 2019-05-07 14:09:38 +08:00
xianjimli
23445d1436 show tips if edit is empty even in focus status 2019-05-07 09:39:19 +08:00
lixianjing
c18f981511 soft keyboard support delete key 2019-05-06 17:11:01 +08:00
lixianjing
2925f4e882 rename thread to tk_thread 2019-05-06 16:35:51 +08:00
xianjimli
5434aec053 modify for awtk-web-js 2019-05-02 18:46:45 +08:00
xianjimli
65e3627bb1 update docs 2019-05-01 21:41:27 +08:00
xianjimli
4d73c63bd7 fix canvas_set_clip_rect/canvas_fix_rect 2019-04-30 18:20:49 +08:00
xianjimli
f859ba4511 update docs 2019-04-30 12:44:04 +08:00
xianjimli
7cc65025f8 update docs 2019-04-30 07:20:53 +08:00
xianjimli
d05dbb7170 refactor and format code 2019-04-29 12:38:30 +08:00
xianjimli
97f2e21429 fix awtk web dirty rect 2019-04-29 07:07:13 +08:00
xianjimli
49eb5f7291 improve gif for awtk web 2019-04-28 12:47:47 +08:00
xianjimli
fb0cf9cfcc update docs 2019-04-26 18:46:42 +08:00
xianjimli
e335ec3179 fix widget_set_as_key_target 2019-04-25 16:32:12 +08:00
xianjimli
5a5448c850 fix slide view clip bug on web 2019-04-25 15:21:04 +08:00
xianjimli
6cedb84c97 update docs 2019-04-25 11:07:32 +08:00
xianjimli
2e98b7203f update docs and assets 2019-04-24 14:31:12 +08:00
xianjimli
069a7045fd fix toast bug 2019-04-24 10:12:23 +08:00
xianjimli
dc68a92ef8 update docs 2019-04-24 09:17:52 +08:00
xianjimli
4eef258af1 fix app desktop under agge mode 2019-04-24 08:50:51 +08:00
xianjimli
8ca09a74b6 improve scrollview 2019-04-23 16:12:11 +08:00
xianjimli
8cd0c89d00 input method support scriptable 2019-04-22 17:48:54 +08:00
xianjimli
6598a5e6c6 refactor time clock 2019-04-21 12:03:03 +08:00
xianjimli
131fdadfa6 improve for awtk web 2019-04-20 12:11:51 +08:00
xianjimli
54cc95e396 improve widget_get_window 2019-04-19 12:05:09 +08:00
xianjimli
87202d121f bulitin dialog enable dialog highligher 2019-04-19 11:31:49 +08:00
xianjimli
874bd28618 improve self_layouter_default 2019-04-19 11:25:12 +08:00
xianjimli
12a4013dda optimization blender 2019-04-18 16:08:33 +08:00
xianjimli
780b0f1a74 improve scroll view 2019-04-18 14:28:05 +08:00
xianjimli
d6446241f5 window manager support paint events 2019-04-16 09:25:49 +08:00
xianjimli
e1a2004b82 support infer and cppcheck 2019-04-13 21:52:26 +08:00
xianjimli
8e98823b89 update docs 2019-04-12 17:22:58 +08:00
xianjimli
94d61dd0e7 fix widget_destroy_children 2019-04-10 18:04:24 +08:00
xianjimli
2c0b55404f update assets 2019-04-10 13:57:08 +08:00
xianjimli
65e3fbe653 fix WIN_WindowProc in SDL 2019-04-10 09:11:43 +08:00
xianjimli
3f7e4ebebf dialog support non-modal 2019-04-09 09:57:16 +08:00
xianjimli
46d5f9e238 fix window_manager_back_to_home(issue #109) 2019-04-09 09:14:55 +08:00
xianjimli
aac61d6920 update docs 2019-04-08 18:49:09 +08:00
xianjimli
16e992c20b refactor and fix memory leaks found by valgrind 2019-04-08 18:14:36 +08:00
xianjimli
14ac7ba75d update asset scripts 2019-04-07 18:31:16 +08:00
xianjimli
14213e853c small modification for awtk-web 2019-04-07 11:48:24 +08:00
xianjimli
fc208d26c5 add TK_CONST_DATA_ALIGN 2019-04-06 12:29:06 +08:00
xianjimli
62c43e5c45 fix color picker 2019-04-03 14:45:46 +08:00
xianjimli
5a40109a00 fix window_base_load_theme_obj 2019-04-03 14:19:56 +08:00
xianjimli
e510533545 improve text selector, support format in options prop 2019-04-03 11:30:35 +08:00
xianjimli
c5df999f41 fix window animators 2019-04-03 10:53:07 +08:00
xianjimli
7cf548cb6f fix edit bug 2019-04-03 09:39:05 +08:00
xianjimli
d262f5f1e3 re-enable WITH_MINI_FONT 2019-04-03 09:28:49 +08:00
xianjimli
3b7b02b0b8 fix assets_manager_unref 2019-04-02 18:12:00 +08:00
xianjimli
7c9d35c5f2 add style_mutable_cast 2019-04-02 17:39:57 +08:00
xianjimli
4fd977515b add style_mutable_get_value 2019-04-02 17:21:19 +08:00
xianjimli
3ec6077c7c fix main_loop_sdl2_dispatch_mouse_event 2019-04-02 13:58:50 +08:00
xianjimli
cf754d16f8 fix window_manager_back_to_home 2019-04-02 13:53:30 +08:00
xianjimli
92a1cc9ff9 fix slide view clip bug issue #105 2019-04-02 10:08:13 +08:00
xianjimli
33726abde1 soft keyboard support tab 2019-04-02 09:59:13 +08:00
xianjimli
817038eeea fix windows compile errors 2019-04-02 09:32:22 +08:00
xianjimli
24b2bef593 add font_manager_unload_font 2019-04-01 18:06:31 +08:00
xianjimli
226e4bf406 fix issue #104 2019-04-01 17:15:46 +08:00
xianjimli
983cd06261 support get locale info from window 2019-04-01 12:22:41 +08:00
xianjimli
83b2831125 update docs 2019-03-30 11:58:39 +08:00
xianjimli
5128b0448f fix window_manager_back_to_home(issue #102) 2019-03-30 10:27:32 +08:00
xianjimli
580b924a48 merge reworkwa 2019-03-29 18:39:40 +08:00
xianjimli
564949af27 fix call window_manager_back_to_home in dialog 2019-03-29 16:52:12 +08:00
xianjimli
593969612a fix edit 2019-03-28 18:09:32 +08:00
xianjimli
768352b9c2 fix edit_set_focus 2019-03-28 15:55:48 +08:00
xianjimli
4c6d1b1789 fix bool_t redefined bug on aworks 2019-03-28 15:33:34 +08:00
xianjimli
add5e0bbaa fix SDL SConscript 2019-03-28 11:12:13 +08:00
xianjimli
72383f2b3c fix filename_to_name_ex 2019-03-27 09:42:53 +08:00
xianjimli
42e8fbb446 fix window_manager_on_paint_children(issue #100) 2019-03-25 17:14:02 +08:00
xianjimli
36f949132b fix issue #101 2019-03-25 16:55:48 +08:00
xianjimli
3699beb8ea improve params checker 2019-03-22 18:34:27 +08:00
xianjimli
fcb908dc17 fix list view 2019-03-22 17:03:10 +08:00
xianjimli
3e0c7babe1 add bar_size prop for slider 2019-03-21 18:03:31 +08:00
xianjimli
251b4bdc79 data assets support duplicate filename 2019-03-21 17:44:11 +08:00
xianjimli
a4592c4242 add lcd_profile to help find performance issues 2019-03-21 16:29:27 +08:00
xianjimli
1738e6d9dd update docs 2019-03-20 18:06:19 +08:00
xianjimli
2227daeade support use tab/up/down key to change focused edit 2019-03-20 17:24:30 +08:00
xianjimli
effe016fee fix edit default focus bug 2019-03-20 15:33:37 +08:00
xianjimli
9ffb00304d window support fullscreen prop, and update docs 2019-03-20 14:53:37 +08:00
xianjimli
3acdeb491a fix system_bar 2019-03-20 13:53:52 +08:00
xianjimli
d4141a0f05 fix style config 2019-03-20 11:35:15 +08:00
xianjimli
db616f27fe improve assets build script to support any file extensions in data folder. 2019-03-20 11:16:26 +08:00
xianjimli
691e1dd3d5 improve scroll_bar_set_params 2019-03-19 17:23:18 +08:00
xianjimli
c32f7b50de fix window_manager_close_window(issue #97) 2019-03-19 09:37:17 +08:00
xianjimli
ca0eeaf607 use system libc to implement tk_atof/tk_atoi 2019-03-18 18:12:30 +08:00
xianjimli
67a481775a add color_rgba_str 2019-03-18 17:45:49 +08:00
xianjimli
4be33699a0 improve assets build scripts 2019-03-15 17:44:48 +08:00
xianjimli
c87461f2d1 update docs 2019-03-14 11:09:13 +08:00
xianjimli
4f466adb42 fix widget_clone 2019-03-13 18:13:46 +08:00
xianjimli
da6eb3afa9 fix emitter_remove_item 2019-03-13 15:27:44 +08:00
xianjimli
7b896afe29 fix widget_use style 2019-03-13 14:04:52 +08:00
xianjimli
324ff46554 add window_manager_back/window_manager_back_to_home 2019-03-12 14:39:52 +08:00
xianjimli
c7b0a01f77 update assets 2019-03-11 18:32:41 +08:00
xianjimli
77cadc0a49 improve digit clock 2019-03-11 17:57:27 +08:00
xianjimli
2680f831b3 fix emitter_dispatch 2019-03-11 12:02:54 +08:00
xianjimli
1d7c057175 ui/image name support expr 2019-03-08 18:51:09 +08:00
xianjimli
52272913b1 refactor and support load density insensitive images 2019-03-08 11:26:35 +08:00
xianjimli
3e804bafc9 support set font global scale 2019-03-07 15:53:59 +08:00
xianjimli
f8416152dd rework system info 2019-03-07 15:25:11 +08:00
xianjimli
216bca57a2 add str_expand_vars 2019-03-07 13:44:25 +08:00
xianjimli
545ebf6aa3 improve slide view 2019-03-07 09:29:08 +08:00
xianjimli
2d39829ef1 fix canvas_get_vgcanvas, init text_baseline/text_align 2019-03-06 11:21:01 +08:00
xianjimli
d05b0d0fd3 slide view support loop mode 2019-03-06 10:08:21 +08:00
xianjimli
4e1957658a add annotation for class 2019-03-05 17:44:57 +08:00
xianjimli
293ba9aa99 update for bgfx 2019-03-05 16:07:21 +08:00
xianjimli
a3d5939131 merge issue #97 2019-03-05 14:54:23 +08:00
xianjimli
759fe23752 rework progressbar/slider 2019-03-05 14:43:20 +08:00
xianjimli
adbd2d94f4 fix progress bar display bug 2019-03-04 17:08:14 +08:00
xianjimli
0b23e38129 refactor and update docs 2019-03-04 12:01:32 +08:00
xianjimli
f88d9699b4 add dialog_info/dialog_confirm/dialog_info 2019-03-02 18:04:29 +08:00
xianjimli
a64b93fff0 add dialog_toast 2019-03-01 18:04:57 +08:00
xianjimli
b577435c77 add mutable_image and update docs 2019-02-28 16:15:09 +08:00
xianjimli
7dcc12bf0a sync bgfx 2019-02-27 09:39:49 +08:00
xianjimli
d2d93d2432 format code 2019-02-26 18:06:34 +08:00
xianjimli
59b6488984 fix main_loop_sdl_fb_destroy 2019-02-26 17:00:03 +08:00
xianjimli
43abc66963 update docs(merge typecheck). 2019-02-26 16:02:40 +08:00
xianjimli
04debee2bf rework SConstruct 2019-02-25 17:45:05 +08:00
xianjimli
c0827a555b improve image_animation, fix issue #85 2019-02-25 11:59:00 +08:00
xianjimli
c56409fb82 update docs 2019-02-22 18:05:10 +08:00
xianjimli
313f9371e8 update docs 2019-02-22 11:46:58 +08:00
xianjimli
2bfc2d123d support change screen saver time 2019-02-21 18:00:15 +08:00
xianjimli
e5465a83f7 update docs 2019-02-21 14:01:09 +08:00
xianjimli
ed609de04c update docs 2019-02-21 11:09:54 +08:00
xianjimli
9eb02f67a1 support screen saver 2019-02-20 15:02:13 +08:00
xianjimli
dc00e9a674 button add enable_long_press property 2019-02-20 10:32:41 +08:00
xianjimli
d84dd7a436 add darray_tail/darray_head 2019-02-19 15:09:15 +08:00
xianjimli
422ec231a5 improve dialog 2019-02-18 11:43:59 +08:00
xianjimli
0ef299abd3 improve image animation 2019-02-18 11:29:51 +08:00
xianjimli
0f6fad9d39 bitmap/color/date_time/emitter/event/named_value/object/object_default/rect/value support gc 2019-02-15 05:44:49 +08:00