]> git.lizzy.rs Git - irrlicht.git/blobdiff - source/Irrlicht/CGUIEnvironment.h
Remove more dead code (#108)
[irrlicht.git] / source / Irrlicht / CGUIEnvironment.h
index 87694e9525d980275b8636eeaf1d9a6d11d87a40..5cf30c8be78c34299b10c6ee5f97ce51f0b5d02e 100644 (file)
@@ -92,17 +92,6 @@ public:
        //! adds an button. The returned pointer must not be dropped.\r
        virtual IGUIButton* addButton(const core::rect<s32>& rectangle, IGUIElement* parent=0, s32 id=-1, const wchar_t* text=0,const wchar_t* tooltiptext = 0) _IRR_OVERRIDE_;\r
 \r
-       //! adds a window. The returned pointer must not be dropped.\r
-       virtual IGUIWindow* addWindow(const core::rect<s32>& rectangle, bool modal = false,\r
-               const wchar_t* text=0, IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
-\r
-       //! adds a modal screen. The returned pointer must not be dropped.\r
-       virtual IGUIElement* addModalScreen(IGUIElement* parent, int blinkMode) _IRR_OVERRIDE_;\r
-\r
-       //! Adds a message box.\r
-       virtual IGUIWindow* addMessageBox(const wchar_t* caption, const wchar_t* text=0,\r
-               bool modal = true, s32 flag = EMBF_OK, IGUIElement* parent=0, s32 id=-1, video::ITexture* image=0) _IRR_OVERRIDE_;\r
-\r
        //! adds a scrollbar. The returned pointer must not be dropped.\r
        virtual IGUIScrollBar* addScrollBar(bool horizontal, const core::rect<s32>& rectangle,\r
                IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
@@ -123,24 +112,11 @@ public:
        virtual IGUIListBox* addListBox(const core::rect<s32>& rectangle,\r
                IGUIElement* parent=0, s32 id=-1, bool drawBackground=false) _IRR_OVERRIDE_;\r
 \r
-       //! adds a tree view\r
-       virtual IGUITreeView* addTreeView(const core::rect<s32>& rectangle,\r
-               IGUIElement* parent=0, s32 id=-1, bool drawBackground=false,\r
-               bool scrollBarVertical = true, bool scrollBarHorizontal = false) _IRR_OVERRIDE_;\r
-\r
-       //! adds an mesh viewer. The returned pointer must not be dropped.\r
-       virtual IGUIMeshViewer* addMeshViewer(const core::rect<s32>& rectangle,\r
-               IGUIElement* parent=0, s32 id=-1, const wchar_t* text=0) _IRR_OVERRIDE_;\r
-\r
        //! Adds a file open dialog.\r
        virtual IGUIFileOpenDialog* addFileOpenDialog(const wchar_t* title = 0,\r
                        bool modal=true, IGUIElement* parent=0, s32 id=-1,\r
                        bool restoreCWD=false, io::path::char_type* startDir=0) _IRR_OVERRIDE_;\r
 \r
-       //! Adds a color select dialog.\r
-       virtual IGUIColorSelectDialog* addColorSelectDialog(const wchar_t* title = 0,\r
-               bool modal=true, IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
-\r
        //! adds a static text. The returned pointer must not be dropped.\r
        virtual IGUIStaticText* addStaticText(const wchar_t* text, const core::rect<s32>& rectangle,\r
                bool border=false, bool wordWrap=true, IGUIElement* parent=0, s32 id=-1, bool drawBackground = false) _IRR_OVERRIDE_;\r
@@ -149,10 +125,6 @@ public:
        virtual IGUIEditBox* addEditBox(const wchar_t* text, const core::rect<s32>& rectangle,\r
                bool border=false, IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
 \r
-       //! Adds a spin box to the environment\r
-       virtual IGUISpinBox* addSpinBox(const wchar_t* text, const core::rect<s32>& rectangle,\r
-               bool border=false,IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
-\r
        //! Adds a tab control to the environment.\r
        virtual IGUITabControl* addTabControl(const core::rect<s32>& rectangle,\r
                IGUIElement* parent=0, bool fillbackground=false, bool border=true, s32 id=-1) _IRR_OVERRIDE_;\r
@@ -161,29 +133,10 @@ public:
        virtual IGUITab* addTab(const core::rect<s32>& rectangle,\r
                IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
 \r
-       //! Adds a context menu to the environment.\r
-       virtual IGUIContextMenu* addContextMenu(const core::rect<s32>& rectangle,\r
-               IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
-\r
-       //! Adds a menu to the environment.\r
-       virtual IGUIContextMenu* addMenu(IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
-\r
-       //! Adds a toolbar to the environment. It is like a menu is always placed on top\r
-       //! in its parent, and contains buttons.\r
-       virtual IGUIToolBar* addToolBar(IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
-\r
        //! Adds a combo box to the environment.\r
        virtual IGUIComboBox* addComboBox(const core::rect<s32>& rectangle,\r
                IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
 \r
-       //! Adds a table element.\r
-       virtual IGUITable* addTable(const core::rect<s32>& rectangle,\r
-               IGUIElement* parent=0, s32 id=-1, bool drawBackground=false) _IRR_OVERRIDE_;\r
-\r
-       //! Adds an element to display the information from the Irrlicht profiler\r
-       virtual IGUIProfiler* addProfilerDisplay(const core::rect<s32>& rectangle,\r
-               IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
-\r
        //! sets the focus to an element\r
        virtual bool setFocus(IGUIElement* element) _IRR_OVERRIDE_;\r
 \r
@@ -199,55 +152,11 @@ public:
        //! Returns the element last known to be under the mouse\r
        virtual IGUIElement* getHovered() const _IRR_OVERRIDE_;\r
 \r
-       //! Adds an element for fading in or out.\r
-       virtual IGUIInOutFader* addInOutFader(const core::rect<s32>* rectangle=0, IGUIElement* parent=0, s32 id=-1) _IRR_OVERRIDE_;\r
-\r
        //! Returns the root gui element.\r
        virtual IGUIElement* getRootGUIElement() _IRR_OVERRIDE_;\r
 \r
        virtual void OnPostRender( u32 time ) _IRR_OVERRIDE_;\r
 \r
-       //! Returns the default element factory which can create all built in elements\r
-       virtual IGUIElementFactory* getDefaultGUIElementFactory() const _IRR_OVERRIDE_;\r
-\r
-       //! Adds an element factory to the gui environment.\r
-       /** Use this to extend the gui environment with new element types which it should be\r
-       able to create automatically, for example when loading data from xml files. */\r
-       virtual void registerGUIElementFactory(IGUIElementFactory* factoryToAdd) _IRR_OVERRIDE_;\r
-\r
-       //! Returns amount of registered scene node factories.\r
-       virtual u32 getRegisteredGUIElementFactoryCount() const _IRR_OVERRIDE_;\r
-\r
-       //! Returns a scene node factory by index\r
-       virtual IGUIElementFactory* getGUIElementFactory(u32 index) const _IRR_OVERRIDE_;\r
-\r
-       //! Adds a GUI Element by its name\r
-       virtual IGUIElement* addGUIElement(const c8* elementName, IGUIElement* parent=0) _IRR_OVERRIDE_;\r
-\r
-       //! Saves the current gui into a file.\r
-       /** \param filename: Name of the file.\r
-       \param start: The element to start saving from.\r
-       if not specified, the root element will be used */\r
-       virtual bool saveGUI( const io::path& filename, IGUIElement* start=0) _IRR_OVERRIDE_;\r
-\r
-       //! Saves the current gui into a file.\r
-       /** \param file: The file to save the GUI to.\r
-       \param start: The element to start saving from.\r
-       if not specified, the root element will be used */\r
-       virtual bool saveGUI(io::IWriteFile* file, IGUIElement* start=0) _IRR_OVERRIDE_;\r
-\r
-       //! Loads the gui. Note that the current gui is not cleared before.\r
-       /** \param filename: Name of the file.\r
-       \param parent: The parent of all loaded GUI elements,\r
-       if not specified, the root element will be used */\r
-       virtual bool loadGUI(const io::path& filename, IGUIElement* parent=0) _IRR_OVERRIDE_;\r
-\r
-       //! Loads the gui. Note that the current gui is not cleared before.\r
-       /** \param file: IReadFile to load the GUI from\r
-       \param parent: The parent of all loaded GUI elements,\r
-       if not specified, the root element will be used */\r
-       virtual bool loadGUI(io::IReadFile* file, IGUIElement* parent=0) _IRR_OVERRIDE_;\r
-\r
        //! Find the next element which would be selected when pressing the tab-key\r
        virtual IGUIElement* getNextElement(bool reverse=false, bool group=false) _IRR_OVERRIDE_;\r
 \r
@@ -302,8 +211,6 @@ private:
 \r
        SToolTip ToolTip;\r
 \r
-       core::array<IGUIElementFactory*> GUIElementFactoryList;\r
-\r
        core::array<SFont> Fonts;\r
        core::array<SSpriteBank> Banks;\r
        video::IVideoDriver* Driver;\r