home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
GUI
/
Classes
/
moEditBox.uc
< prev
next >
Wrap
Text File
|
2003-06-30
|
1KB
|
54 lines
// ====================================================================
// Class: GUI.moEditBox
// Parent: GUI.GUIMenuOption
//
// <Enter a description here>
// ====================================================================
class moEditBox extends GUIMenuOption;
var GUIEditBox MyEditBox;
var bool bReadOnly; // This Combobox is read only
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
Super.Initcomponent(MyController, MyOwner);
MyEditBox = GUIEditBox(MyComponent);
MyEditBox.bReadOnly = bReadOnly;
}
function string GetText()
{
return MyEditBox.GetText();
}
function SetText(string NewText)
{
MyEditBox.SetText(NewText);
}
function ReadOnly(bool b)
{
MyEditBox.bReadOnly = b;
}
function IntOnly(bool b)
{
MyEditBox.bIntOnly=b;
}
function FloatOnly(bool b)
{
MyEditBox.bFloatOnly = b;
}
function MaskText(bool b)
{
MyEditBox.bMaskText = b;
}
defaultproperties
{
ComponentClassName="GUI.GUIEditBox"
}