Commit Graph

156 Commits

Author SHA1 Message Date
dzzxzz@gmail.com 601eb6fe70 sync RTGUI with github(https://github.com/RT-Thread/RTGUI) c4b8c0ac2a3de482357b88d584931831aed7c8ae
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2481 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-14 03:34:24 +00:00
dzzxzz@gmail.com 62447b2cd8 sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 9ae08379da5b698d6facc40bd0415de2e254ae9c
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2449 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-26 02:42:52 +00:00
dzzxzz@gmail.com b4a2beffba fixed two compiling error while defined RTGUI_USING_MOUSE_CURSOR
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2324 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-08 09:03:58 +00:00
dzzxzz@gmail.com bcc6ffac9e sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 9573987ab967d6823151f967e4715a995579c8e5
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2301 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 08:13:23 +00:00
dzzxzz@gmail.com 9707b6ce0b sync RTGUI with github(https://github.com/RT-Thread/RTGUI)
a8dac7ed473f381b7042cf9d14028488192624c5
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2276 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07 01:50:13 +00:00
dzzxzz@gmail.com 64b0cd34fe sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 126336387561442a0508b661595134deb28ad34b
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2265 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27 07:57:19 +00:00
dzzxzz@gmail.com e6a9dd1922 sync with github f5619cb8ad5e4f581e3b2f6a44be4ddd5b432e59
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2253 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-13 06:30:05 +00:00
dzzxzz@gmail.com 08e05eb3b4 sync with github bd3351e572
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2234 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-26 06:36:49 +00:00
chaos.proton@gmail.com f2503a770f sync with github 5892d5b7
Add update_toplevel event. As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2224 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-21 12:18:51 +00:00
chaos.proton@gmail.com 8c03104507 sync with RTGUI d24a1ff
fix rtgui/driver and bmp engine bugs.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2223 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-20 18:48:34 +00:00
chaos.proton@gmail.com 92a50c838d sync with RTGUI c074ff2898b9e
Full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2222 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-20 12:37:56 +00:00
iamyhw@gmail.com 961a6a51c9 Display the function name and the line Numbers, when detect widget type.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2210 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-09 02:53:40 +00:00
iamyhw@gmail.com b440fc981e beautify the focused rectangle.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2191 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-27 03:03:44 +00:00
dzzxzz@gmail.com 70e39ffa54 update rtgui related project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2177 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-19 00:48:11 +00:00
dzzxzz@gmail.com 0b30e68b10 fixed calibration issue in mini2440 BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2167 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-15 07:42:45 +00:00
dzzxzz@gmail.com 07b910be8f fixed compiling error related to rtgui in mini2440 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2155 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-08 08:13:44 +00:00
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 87e992a574 fix various bugs found by amsl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2131 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-27 16:34:19 +00:00
chaos.proton@gmail.com df8bebdc55 fix compiling warnings and errors ifndef RTGUI_USING_SMALL_SIZE
Thank lgnq for pointing out it.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2096 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20 06:47:38 +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
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