align-and-distribute.h revision 9b0f2fc7fddc2a9eef7d3baf7559b3d7f9a86233
/** @file
* @brief Align and Distribute dialog
*/
/* Authors:
* Bryce W. Harrington <bryce@bryceharrington.org>
* Aubanel MONNIER <aubi@libertysurf.fr>
* Frank Felfe <innerspace@iname.com>
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 1999-2004, 2005 Authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#include <list>
#include <gtkmm/comboboxtext.h>
#include "ui/dialog/desktop-tracker.h"
#if WITH_GTKMM_3_0
#include <gtkmm/checkbutton.h>
#else
#endif
static AlignTarget getAlignTarget();
#if WITH_GTKMM_3_0
#else
#endif
void on_ref_change();
void on_selgrp_toggled();
#if WITH_GTKMM_3_0
#else
#endif
#if WITH_GTKMM_3_0
#else
#endif
AlignAndDistribute(AlignAndDistribute const &d);
};
struct BBoxSort
{
float anchor;
BBoxSort(SPItem *pItem, Geom::Rect const &bounds, Geom::Dim2 orientation, double kBegin, double kEnd);
};
public :
#if WITH_GTKMM_3_0
#else
#endif
private :
virtual void on_button_click(){}
#if WITH_GTKMM_3_0
#else
#endif
};
public :
struct Coeffs {
int verb_id;
};
{}
/*
* Static function called to align from a keyboard shortcut
*/
private :
virtual void on_button_click() {
//Retreive selected objects
if (!desktop) return;
}
static int verb_to_coeff(int verb);
};
} // namespace Dialog
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_DIALOG_ALIGN_AND_DISTRIBUTE_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 :