tge/example/show/ui/tsShowEditScale.gui
2017-04-17 06:17:10 -06:00

47 lines
1.3 KiB
Plaintext
Executable File

//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
//-----------------------------------------------------------------------------
//--- OBJECT WRITE BEGIN ---
new GuiControl(TSShowEditScale)
{
profile = "GuiDefaultProfile";
new GuiWindowCtrl()
{
profile = "GuiWindowProfile";
position = "100 100";
extent = "180 100";
text = "Edit Scale";
new GuiTextEditCtrl(showScale)
{
profile = "GuiTextEditProfile";
position = "80 20";
extent = "50 20";
altCommand = "showSetScale(threadList.getValue(),showScale.getValue()); Canvas.popDialog(TSShowEditScale);";
};
new GuiButtonCtrl ()
{
profile = "GuiButtonProfile";
position = "20 50";
extent = "60 20";
text = "Ok";
command = "showSetScale(threadList.getValue(),showScale.getValue()); Canvas.popDialog(TSShowEditScale);";
};
new GuiButtonCtrl ()
{
profile = "GuiButtonProfile";
position = "110 50";
extent = "60 20";
text = "Cancel";
command = "Canvas.popDialog(TSShowEditScale);";
};
};
};
//--- OBJECT WRITE END ---