public CLoadScene(FishView parent) { m_Parent = parent; m_layLoad = new CLoadLayer(); m_layLoad.set_position(new Point(4, 31)); m_layLoad.set_content_size(new Size(1272, 703)); add_child(m_layLoad); m_widgetProgress = new Progress_Widget(Root.instance().imageset_manager().imageset("ui_load").image("progress_left"), Root.instance().imageset_manager().imageset("ui_load").image("progress_left"), Root.instance().imageset_manager().imageset("ui_load").image("progress_left"), Root.instance().imageset_manager().imageset("ui_load").image("progress_step")); m_widgetProgress.set_tag(10001); m_widgetProgress.set_position(new Point(462, 446)); m_widgetProgress.set_content_size(new Size(360, 11)); m_widgetProgress.set_pos_range(0); add_child(m_widgetProgress); m_layFrame = new CFrameLayer(0); m_layFrame.set_position(new Point(0, 0)); m_layFrame.set_content_size(new Size(1280, 738)); m_layFrame.set_disable(true); m_layFrame.add_widget(this); m_layCursor = new CCursorLayer(); m_layCursor.set_position(new Point(0, 0)); m_layCursor.set_content_size(new Size(80, 80)); m_layCursor.SetCursor(Root.instance().imageset_manager().imageset("ui_load").image("cursor")); add_child(m_layCursor); Root.instance().input_manager().add_input_listener(this); m_LoadingThread = new Thread(LoadingThread); m_LoadingThread.Start(); }
public BackgroundObject(FishView parent) : base(parent) { }