2009-12-27 21:07:14 +08:00
|
|
|
Import('RTT_ROOT')
|
2010-11-20 20:31:00 +08:00
|
|
|
from building import *
|
2009-12-27 21:07:14 +08:00
|
|
|
|
|
|
|
common_src = Split("""
|
2010-08-16 13:31:39 +08:00
|
|
|
common/blit.c
|
2010-05-08 23:50:45 +08:00
|
|
|
common/color.c
|
|
|
|
common/region.c
|
2009-12-27 21:07:14 +08:00
|
|
|
common/rtgui_object.c
|
|
|
|
common/rtgui_system.c
|
|
|
|
common/rtgui_theme.c
|
2010-05-08 23:50:45 +08:00
|
|
|
common/rtgui_xml.c
|
2009-12-27 21:07:14 +08:00
|
|
|
common/dc.c
|
|
|
|
common/dc_hw.c
|
2010-08-16 13:31:39 +08:00
|
|
|
common/dc_buffer.c
|
|
|
|
common/dc_client.c
|
2009-12-27 21:07:14 +08:00
|
|
|
common/filerw.c
|
|
|
|
common/image.c
|
|
|
|
common/image_xpm.c
|
|
|
|
common/image_hdc.c
|
2011-01-20 17:59:45 +08:00
|
|
|
common/image_bmp.c
|
2011-01-31 08:02:45 +08:00
|
|
|
common/image_png.c
|
|
|
|
common/image_jpg.c
|
2011-01-21 18:19:09 +08:00
|
|
|
common/image_container.c
|
2010-05-08 23:50:45 +08:00
|
|
|
common/font.c
|
2010-09-26 22:30:42 +08:00
|
|
|
common/font_bmp.c
|
2010-05-08 23:50:45 +08:00
|
|
|
common/font_hz_file.c
|
|
|
|
common/font_hz_bmp.c
|
|
|
|
common/asc12font.c
|
|
|
|
common/asc16font.c
|
2009-12-27 21:07:14 +08:00
|
|
|
common/hz12font.c
|
|
|
|
common/hz16font.c
|
|
|
|
""")
|
|
|
|
|
|
|
|
server_src = Split("""
|
|
|
|
server/driver.c
|
|
|
|
server/mouse.c
|
|
|
|
server/panel.c
|
|
|
|
server/server.c
|
|
|
|
server/topwin.c
|
|
|
|
""")
|
|
|
|
|
|
|
|
widgets_src = Split("""
|
|
|
|
widgets/box.c
|
|
|
|
widgets/button.c
|
2010-01-08 08:02:24 +08:00
|
|
|
widgets/checkbox.c
|
2009-12-27 21:07:14 +08:00
|
|
|
widgets/container.c
|
2010-12-18 10:03:53 +08:00
|
|
|
widgets/combobox.c
|
2009-12-27 21:07:14 +08:00
|
|
|
widgets/iconbox.c
|
|
|
|
widgets/label.c
|
2010-12-18 10:03:53 +08:00
|
|
|
widgets/listctrl.c
|
|
|
|
widgets/menu.c
|
2010-01-08 08:02:24 +08:00
|
|
|
widgets/progressbar.c
|
2010-01-27 17:40:02 +08:00
|
|
|
widgets/radiobox.c
|
2010-01-08 08:02:24 +08:00
|
|
|
widgets/slider.c
|
2010-08-16 13:31:39 +08:00
|
|
|
widgets/scrollbar.c
|
2010-01-08 08:02:24 +08:00
|
|
|
widgets/staticline.c
|
2009-12-27 21:07:14 +08:00
|
|
|
widgets/textbox.c
|
2010-05-05 22:28:10 +08:00
|
|
|
widgets/listbox.c
|
2009-12-27 21:07:14 +08:00
|
|
|
widgets/title.c
|
|
|
|
widgets/toplevel.c
|
|
|
|
widgets/view.c
|
2010-01-27 09:26:12 +08:00
|
|
|
widgets/list_view.c
|
|
|
|
widgets/about_view.c
|
|
|
|
widgets/filelist_view.c
|
2009-12-27 21:07:14 +08:00
|
|
|
widgets/widget.c
|
|
|
|
widgets/window.c
|
|
|
|
widgets/workbench.c
|
|
|
|
""")
|
|
|
|
|
|
|
|
# The set of source files associated with this SConscript file.
|
2010-11-20 20:31:00 +08:00
|
|
|
src = common_src + server_src + widgets_src
|
2009-12-27 21:07:14 +08:00
|
|
|
|
2010-04-19 12:43:15 +08:00
|
|
|
path = [RTT_ROOT + '/components/rtgui/include',
|
|
|
|
RTT_ROOT + '/components/rgtui/common',
|
|
|
|
RTT_ROOT + '/components/rtgui/server',
|
|
|
|
RTT_ROOT + '/components/rtgui/widgets']
|
2010-11-20 20:31:00 +08:00
|
|
|
group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI'], CPPPATH = path)
|
2009-12-27 21:07:14 +08:00
|
|
|
|
2010-11-20 20:31:00 +08:00
|
|
|
Return('group')
|