Commit Graph

86 Commits

Author SHA1 Message Date
iamyhw@gmail.com 506a68edee uniform resource name, _rtgui_type => _rtgui_object
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2134 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:46:09 +00:00
iamyhw@gmail.com b20311198a fix compile error,restore old name,conflicting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2133 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:37:10 +00:00
iamyhw@gmail.com 5653251c20 unified naming rules,_rtgui_type => _rtgui_object
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:12:26 +00:00
chaos.proton@gmail.com cdd01a2528 bring back commit 2079
I over written that commit accidentally, bring it back.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2093 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-19 02:14:21 +00:00
chaos.proton@gmail.com db06460208 merge new RTGUI in to trunk
The full log is at https://github.com/RTGUI/RTGUI/commits/merge_1 and it's difficult to merge the new tree commit by commit. I also converted all the file into unix eol so there are many fake diff. Big changes are noted in rtgui/doc/road_map.txt and rtgui/doc/attention.txt. Keep an eye on them if you want to migrate your old code.

Note that the work is still in progress and the bsp is not prepared in trunk so far.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2092 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-18 15:06:12 +00:00
bernard.xiong@gmail.com e86f340521 fixed RT-Thread/GUI building warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2079 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 04:58:50 +00:00
dzzxzz 315fffcfcb fixed a compiling error while defined RTGUI_EVENT_DEBUG
a ')' was missing in rtgui_system.c line 162 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1868 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 03:17:26 +00:00
chaos.proton@gmail.com e834b94805 rtgui_system: always detach ack_mb in rtgui_thread_send_sync
The old code won't detach ack_mb if error occurs. Fix it.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1807 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26 03:04:47 +00:00
chaos.proton@gmail.com 92d8465224 rtgui_system: code cleanup
Use rtgui_*_t instead of struct rtgui_*

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1806 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-26 03:03:27 +00:00
chaos.proton@gmail.com fad2648157 components/rtgui_win: check the return value of overlapFunc
overlapFunc will return RTGUI_REGION_STATUS_FAILURE in some
circumstance(OOM etc), check it and return error if any thing goes
wrong. It prevents garbage values crashing the system.

Please ignore the eol diff noise.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1802 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-23 19:00:08 +00:00
bernard.xiong c2badd8983 fixed drawing point issue when this point is out of buffer dc.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1719 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 10:18:09 +00:00
bernard.xiong a397fef958 fixed parameters check in rtgui_dc_draw_annulus function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1718 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 10:11:47 +00:00
iamyhw@gmail.com 2f0f2068b9 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1676 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-08-22 03:44:57 +00:00
iamyhw@gmail.com 825a978c75 dc_hw draw_point cross check.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1675 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-22 03:31:29 +00:00
bernard.xiong e1e75c4572 fixed Chinese font issue; fixed keyboard event handler issue in list widgets.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1673 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-17 08:23:59 +00:00
bernard.xiong 2e6e01550e fixed hz font derefer issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1671 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-16 08:19:57 +00:00
iamyhw@gmail.com 6f8bf54fb0 append patch:about rtgui_dc_client_blit_line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1650 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-25 06:37:00 +00:00
iamyhw@gmail.com f6db5d1c74 Fixd dc_buffer_fill_rect color,The foreground and background exchanged.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1646 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-21 01:40:56 +00:00
bernard.xiong@gmail.com 14c2f8c039 add rtgui_listbox_set_current_item function; fix draw rect issue on the border; fix progress bar drawing issue; fix on_item issue in menu if the sub_menu is shown;
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1488 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-11 06:18:46 +00:00
bernard.xiong@gmail.com ce5a42cc18 update graphic driver interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1463 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 14:53:32 +00:00
bernard.xiong@gmail.com 80da4b9775 change to graphic device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1459 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-06 09:10:13 +00:00
bernard.xiong@gmail.com db9e590b90 add multi-text view widget.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1455 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-05 15:19:19 +00:00
bernard.xiong@gmail.com bbf68d15e5 change graphic driver as RT-Thread device driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1454 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-05 15:16:41 +00:00
bernard.xiong a876302695 fix some compiling warning, errors in the new object system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1425 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 06:46:44 +00:00
bernard.xiong 8457439dc1 use new object type implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1402 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-13 10:53:51 +00:00
bernard.xiong 89d13cbd32 fix fill polygon issue, which found by loveic
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1385 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-25 09:07:50 +00:00
iamyhw@gmail.com 2e59147522 fix,In region judage two rectangular intersect,Missing cross.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1352 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-28 14:11:21 +00:00
bernard.xiong@gmail.com 71421510fc remove NOT small size definition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1311 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-06 03:28:24 +00:00
bernard.xiong@gmail.com 062f3ad035 fix external library path.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1310 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-06 02:40:16 +00:00
bernard.xiong 40035dab65 move to external.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1304 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-04 05:55:42 +00:00
bernard.xiong 27129b50fe move freetype to external.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1303 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-04 05:53:03 +00:00
bernard.xiong@gmail.com 7cca94e5a3 add image related building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1267 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-31 00:02:45 +00:00
bernard.xiong@gmail.com 211e1aa334 re-write external clip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1261 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-25 00:05:52 +00:00
bernard.xiong@gmail.com 1f46f9da43 fix length issue found by yermin.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1256 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-23 13:54:59 +00:00
bernard.xiong@gmail.com 0ce73d5b17 update image container.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1255 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-23 13:41:34 +00:00
bernard.xiong@gmail.com bb1518ef1d update image_container.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1254 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-22 01:30:42 +00:00
bernard.xiong 515b337983 add image_container.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1251 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-21 10:19:09 +00:00
bernard.xiong 66037b4de6 add textstyle in gc; fix hz_cache memory leak issue; fix selection issue in radiobox.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1250 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-20 09:59:45 +00:00
bernard.xiong@gmail.com b8e36ea545 fix compiler error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1235 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-05 15:51:26 +00:00
bernard.xiong@gmail.com 97cc2b9e4c update notebook control; fix rtgui_widget_hide issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1226 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-28 00:06:05 +00:00
bernard.xiong@gmail.com c260b4d77f update notebook control.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1223 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-22 23:57:44 +00:00
bernard.xiong@gmail.com 3f5623a8ee add combobox widget
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1174 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-02 23:54:17 +00:00
bernard.xiong c6a2715902 fix compile error in Preprocessor setting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1136 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 09:19:46 +00:00
bernard.xiong@gmail.com 5837cd792c change the selection block to square in list_view icon mode.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1042 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-07 23:27:08 +00:00
bernard.xiong@gmail.com 98dc2877a5 fix compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@969 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-27 15:51:38 +00:00
bernard.xiong@gmail.com 9641f5b7a0 update font engine.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@966 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-27 15:36:03 +00:00
bernard.xiong e5747e5b7b update FreeType font support. And the default texture encode is GBK.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@964 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-27 10:06:26 +00:00
bernard.xiong@gmail.com 9238dbb7bf fix draw_mono_bmp issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@963 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-26 22:59:05 +00:00
bernard.xiong@gmail.com 74a97349d2 add none-fixed font support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@961 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-26 14:30:42 +00:00
richard.lion.heart.gl 1b55b00533 modified rtgui_dc_draw_round_rect and sorted the sequence of functions
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@945 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 02:15:16 +00:00