tile.h revision 7e9727d1b09a7a652946b8f99aaf6e230df305c2
/** @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/anchor-selector.h"
#include "ui/widget/spinbutton.h"
#include "ui/widget/scalar-unit.h"
}
/**
* This interface should be implemented by each arrange mode.
* The class is a Gtk::VBox and will be displayed as a tab in
* the dialog
*/
{
ArrangeTab() {};
virtual ~ArrangeTab() {};
/**
* Do the actual work!
*/
};
virtual ~ArrangeDialog() {};
/**
* Callback from Apply
*/
};
/**
* Dialog for tiling an object
*/
virtual ~GridArrangeTab() {};
/**
* Do the actual work
*/
/**
* Respond to selection change
*/
void updateSelection();
// 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 Align_changed();
bool userHidden;
bool updating;
// Number selected label
// Number per Row
bool AutoRowSize;
// Number per Column
bool AutoColSize;
// Alignment
double VertAlign;
double HorizAlign;
// BBox or manual spacing
bool ManualSpacing;
// Row height
// Column width
};
virtual ~PolarArrangeTab() {};
/**
* Do the actual work
*/
/**
* Respond to selection change
*/
void updateSelection();
void on_anchor_radio_changed();
void on_arrange_radio_changed();
};
} //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 :