RSS RSS

Navigation (HowTo)





Search the wiki
»

PoweredBy
SimpleEffectDialog Reference
SimpleEffectDialog has many built in controls for common settings types. Here is the complete list.

Int/Double - Slider

public void MyData : EffectData
{
    public int Value;
    public double Value2;
}

Image

Supported Attributes:
  • [Caption]
  • [Hint]
  • [MinimumValue]
  • [MaximumValue]
  • [IncrementValue]
  • [DigitsValue] (double only)

Double - Angle

If your double is named "Angle" or "Rotation", it will be an angle picker instead of a slider.

public void MyData : EffectData
{
    public double Angle;
}

Image

Supported Attributes:
  • [Caption]
  • [Hint]

Bool - CheckBox

public void MyData : EffectData
{
    public bool Inverted;
}

Image

Supported Attributes:
  • [Caption]
  • [Hint]

Int - Seed

If your int is named "Seed", it will be a button instead of a slider.

public void MyData : EffectData
{
    public int Seed;
}

Image

Supported Attributes:
  • [Caption]
  • [Hint]

Enum - ComboBox

public enum Color
{
    Red,
    Green,
    Blue
}

public class MyData : EffectData
{
    public Color Color = Color.Blue;
}

Image

Supported Attributes:
  • [Caption]
  • [Hint]

Gdk.Point/Cairo.PointD - Point Picker

public void MyData : EffectData
{
    public Gdk.Point Point;
    public Cairo.PointD Point2;
}

Image

Supported Attributes:
  • [Caption]
  • [Hint]
  Name Size
- angle.png 7.62 KB
- bool.png 6.64 KB
- enum.png 6.92 KB
- point.png 17.89 KB
- seed.png 7.16 KB
- slider.png 8.02 KB

Last modified on Apr 02, 2011 17:19 by jpobst