selected-style.h revision 5a89f5f3494400a7c7188920a80d1e2992697747
/*
* Authors:
* buliabyak@gmail.com
* scislac@users.sf.net
*
* Copyright (C) 2005 authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_CURRENT_STYLE_H
#define INKSCAPE_UI_CURRENT_STYLE_H
#include <gtkmm/eventbox.h>
#include <gtkmm/menuitem.h>
#include <gtkmm/adjustment.h>
#include <gtkmm/radiobuttongroup.h>
#include <gtkmm/radiomenuitem.h>
#include "ui/widget/spinbutton.h"
#include <stddef.h>
#include "rotateable.h"
enum {
};
enum {
};
{
~RotateableSwatch();
bool startcolor_set;
bool cr_set;
};
{
double startvalue;
bool startvalue_set;
bool cr_set;
};
/**
* Selected style indicator (fill, stroke, opacity).
*/
{
SelectedStyle(bool layout = true);
~SelectedStyle();
void update();
double current_stroke_width;
#if WITH_GTKMM_3_0
#else
#endif
bool _opacity_blocked;
void on_opacity_changed();
void opacity_0();
void opacity_025();
void opacity_05();
void opacity_075();
void opacity_1();
void on_fill_remove();
void on_stroke_remove();
void on_fill_lastused();
void on_stroke_lastused();
void on_fill_lastselected();
void on_stroke_lastselected();
void on_fill_unset();
void on_stroke_unset();
void on_fill_edit();
void on_stroke_edit();
void on_fillstroke_swap();
void on_fill_invert();
void on_stroke_invert();
void on_fill_white();
void on_stroke_white();
void on_fill_black();
void on_stroke_black();
void on_fill_copy();
void on_stroke_copy();
void on_fill_paste();
void on_stroke_paste();
void on_fill_opaque();
void on_stroke_opaque();
void on_popup_preset(int i);
void *_drop[2];
bool _dropEnabled[2];
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_WIDGET_BUTTON_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :