示例#1
0
	def __init__(self):
		CustomFilterBase.__init__(self, os.path.dirname(__file__))
		self.name = "Speckle"
		self.group = "Overlays"

		visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
		turbulence_tag = self.dull['filter'].find(".//*[@id='feTurbulence1']")
		matrix_tag = self.dull['filter'].find(".//*[@id='feColorMatrix2']")

		self.param['scale'] = FilterParameter(visible_tag, 'transform', 'scale\((.+?)\) ', 'scale(%.2f) ')
		self.param['octaves'] = FilterParameter(turbulence_tag, 'numOctaves', '(.+)', '%.1f')
		self.param['sensation'] = FilterParameter(matrix_tag, 'values', '0 (\d+\.\d+) 0', '0 %.1f 0')
		self.param['frequency_x'] = FilterParameter(turbulence_tag, 'baseFrequency', '(.+?) ', '%.2f ')
		self.param['frequency_y'] = FilterParameter(turbulence_tag, 'baseFrequency', ' (.+)', ' %.2f')

		gui_elements = ["scale", "octaves", "frequency_x", "frequency_y", "sensation"]

		self.on_scale_changed = self.build_plain_handler('scale')
		self.on_sensation_changed = self.build_plain_handler('sensation')
		self.on_frequency_x_changed = self.build_plain_handler('frequency_x')
		self.on_frequency_y_changed = self.build_plain_handler('frequency_y')
		self.on_octaves_changed = self.build_plain_handler('octaves')

		self.gui_load(gui_elements)
		self.gui_setup()

		self.connect_scale_signal('scale', 'frequency_x', 'frequency_y', 'sensation', 'octaves')
示例#2
0
	def __init__(self):
		CustomFilterBase.__init__(self, os.path.dirname(__file__))
		self.name = "Flames"
		self.group = "Advanced"

		visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
		turbulence_tag = self.dull['filter'].find(".//*[@id='feTurbulence1']")
		blur_tag = self.dull['filter'].find(".//*[@id='feGaussianBlur1']")

		self.param['scale'] = FilterParameter(visible_tag, 'transform', 'scale\((.+?)\) ', 'scale(%.2f) ')
		self.param['octaves'] = FilterParameter(turbulence_tag, 'numOctaves', '(.+)', '%.1f')
		self.param['blur'] = FilterParameter(blur_tag, 'stdDeviation', '(.+)', '%.1f')
		self.param['frequency_x'] = FilterParameter(turbulence_tag, 'baseFrequency', '(.+?) ', '%.2f ')
		self.param['frequency_y'] = FilterParameter(turbulence_tag, 'baseFrequency', ' (.+)', ' %.2f')

		gui_elements = ["scale", "octaves", "frequency_x", "frequency_y", "blur"]

		self.on_scale_changed = self.build_plain_handler('scale')
		self.on_blur_changed = self.build_plain_handler('blur')
		self.on_frequency_x_changed = self.build_plain_handler('frequency_x')
		self.on_frequency_y_changed = self.build_plain_handler('frequency_y')
		self.on_octaves_changed = self.build_plain_handler('octaves', translate=int)

		self.gui_load(gui_elements)
		self.gui_setup()

		self.connect_scale_signal('scale', 'frequency_x', 'frequency_y', 'blur', 'octaves')
示例#3
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "Cutout"
        self.group = "Shadows"

        visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
        blur_tag = self.dull['filter'].find(".//*[@id='feGaussianBlur1']")
        offset_tag = self.dull['filter'].find(".//*[@id='feOffset1']")

        self.param['dx'] = FilterParameter(offset_tag, 'dx', '(.+)', '%.1f')
        self.param['dy'] = FilterParameter(offset_tag, 'dy', '(.+)', '%.1f')
        self.param['blur'] = FilterParameter(blur_tag, 'stdDeviation', '(.+)',
                                             '%.1f')
        self.param['scale'] = FilterParameter(visible_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')

        gui_elements = ["scale", "blur", "dx", "dy"]

        self.on_scale_changed = self.build_plain_handler('scale')
        self.on_dx_changed = self.build_plain_handler('dx')
        self.on_dy_changed = self.build_plain_handler('dy')
        self.on_blur_changed = self.build_plain_handler('blur')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale', 'blur', 'dx', 'dy')
示例#4
0
	def __init__(self):
		CustomFilterBase.__init__(self, os.path.dirname(__file__))
		self.name = "Quadratic"

		visible2_tag = self.dull['filter'].find(".//*[@id='supvis1']")
		support1_tag = self.dull['filter'].find(".//*[@id='support1']")
		support2_tag = self.dull['filter'].find(".//*[@id='support2']")
		support3_tag = self.dull['filter'].find(".//*[@id='support-rect']")

		self.param['scale_icon'] = FilterParameter(support1_tag, 'transform', 'scale\((.+?)\) ', 'scale(%.2f) ')
		self.param['scale'] = FilterParameter(support3_tag, 'transform', 'scale\((.+?)\) ', 'scale(%.2f) ')
		self.param['rx'] = FilterParameter(support3_tag, 'rx', '(.+)', '%.2f')
		self.param['ry'] = FilterParameter(support3_tag, 'ry', '(.+)', '%.2f')
		self.param['color'] = FilterParameter(support2_tag, 'style', '(rgb\(.+?\));', '%s;')
		self.param['alpha'] = FilterParameter(support2_tag, 'style', 'fill-opacity:(.+)', 'fill-opacity:%.2f')
		self.param['stroke_color'] = FilterParameter(visible2_tag, 'style', '(rgb\(.+?\));', '%s;')
		self.param['stroke_width'] = FilterParameter(visible2_tag, 'style', 'stroke-width:(.+)', 'stroke-width:%.2f')
		self.param['stroke_alpha'] = FilterParameter(
			visible2_tag, 'style', 'stroke-opacity:(.+?);', 'stroke-opacity:%.2f;'
		)

		gui_elements = ["scale", "scale_icon", "radius", "colorbutton", "stroke_colorbutton", "stroke_width"]

		self.on_scale_changed = self.build_plain_handler('scale')
		self.on_stroke_width_changed = self.build_plain_handler('stroke_width')
		self.on_scale_icon_changed = self.build_plain_handler('scale_icon')
		self.on_radius_changed = self.build_plain_handler('rx', 'ry')
		self.on_colorbutton_set = self.build_color_handler('color', 'alpha')
		self.on_stroke_colorbutton_set = self.build_color_handler('stroke_color', 'stroke_alpha')

		self.gui_load(gui_elements)
		self.gui_setup()

		self.connect_scale_signal('scale', 'radius', 'scale_icon', 'stroke_width')
		self.connect_colorbutton_signal('colorbutton', 'stroke_colorbutton')
示例#5
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "Organic"
        self.group = "Advanced"

        visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
        turbulence_tag = self.dull['filter'].find(".//*[@id='feTurbulence1']")
        lighting_tag = self.dull['filter'].find(
            ".//*[@id='feSpecularLighting1']")
        lighting2_tag = self.dull['filter'].find(
            ".//*[@id='feSpecularLighting2']")

        self.param['scale'] = FilterParameter(visible_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')
        self.param['octaves'] = FilterParameter(turbulence_tag, 'numOctaves',
                                                '(.+)', '%.1f')
        self.param['frequency_x'] = FilterParameter(turbulence_tag,
                                                    'baseFrequency', '(.+?) ',
                                                    '%.2f ')
        self.param['frequency_y'] = FilterParameter(turbulence_tag,
                                                    'baseFrequency', ' (.+)',
                                                    ' %.2f')
        self.param['specular_cons'] = FilterParameter(lighting_tag,
                                                      'specularConstant',
                                                      '(.+)', '%.1f')
        self.param['specular_exp'] = FilterParameter(lighting_tag,
                                                     'specularExponent',
                                                     '(.+)', '%.1f')
        self.param['diff_cons'] = FilterParameter(lighting2_tag,
                                                  'diffuseConstant', '(.+)',
                                                  '%.2f')
        self.param['surface'] = FilterParameter(lighting_tag, 'surfaceScale',
                                                '(.+)', '%.1f')
        self.param['surface2'] = FilterParameter(lighting2_tag, 'surfaceScale',
                                                 '(.+)', '%.1f')

        gui_elements = [
            "scale", "octaves", "frequency_x", "frequency_y", "specular_cons",
            "specular_exp", "surface", "surface2", "diff_cons"
        ]

        self.on_scale_changed = self.build_plain_handler('scale')
        self.on_frequency_x_changed = self.build_plain_handler('frequency_x')
        self.on_frequency_y_changed = self.build_plain_handler('frequency_y')
        self.on_octaves_changed = self.build_plain_handler('octaves')
        self.on_specular_cons_changed = self.build_plain_handler(
            'specular_cons')
        self.on_specular_exp_changed = self.build_plain_handler('specular_exp')
        self.on_diff_cons_changed = self.build_plain_handler('diff_cons')
        self.on_surface_changed = self.build_plain_handler('surface')
        self.on_surface2_changed = self.build_plain_handler('surface2')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale', 'frequency_x', 'frequency_y',
                                  'octaves', 'surface', 'specular_exp',
                                  'specular_cons', 'surface2', 'diff_cons')
示例#6
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "Canvas"
        self.group = "Bumps"

        visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
        turbulence_tag = self.dull['filter'].find(".//*[@id='feTurbulence1']")
        blur_tag = self.dull['filter'].find(".//*[@id='feGaussianBlur1']")
        lighting_tag = self.dull['filter'].find(
            ".//*[@id='feSpecularLighting1']")
        composite_tag = self.dull['filter'].find(".//*[@id='feComposite1']")

        self.param['scale'] = FilterParameter(visible_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')
        self.param['octaves'] = FilterParameter(turbulence_tag, 'numOctaves',
                                                '(.+)', '%.1f')
        self.param['blur'] = FilterParameter(blur_tag, 'stdDeviation', '(.+)',
                                             '%.1f')
        self.param['frequency_x'] = FilterParameter(turbulence_tag,
                                                    'baseFrequency', '(.+?) ',
                                                    '%.2f ')
        self.param['frequency_y'] = FilterParameter(turbulence_tag,
                                                    'baseFrequency', ' (.+)',
                                                    ' %.2f')
        self.param['specular'] = FilterParameter(lighting_tag,
                                                 'specularConstant', '(.+)',
                                                 '%.1f')
        self.param['surface'] = FilterParameter(lighting_tag, 'surfaceScale',
                                                '(.+)', '%.1f')
        self.param['composite_k2'] = FilterParameter(composite_tag, 'k2',
                                                     '(.+)', ' %.1f')
        self.param['composite_k3'] = FilterParameter(composite_tag, 'k3',
                                                     '(.+)', ' %.1f')

        gui_elements = [
            "scale", "octaves", "frequency_x", "frequency_y", "blur",
            "specular", "surface", "composite_k2", "composite_k3"
        ]

        self.on_scale_changed = self.build_plain_handler('scale')
        self.on_blur_changed = self.build_plain_handler('blur')
        self.on_frequency_x_changed = self.build_plain_handler('frequency_x')
        self.on_frequency_y_changed = self.build_plain_handler('frequency_y')
        self.on_octaves_changed = self.build_plain_handler('octaves')
        self.on_specular_changed = self.build_plain_handler('specular')
        self.on_surface_changed = self.build_plain_handler('surface')
        self.on_composite_k2_changed = self.build_plain_handler('composite_k2')
        self.on_composite_k3_changed = self.build_plain_handler('composite_k3')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale', 'frequency_x', 'frequency_y',
                                  'blur', 'specular', 'composite_k2',
                                  'composite_k3', 'octaves', 'surface')
示例#7
0
	def __init__(self):
		CustomFilterBase.__init__(self, os.path.dirname(__file__))
		self.name = "Stroke"

		visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
		self.param['width'] = FilterParameter(visible_tag, 'style', 'width:(.+)', 'width:%.2f')
		self.param['scale'] = FilterParameter(visible_tag, 'transform', 'scale\((.+?)\) ', 'scale(%.2f) ')
		self.param['color'] = FilterParameter(visible_tag, 'style', '(rgb\(.+?\));', '%s;')
		self.param['alpha'] = FilterParameter(visible_tag, 'style', 'fill-opacity:(.+?);', 'fill-opacity:%.2f;')

		gui_elements = ["width", "scale", "colorbutton"]

		self.on_scale_changed = self.build_plain_handler('scale')
		self.on_width_changed = self.build_plain_handler('width')
		self.on_colorbutton_set = self.build_color_handler('color', 'alpha')

		self.gui_load(gui_elements)
		self.gui_setup()

		self.connect_scale_signal('scale', 'width')
		self.connect_colorbutton_signal('colorbutton')
示例#8
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "Wood"
        self.group = "Advanced"

        visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
        turbulence_tag = self.dull['filter'].find(".//*[@id='feTurbulence1']")
        flood_tag = self.dull['filter'].find(".//*[@id='feFlood1']")
        blur_tag = self.dull['filter'].find(".//*[@id='feGaussianBlur1']")
        composite_tag = self.dull['filter'].find(".//*[@id='feComposite5']")

        self.param['scale'] = FilterParameter(visible_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')
        self.param['frequency_x'] = FilterParameter(turbulence_tag,
                                                    'baseFrequency', '(.+?) ',
                                                    '%.2f ')
        self.param['frequency_y'] = FilterParameter(turbulence_tag,
                                                    'baseFrequency', ' (.+)',
                                                    ' %.2f')
        self.param['blur'] = FilterParameter(blur_tag, 'stdDeviation', '(.+)',
                                             '%.1f')
        self.param['color'] = FilterParameter(flood_tag, 'flood-color', '(.+)',
                                              '%s')
        self.param['alpha'] = FilterParameter(flood_tag, 'flood-opacity',
                                              '(.+)', '%.2f')
        self.param['composite_k1'] = FilterParameter(composite_tag, 'k1',
                                                     '(.+)', '%.1f')
        self.param['composite_k2'] = FilterParameter(composite_tag, 'k2',
                                                     '(.+)', '%.1f')

        gui_elements = [
            "scale", "frequency_x", "frequency_y", "colorbutton", "blur",
            "composite_k1", "composite_k2"
        ]

        self.on_scale_changed = self.build_plain_handler('scale')
        self.on_frequency_x_changed = self.build_plain_handler('frequency_x')
        self.on_frequency_y_changed = self.build_plain_handler('frequency_y')
        self.on_blur_changed = self.build_plain_handler('blur')
        self.on_composite_k1_changed = self.build_plain_handler('composite_k1')
        self.on_composite_k2_changed = self.build_plain_handler('composite_k2')
        self.on_colorbutton_set = self.build_color_handler('color', 'alpha')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale', 'frequency_x', 'frequency_y',
                                  'blur', 'composite_k1', 'composite_k2')
        self.connect_colorbutton_signal('colorbutton')
示例#9
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "Dark Edges"
        self.group = "Shadows"

        visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
        blur_tag = self.dull['filter'].find(".//*[@id='feGaussianBlur1']")
        self.param['deviation'] = FilterParameter(blur_tag, 'stdDeviation',
                                                  '(.+)', '%.2f')
        self.param['scale'] = FilterParameter(visible_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')

        gui_elements = ["deviation", "scale"]

        self.on_scale_changed = self.build_plain_handler('scale')
        self.on_deviation_changed = self.build_plain_handler('deviation')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale', 'deviation')
示例#10
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "HSL"
        self.group = "Bumps"

        visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
        blur_tag = self.dull['filter'].find(".//*[@id='feGaussianBlur1']")
        lighting1_tag = self.dull['filter'].find(
            ".//*[@id='feSpecularLighting1']")
        light1_tag = self.dull['filter'].find(".//*[@id='feDistantLight1']")

        self.param['blur'] = FilterParameter(blur_tag, 'stdDeviation', '(.+)',
                                             '%.2f')
        self.param['specular'] = FilterParameter(lighting1_tag,
                                                 'specularConstant', '(.+)',
                                                 '%.2f')
        self.param['scale'] = FilterParameter(visible_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')
        self.param['elevation'] = FilterParameter(light1_tag, 'elevation',
                                                  '(.+)', '%.1f')
        self.param['surface'] = FilterParameter(lighting1_tag, 'surfaceScale',
                                                '(.+)', '%.1f')

        gui_elements = ["blur", "scale", "specular", "elevation", "surface"]

        self.on_scale_changed = self.build_plain_handler('scale')
        self.on_blur_changed = self.build_plain_handler('blur')
        self.on_specular_changed = self.build_plain_handler('specular')
        self.on_elevation_changed = self.build_plain_handler('elevation')
        self.on_surface_changed = self.build_plain_handler('surface')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale', 'blur', 'specular', 'elevation',
                                  'surface')
示例#11
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "Old Paper"
        self.group = "Advanced"

        visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
        turbulence_tag = self.dull['filter'].find(".//*[@id='feTurbulence1']")
        displacement_tag = self.dull['filter'].find(
            ".//*[@id='feDisplacementMap1']")
        light_tag = self.dull['filter'].find(".//*[@id='feDistantLight1']")
        composite_tag = self.dull['filter'].find(".//*[@id='feComposite2']")

        self.param['scale'] = FilterParameter(visible_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')
        self.param['octaves'] = FilterParameter(turbulence_tag, 'numOctaves',
                                                '(.+)', '%.1f')
        self.param['displacement'] = FilterParameter(displacement_tag, 'scale',
                                                     '(.+)', '%.1f')
        self.param['elevation'] = FilterParameter(light_tag, 'elevation',
                                                  '(.+)', '%.1f')
        self.param['frequency_x'] = FilterParameter(turbulence_tag,
                                                    'baseFrequency', '(.+?) ',
                                                    '%.2f ')
        self.param['frequency_y'] = FilterParameter(turbulence_tag,
                                                    'baseFrequency', ' (.+)',
                                                    ' %.2f')
        self.param['composite_k1'] = FilterParameter(composite_tag, 'k1',
                                                     '(.+)', '%.1f')

        gui_elements = [
            "scale", "octaves", "frequency_x", "frequency_y", "displacement",
            "elevation", "composite_k1"
        ]

        self.on_scale_changed = self.build_plain_handler('scale')
        self.on_frequency_x_changed = self.build_plain_handler('frequency_x')
        self.on_frequency_y_changed = self.build_plain_handler('frequency_y')
        self.on_octaves_changed = self.build_plain_handler('octaves')
        self.on_elevation_changed = self.build_plain_handler('elevation')
        self.on_displacement_changed = self.build_plain_handler('displacement')
        self.on_composite_k1_changed = self.build_plain_handler('composite_k1')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale', 'frequency_x', 'frequency_y',
                                  'composite_k1', 'octaves', 'displacement',
                                  'elevation')
示例#12
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "Scale"

        visible_tag = self.dull['visual'].find(".//*[@id='visible1']")
        self.param['scale'] = FilterParameter(visible_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')

        gui_elements = ["scale"]

        self.on_scale_changed = self.build_plain_handler('scale')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale')
示例#13
0
    def __init__(self):
        CustomFilterBase.__init__(self, os.path.dirname(__file__))
        self.name = "Orb"
        self.group = "Advanced"

        visible2_tag = self.dull['visual'].find(".//*[@id='visible2']")
        visible1_tag = self.dull['visual'].find(".//*[@id='visible1']")
        mainorb_tag = self.dull['filter'].find(".//*[@id='c1']")
        stop1_tag = self.dull['filter'].find(".//*[@id='stop1']")
        stop2_tag = self.dull['filter'].find(".//*[@id='stop2']")
        grad_tag = self.dull['filter'].find(".//*[@id='linearGradient1']")

        self.param['scale'] = FilterParameter(visible2_tag, 'transform',
                                              'scale\((.+?)\) ',
                                              'scale(%.2f) ')
        self.param['reflex_scale'] = FilterParameter(grad_tag,
                                                     'gradientTransform',
                                                     'scale\((.+),1\) ',
                                                     'scale(%.1f,1) ')
        self.param['orb'] = FilterParameter(visible1_tag, 'transform',
                                            'scale\((.+?)\) ', 'scale(%.2f) ')
        self.param['color'] = FilterParameter(mainorb_tag, 'style',
                                              'fill:(rgb\(.+?\));', 'fill:%s;')
        self.param['stroke_color'] = FilterParameter(mainorb_tag, 'style',
                                                     'stroke:(rgb\(.+?\));',
                                                     'stroke:%s;')
        self.param['stop1_color'] = FilterParameter(
            stop1_tag, 'style', 'stop-color:(rgb\(.+?\));', 'stop-color:%s;')
        self.param['stop2_color'] = FilterParameter(
            stop2_tag, 'style', 'stop-color:(rgb\(.+?\));', 'stop-color:%s;')
        self.param['alpha'] = FilterParameter(mainorb_tag, 'style',
                                              'fill-opacity:(.+?);',
                                              'fill-opacity:%.2f;')
        self.param['stroke_alpha'] = FilterParameter(mainorb_tag, 'style',
                                                     'stroke-opacity:(.+?);',
                                                     'stroke-opacity:%.2f;')
        self.param['stop_alpha'] = FilterParameter(stop1_tag, 'style',
                                                   'stop-opacity:(.+)',
                                                   'stop-opacity:%.2f')
        self.param['stroke_width'] = FilterParameter(mainorb_tag, 'style',
                                                     'stroke-width:(.+)',
                                                     'stroke-width:%.1f')

        gui_elements = [
            "scale", "orb", "colorbutton", "alpha", "stroke_alpha",
            "stop_alpha", "reflex_scale", "stroke_width"
        ]

        self.on_scale_changed = self.build_plain_handler('scale')
        self.on_reflex_scale_changed = self.build_plain_handler('reflex_scale')
        self.on_alpha_changed = self.build_plain_handler('alpha')
        self.on_stroke_alpha_changed = self.build_plain_handler('stroke_alpha')
        self.on_stop_alpha_changed = self.build_plain_handler('stop_alpha')
        self.on_orb_changed = self.build_plain_handler('orb')
        self.on_stroke_width_changed = self.build_plain_handler('stroke_width')

        self.gui_load(gui_elements)
        self.gui_setup()

        self.connect_scale_signal('scale', 'orb', 'alpha', 'stroke_alpha',
                                  'stop_alpha', 'reflex_scale', 'stroke_width')
        self.gui["colorbutton"].connect("color_set",
                                        self.advanced_colorbutton_setup)