fisrt version: migrate RTGUI win32 to win32-sim (use the drivers in RTT_ROOT\bsp\simulator
more take use of bsp/simulator

Reference bsp/simulator as much as possiable.
Merge pull request #1 from grissiom/use-bsp-sim

more take use of bsp/simulator
Merge branch 'master' of github.com:RT-Thread/RTGUI into sim-dev-old
Merge branch 'sim-dev' of github.com:prife/RTGUI into sim-dev-old
simulator: add sim-common"
demo: simplify code in application.c
rtgui-sim: update SConstruct to add src in sim-common
scons: change build-tests into an option

This let it could have a pretty help string.

Asked-by: prife
Github-hook: fix #33
exit if RTT_ROOT is not set
sim: set the init thread to priority 0

Set the init thread to highest priority because we need a fully
initialized env when other thread is about to start.

This might fix some race condition in device initialization.
enable RTGUI_USING_WINMOVE

Some test case need this feature to be enabled.
Merge branch 'use-bsp-sim'
leave RTGUI_EVENT_DEBUG to rtconfig.h

The simulator now has it's own rtconfig.h and one should set the option
there.
fix the win_event_handler

Don't reference win after dispatching mouse event. Because the child
widget might destory the window.

Reported-by: softwind on the forum
RTGUI version 0.6.2
rtgui_object.c: refactor -- more symmetric code
cleanup: use early return to avoid deep indent levels
don't propagate the events when last_mevent_widget has handled it

If the last_mevent_widget has handled it, we already handled it. Then it
should not propagate to other widgets. This fix the issue in
http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=2695

Reported-by: softwind on the forum
make use of new init interface