Commit Graph

120 Commits

Author SHA1 Message Date
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
wuyangyong 36c6d994c7 fix spelling errors
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1653 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-28 16:38:32 +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
qiuyiuestc@gmail.com ce01644d0d clean code and mirror change for desktop application
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1552 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29 14:45:59 +00:00
bernard.xiong@gmail.com 0aa5ded9c1 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1550 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-06-29 14:42:54 +00:00
bernard.xiong a69172aa4e fix button status issue, which caused by mouse released outside of button but button handled the mouse press event last time.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1547 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29 09:57:28 +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 e540ac977c update graphic driver to const variable.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1460 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-07 15:14:35 +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 62c1662366 fix destroy an application issue when there is no another application in the panel.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1312 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-06 04:16:31 +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@gmail.com 1090e48f01 fix no image case in listview.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1309 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-06 02:38:59 +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 a6d0f9b942 fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1266 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-30 04:23:49 +00:00
bernard.xiong 6693b9c2d1 fix mouse click on whitespace issue in listctrl.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1262 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-25 09:44:11 +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 2aeee86c5f fix backspace issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1257 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-24 09:48:00 +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
wuyangyong 50bd74d3cb fix compiler error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1238 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-12 06:21:10 +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 297405c3c6 update menu control and add notebook control.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1220 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-21 23:50:25 +00:00
bernard.xiong@gmail.com 00e74b98cb update GUI building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1213 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-18 02:03:53 +00:00
bernard.xiong@gmail.com b2db97ed96 update menu control.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1210 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-18 01:52:31 +00:00
bernard.xiong@gmail.com 6565e9511b update menu control.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1207 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-17 02:39:06 +00:00
bernard.xiong@gmail.com 5d0786513e update combobox widget; add listctrl.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1193 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-12 23:40:04 +00:00
bernard.xiong 5c21c6b45d change static __inline to rt_inline.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1180 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-06 01:33:43 +00:00
bernard.xiong@gmail.com a8053dbe6e update combobox widget
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1179 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-06 00:04:22 +00:00