diff --git a/src/verbs.h b/src/verbs.h
index 4ed1c6bc9aac622fa9d3071d75ff014104be5c1a..7567deefa61d43e4b4d4d454c07a73a5e768417f 100644 (file)
--- a/src/verbs.h
+++ b/src/verbs.h
* Ted Gould <ted@gould.cx>
* David Yip <yipdw@rose-hulman.edu>
*
* Ted Gould <ted@gould.cx>
* David Yip <yipdw@rose-hulman.edu>
*
+ * Copyright (C) 2006 Johan Engelen <johan@shouraizou.nl>
+ * Copyright (C) (date unspecified) Authors
+
* This code is in public domain if done by Lauris
* This code is GPL if done by Ted or David
*/
* This code is in public domain if done by Lauris
* This code is GPL if done by Ted or David
*/
#include "require-config.h" /* HAVE_GTK_WINDOW_FULLSCREEN */
#include "helper/helper-forward.h"
#include "forward.h"
#include "require-config.h" /* HAVE_GTK_WINDOW_FULLSCREEN */
#include "helper/helper-forward.h"
#include "forward.h"
+#include <glibmm/ustring.h>
/** \brief This anonymous enum is used to provide a list of the Verbs
which are defined staticly in the verb files. There may be
/** \brief This anonymous enum is used to provide a list of the Verbs
which are defined staticly in the verb files. There may be
SP_VERB_FILE_REVERT, /**< Revert this file to its original state. */
SP_VERB_FILE_SAVE, /**< Save the current file with its saved filename */
SP_VERB_FILE_SAVE_AS, /**< Save the current file with a new filename */
SP_VERB_FILE_REVERT, /**< Revert this file to its original state. */
SP_VERB_FILE_SAVE, /**< Save the current file with its saved filename */
SP_VERB_FILE_SAVE_AS, /**< Save the current file with a new filename */
+ SP_VERB_FILE_SAVE_A_COPY, /**< Save a copy of the current file */
SP_VERB_FILE_PRINT,
SP_VERB_FILE_VACUUM,
SP_VERB_FILE_PRINT_DIRECT,
SP_VERB_FILE_PRINT,
SP_VERB_FILE_VACUUM,
SP_VERB_FILE_PRINT_DIRECT,
SP_VERB_EDIT_SELECT_ALL_IN_ALL_LAYERS,
SP_VERB_EDIT_INVERT,
SP_VERB_EDIT_INVERT_IN_ALL_LAYERS,
SP_VERB_EDIT_SELECT_ALL_IN_ALL_LAYERS,
SP_VERB_EDIT_INVERT,
SP_VERB_EDIT_INVERT_IN_ALL_LAYERS,
+ SP_VERB_EDIT_SELECT_NEXT,
+ SP_VERB_EDIT_SELECT_PREV,
SP_VERB_EDIT_DESELECT,
/* Selection */
SP_VERB_SELECTION_TO_FRONT,
SP_VERB_EDIT_DESELECT,
/* Selection */
SP_VERB_SELECTION_TO_FRONT,
SP_VERB_VIEW_NEW_PREVIEW,
SP_VERB_VIEW_MODE_NORMAL,
SP_VERB_VIEW_MODE_OUTLINE,
SP_VERB_VIEW_NEW_PREVIEW,
SP_VERB_VIEW_MODE_NORMAL,
SP_VERB_VIEW_MODE_OUTLINE,
+ SP_VERB_VIEW_MODE_TOGGLE,
SP_VERB_VIEW_ICON_PREVIEW,
SP_VERB_ZOOM_PAGE,
SP_VERB_ZOOM_PAGE_WIDTH,
SP_VERB_VIEW_ICON_PREVIEW,
SP_VERB_ZOOM_PAGE,
SP_VERB_ZOOM_PAGE_WIDTH,
SP_VERB_DIALOG_SWATCHES,
SP_VERB_DIALOG_TRANSFORM,
SP_VERB_DIALOG_ALIGN_DISTRIBUTE,
SP_VERB_DIALOG_SWATCHES,
SP_VERB_DIALOG_TRANSFORM,
SP_VERB_DIALOG_ALIGN_DISTRIBUTE,
+ SP_VERB_DIALOG_UNDO_HISTORY,
SP_VERB_DIALOG_TEXT,
SP_VERB_DIALOG_XML_EDITOR,
SP_VERB_DIALOG_FIND,
SP_VERB_DIALOG_TEXT,
SP_VERB_DIALOG_XML_EDITOR,
SP_VERB_DIALOG_FIND,
SP_VERB_DIALOG_CLONETILER,
SP_VERB_DIALOG_ITEM,
#ifdef WITH_INKBOARD
SP_VERB_DIALOG_CLONETILER,
SP_VERB_DIALOG_ITEM,
#ifdef WITH_INKBOARD
- SP_VERB_DIALOG_WHITEBOARD_CONNECT,
- SP_VERB_DIALOG_WHITEBOARD_SHAREWITHUSER,
- SP_VERB_DIALOG_WHITEBOARD_SHAREWITHCHAT,
- SP_VERB_DIALOG_WHITEBOARD_DUMPXMLTRACKER,
- SP_VERB_DIALOG_WHITEBOARD_OPENSESSIONFILE,
- SP_VERB_DIALOG_WHITEBOARD_SESSIONPLAYBACK,
- SP_VERB_DIALOG_WHITEBOARD_DISCONNECT_FROM_SESSION,
- SP_VERB_DIALOG_WHITEBOARD_DISCONNECT_FROM_SERVER,
+ SP_VERB_XMPP_CLIENT,
#endif
SP_VERB_DIALOG_INPUT,
SP_VERB_DIALOG_EXTENSIONEDITOR,
#endif
SP_VERB_DIALOG_INPUT,
SP_VERB_DIALOG_EXTENSIONEDITOR,
SP_VERB_FIT_CANVAS_TO_SELECTION,
SP_VERB_FIT_CANVAS_TO_DRAWING,
SP_VERB_FIT_CANVAS_TO_SELECTION_OR_DRAWING,
SP_VERB_FIT_CANVAS_TO_SELECTION,
SP_VERB_FIT_CANVAS_TO_DRAWING,
SP_VERB_FIT_CANVAS_TO_SELECTION_OR_DRAWING,
-
-#if 0
- /* Text */
- SP_VERB_TEXT_BOLD,
- SP_VERB_TEXT_ITALIC,
- SP_VERB_TEXT_UNDERLINE,
-#endif
-
/* Footer */
SP_VERB_LAST
};
/* Footer */
SP_VERB_LAST
};
gchar const * get_id (void) { return _id; }
/** \brief Accessor to get the internal variable. */
gchar const * get_name (void) { return _name; }
gchar const * get_id (void) { return _id; }
/** \brief Accessor to get the internal variable. */
gchar const * get_name (void) { return _name; }
+ /** \brief Accessor to get the internal variable. */
+ gchar const * get_image (void) { return _image; }
/** \brief Set the name after initialization. */
gchar const * set_name (gchar const * name) { _name = name; return _name; }
/** \brief Set the name after initialization. */
gchar const * set_name (gchar const * name) { _name = name; return _name; }
void delete_view (Inkscape::UI::View::View * view);
void sensitive (SPDocument * in_doc = NULL, bool in_sensitive = true);
void delete_view (Inkscape::UI::View::View * view);
void sensitive (SPDocument * in_doc = NULL, bool in_sensitive = true);
+ void name (SPDocument * in_doc = NULL, Glib::ustring in_name = "");
// Yes, multiple public, protected and private sections are bad. We'll clean that up later
protected:
// Yes, multiple public, protected and private sections are bad. We'll clean that up later
protected: