Commit Graph

9 Commits

Author SHA1 Message Date
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
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@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