* add resize interface for application * add dispatchResizeEvent interface * improve function name, add comments * add onResize for win32 * directly supply size info when dispatch resize event