Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

# IGUIWindow.h

Go to the documentation of this file.

    00001 // Copyright (C) 2002-2009 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    00004
    00005 #ifndef __I_GUI_WINDOW_H_INCLUDED__
    00006 #define __I_GUI_WINDOW_H_INCLUDED__
    00007
    00008 #include "IGUIElement.h"
    00009 #include "EMessageBoxFlags.h"
    00010
    00011 namespace irr
    00012 {
    00013 namespace gui
    00014 {
    00015         class IGUIButton;
    00016
    00018         class IGUIWindow : public IGUIElement
    00019         {
    00020         public:
    00021
    00023                 IGUIWindow(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
    00024                         : IGUIElement(EGUIET_WINDOW, environment, parent, id, rectangle) {}
    00025
    00027
    00028                 virtual IGUIButton* getCloseButton() const = 0;
    00029
    00031
    00032                 virtual IGUIButton* getMinimizeButton() const = 0;
    00033
    00035
    00036                 virtual IGUIButton* getMaximizeButton() const = 0;
    00037
    00039                 virtual bool isDraggable() const = 0;
    00040
    00042                 virtual void setDraggable(bool draggable) = 0;
    00043
    00045                 virtual void setDrawBackground(bool draw) = 0;
    00046
    00048                 virtual bool getDrawBackground() const = 0;
    00049
    00052                 virtual void setDrawTitlebar(bool draw) = 0;
    00053
    00055                 virtual bool getDrawTitlebar() const = 0;
    00056
    00058
    00063                 virtual core::rect<s32> getClientRect() const = 0;
    00064         };
    00065
    00066
    00067 } // end namespace gui
    00068 } // end namespace irr
    00069
    00070 #endif
    00071

| The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Feb 14 13:06:57 2010 by Doxygen (1.6.2)