tile.h revision ea6f2e9aae3e269e86c4f57769bb61b3444435f9
/** @file
* @brief Dialog for creating grid type arrangements of selected objects
*/
/* Authors:
* Bob Jamison ( based off trace dialog)
* John Cliff
* Other dudes from The Inkscape Organization
*
* Copyright (C) 2004 Bob Jamison
* Copyright (C) 2004 John Cliff
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifndef SEEN_UI_DIALOG_TILE_H
#define SEEN_UI_DIALOG_TILE_H
#include <gtkmm/notebook.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/radiobutton.h>
#include "ui/widget/spinbutton.h"
#include "ui/widget/scalar-unit.h"
}
/**
* Dialog for tiling an object
*/
TileDialog() ;
virtual ~TileDialog() {};
/**
* Do the actual work
*/
void Grid_Arrange();
/**
* Respond to selection change
*/
void updateSelection();
/**
* Callback from Apply
*/
// Callbacks from spinbuttons
void on_row_spinbutton_changed();
void on_col_spinbutton_changed();
void on_xpad_spinbutton_changed();
void on_ypad_spinbutton_changed();
void on_RowSize_checkbutton_changed();
void on_ColSize_checkbutton_changed();
void on_rowSize_spinbutton_changed();
void on_colSize_spinbutton_changed();
void Spacing_button_changed();
void VertAlign_changed();
void HorizAlign_changed();
bool userHidden;
bool updating;
// Number selected label
// Number per Row
bool AutoRowSize;
// Number per Column
bool AutoColSize;
// Vertical align
double VertAlign;
// Horizontal align
double HorizAlign;
// BBox or manual spacing
bool ManualSpacing;
// Row height
// Column width
};
} //namespace Dialog
} //namespace UI
} //namespace Inkscape
#endif /* __TILEDIALOG_H__ */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :