Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::UI::Dialog::TileDialog::HorizAlign_changed (  ) 

changed Radio button in Vertical Align group.

Definition at line 534 of file tile.cpp.

References Inkscape::Preferences::get(), and Inkscape::Preferences::setInt().

Referenced by TileDialog().

{
    Inkscape::Preferences *prefs = Inkscape::Preferences::get();
    if (HorizLeftRadioButton.get_active()) {
        HorizAlign = 0;
        prefs->setInt("/dialogs/gridtiler/HorizAlign", 0);
    } else if (HorizCentreRadioButton.get_active()){
        HorizAlign = 1;
        prefs->setInt("/dialogs/gridtiler/HorizAlign", 1);
    } else if (HorizRightRadioButton.get_active()){
        HorizAlign = 2;
        prefs->setInt("/dialogs/gridtiler/HorizAlign", 2);
    }
}


Generated by  Doxygen 1.6.0   Back to index