dash-selector.h revision ca9dd8adb8e5d286a925445613608a1be10702a5
#ifndef SEEN_SP_DASH_SELECTOR_NEW_H
#define SEEN_SP_DASH_SELECTOR_NEW_H
/* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Maximilian Albert <maximilian.albert> (gtkmm-ification)
*
* Copyright (C) 2002 Lauris Kaplinski
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <gtkmm/combobox.h>
#include <gtkmm/liststore.h>
/**
* Class that wraps a combobox and spinbutton for selecting dash patterns.
*/
~SPDashSelector();
/**
* Get and set methods for dashes
*/
/**
* Initialize dashes list from preferences
*/
static void init_dashes();
/**
* Fill a pixbuf with the dash pattern using standard cairo drawing
*/
/**
* Callback for combobox image renderer
*/
/**
* Callback for offset adjustment changing
*/
void offset_value_changed();
/**
* Callback for combobox selection changing
*/
void on_selection();
/**
* Combobox columns
*/
DashColumns() {
}
};
static gchar const *const _prefs_path;
int preview_width;
int preview_height;
int preview_lineheight;
};
#endif // SEEN_SP_DASH_SELECTOR_NEW_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 :