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

# IGUIEditBox.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_EDIT_BOX_H_INCLUDED__
    00006 #define __I_GUI_EDIT_BOX_H_INCLUDED__
    00007
    00008 #include "IGUIElement.h"
    00009 #include "SColor.h"
    00010
    00011 namespace irr
    00012 {
    00013 namespace gui
    00014 {
    00015         class IGUIFont;
    00016
    00018         class IGUIEditBox : public IGUIElement
    00019         {
    00020         public:
    00021
    00023                 IGUIEditBox(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
    00024                         : IGUIElement(EGUIET_EDIT_BOX, environment, parent, id, rectangle) {}
    00025
    00027
    00029                 virtual void setOverrideFont(IGUIFont* font=0) = 0;
    00030
    00032
    00039                 virtual void setOverrideColor(video::SColor color) = 0;
    00040
    00042
    00045                 virtual void enableOverrideColor(bool enable) = 0;
    00046
    00048
    00049                 virtual void setDrawBorder(bool border) = 0;
    00050
    00052
    00056                 virtual void setTextAlignment(EGUI_ALIGNMENT horizontal, EGUI_ALIGNMENT vertical) = 0;
    00057
    00059
    00061                 virtual void setWordWrap(bool enable) = 0;
    00062
    00064
    00065                 virtual bool isWordWrapEnabled() const = 0;
    00066
    00068
    00070                 virtual void setMultiLine(bool enable) = 0;
    00071
    00073
    00074                 virtual bool isMultiLineEnabled() const = 0;
    00075
    00077
    00078                 virtual void setAutoScroll(bool enable) = 0;
    00079
    00081
    00082                 virtual bool isAutoScrollEnabled() const = 0;
    00083
    00085
    00088                 virtual void setPasswordBox(bool passwordBox, wchar_t passwordChar = L'*') = 0;
    00089
    00091                 virtual bool isPasswordBox() const = 0;
    00092
    00094
    00095                 virtual core::dimension2du getTextDimension() = 0;
    00096
    00098
    00100                 virtual void setMax(u32 max) = 0;
    00101
    00103                 virtual u32 getMax() const = 0;
    00104         };
    00105
    00106
    00107 } // end namespace gui
    00108 } // end namespace irr
    00109
    00110 #endif
    00111

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