/*
    Copyright 2005-2006 Adobe Systems Incorporated
    Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
    or a copy at http://stlab.adobe.com/licenses.html)
*/

layout image
{
    view dialog(name: "Toggle", placement: place_row)
    {
        checkbox(name: "Disabled", bind: @disabled);
        checkbox(indent: 20, name: "Value", bind: @my_cell, value_off: empty);

        toggle(value_on: true, bind: @my_cell,
               image_on: image('preset_button_d_n.tga'),
               image_off: image('preset_button_u_n.tga'),
               image_disabled: image('preset_button_u_d.tga'));

        button(name: 'close', action: @cancel);
    }
}
