Skip to content

Commit

Permalink
use standard page name "Controls" for parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed May 21, 2018
1 parent f54c6b2 commit d7491e5
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Extra/TextFX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ void TextFXPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, Co
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
ofxsTransformDescribeParams(desc, page, NULL, /*isOpen=*/ true, /*oldParams=*/ true, /*hasAmount=*/ true, /*noTranslate=*/ true);
{
BooleanParamDescriptor *param = desc.defineBooleanParam(kParamPositionMove);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Arc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ void ArcPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, Conte
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamArcAngle);
param->setLabel(kParamArcAngleLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Charcoal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void CharcoalPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc,
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamRadius);
param->setLabel(kParamRadiusLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Edges.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ void EdgesPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, Con
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamWidth);
param->setLabel(kParamWidthLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Implode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ void ImplodePluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, C
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamImplode);
param->setLabel(kParamImplodeLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Modulate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ void ModulatePluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc,
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamBrightness);
param->setLabel(kParamBrightnessLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Oilpaint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ void OilpaintPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc,
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamRadius);
param->setLabel(kParamRadiusLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Polar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ void PolarPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, Con
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamPolarRotate);
param->setLabel(kParamPolarRotateLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Polaroid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ void PolaroidPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc,
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamAngle);
param->setLabel(kParamAngleLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Reflection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ void ReflectionPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc
dstClip->setSupportsTiles(kSupportsTiles);

// make pages and params
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
IntParamDescriptor *param = desc.defineIntParam(kParamOffset);
param->setLabel(kParamOffsetLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Sketch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ void SketchPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, Co
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
DoubleParamDescriptor *param = desc.defineDoubleParam(kParamRadius);
param->setLabel(kParamRadiusLabel);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ void TextPluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, Cont
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
GroupParamDescriptor *groupCanvas = desc.defineGroupParam("Canvas");

groupCanvas->setOpen(false);
Expand Down
2 changes: 1 addition & 1 deletion Magick/Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ void TexturePluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, C
dstClip->setSupportsTiles(kSupportsTiles);

// make some pages
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
GroupParamDescriptor *groupCanvas = desc.defineGroupParam("Canvas");
groupCanvas->setOpen(false);
{
Expand Down
2 changes: 1 addition & 1 deletion Magick/Tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ void TilePluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, Cont
dstClip->setSupportsTiles(kSupportsTiles);

// make pages and params
PageParamDescriptor *page = desc.definePageParam(kPluginName);
PageParamDescriptor *page = desc.definePageParam("Controls");
{
IntParamDescriptor *param = desc.defineIntParam(kParamRows);
param->setLabel(kParamRowsLabel);
Expand Down

0 comments on commit d7491e5

Please sign in to comment.