Always Build/Always Fly options.
This commit is contained in:
@@ -120,6 +120,7 @@ public:
|
||||
|
||||
childSetAction("Save", LLWearableSaveAsDialog::onSave, this );
|
||||
childSetAction("Cancel", LLWearableSaveAsDialog::onCancel, this );
|
||||
|
||||
childSetTextArg("name ed", "[DESC]", desc);
|
||||
}
|
||||
|
||||
@@ -220,6 +221,8 @@ public:
|
||||
|
||||
childSetAction("Save", onSave, this );
|
||||
childSetAction("Cancel", onCancel, this );
|
||||
childSetAction("Check All", onCheckAll, this );
|
||||
childSetAction("Uncheck All", onUncheckAll, this );
|
||||
}
|
||||
|
||||
BOOL getRenameClothing()
|
||||
@@ -295,6 +298,26 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
static void onCheckAll( void* userdata )
|
||||
{
|
||||
LLMakeOutfitDialog* self = (LLMakeOutfitDialog*) userdata;
|
||||
for( S32 i = 0; i < (S32)(self->mCheckBoxList.size()); i++)
|
||||
{
|
||||
std::string name = self->mCheckBoxList[i].first;
|
||||
if(self->childIsEnabled(name))self->childSetValue(name,TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
static void onUncheckAll( void* userdata )
|
||||
{
|
||||
LLMakeOutfitDialog* self = (LLMakeOutfitDialog*) userdata;
|
||||
for( S32 i = 0; i < (S32)(self->mCheckBoxList.size()); i++)
|
||||
{
|
||||
std::string name = self->mCheckBoxList[i].first;
|
||||
if(self->childIsEnabled(name))self->childSetValue(name,FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
static void onCancel( void* userdata )
|
||||
{
|
||||
LLMakeOutfitDialog* self = (LLMakeOutfitDialog*) userdata;
|
||||
|
||||
Reference in New Issue
Block a user