Commit Graph

135 Commits

Author SHA1 Message Date
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
chaos.proton@gmail.com e76ac34fac rtgui: fix compiling error found by onelife
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1889 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-30 12:43:23 +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 57e2947cfc rtgui/widgets/window.c: check null reference on rtgui_container.focused
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1829 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-07 06:52:32 +00:00
chaos.proton@gmail.com 538f59adaa rtgui/widgets/notebook: optimize mouse event handling #2
No need to update tab bar when user pressed the same tab.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1824 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-02 15:02:25 +00:00
chaos.proton@gmail.com 18e5f05098 rtgui/widgets/notebook: optimize mouse event handling
No need to let children widget handle mouse event when user pressed the tab bar.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1823 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-02 14:58:03 +00:00
chaos.proton@gmail.com b38a97572c rtgui/widgets/notebook: get rect only when needed
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1815 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 08:01:15 +00:00
chaos.proton@gmail.com 0803e79b53 rtgui/widgets/notebook: move the bar drawing code into one place
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1814 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 07:20:14 +00:00
chaos.proton@gmail.com 41c6c37bc7 rtgui/widgets/notebook.c: use RTGUI_NOTEBOOK_TAB_WIDTH instead of magic number
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1812 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 06:47:15 +00:00
chaos.proton@gmail.com a4cff858f6 suppress mdk4.21 eol warning
Suppress the warning "Lines ending with an invalid line end have been detected in file ...\rtgui_object.h" by convert the whole file to unix eol.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1810 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 02:10:25 +00:00
wuyangyong 29dc6a03e0 add rtgui_event_timer_t define
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1809 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-27 09:35:52 +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
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