undo-history.h revision 09ba3247163582bf2e30e17c4c154aa259ce038a
/** @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/invisible.h>
#include <gtkmm/scrolledwindow.h>
#include <gtkmm/treemodel.h>
#include <gtkmm/treeselection.h>
#include <functional>
#include <sstream>
#include "desktop.h"
#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:encoding=utf-8:textwidth=99 :