undo-history.h revision 36fe57c03027fcd94aad7d16f751c7d1647dd4a1
/** @file
* @brief Undo History dialog
*/
/* Author:
* Gustav Broberg <broberg@kth.se>
*
* Copyright (C) 2006 Authors
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#include <gtkmm/cellrendererpixbuf.h>
#include <gtkmm/scrolledwindow.h>
#include <gtkmm/treemodel.h>
#include <gtkmm/treeselection.h>
#include <glibmm/property.h>
#include <functional>
#include <sstream>
#include "event-log.h"
/* Custom cell renderers */
{ }
Glib::PropertyProxy<unsigned int>
virtual void
};
};
Gtk::CellRendererText(),
{ }
virtual void
};
/**
* \brief Dialog for presenting document change history
*
* This dialog allows the user to undo and redo multiple events in a more convenient way
* than repateaded ctrl-z, ctrl-shift-z.
*/
virtual ~UndoHistory();
static UndoHistory &getInstance();
void _onListSelectionChange();
UndoHistory();
// no default constructor, noncopyable, nonassignable
UndoHistory(UndoHistory const &d);
bool operator() (const int& x) const { return x > i; }
int i;
};
};
} // namespace Dialog
} // namespace UI
} // namespace Inkscape
#endif //INKSCAPE_UI_DIALOG_UNDO_HISTORY_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 :