icons.cpp revision 1c8797563cc134190fe424f8fdb6b2f8ed7d9275
/**
* \brief Stock icons for Inkscape-specific menu items and buttons.
*
* Author:
* Derek P. Moore <derekm@hackunix.org>
*
* Copyright (C) 2004 Derek P. Moore
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <gtkmm/iconfactory.h>
#include "stock.h"
#include "path-prefix.h"
namespace Inkscape {
namespace UI {
namespace Icons {
void
init()
{
// repeat, for every Inkscape stock.h entry that needs an icon.
//Gtk::IconSet ;
//src.set_icon_name("");
//src.set_filename(get_icon_path(".svg"));
//.add_source(src);
//icons->add(Stock::, );
// File menu
// Open Recent
// Import
// Export
// Export to OCAL
// Vacuum Defs
// Edit menu
// Undo History
// Paste In Place
// Paste Style
// Duplicate
// Clone
// Unlink Clone
// Make Bitmap
// Select All
// XML Editor
// View menu
// Zoom
// Zoom In (use Inkscape icon for consistency over Gtk::Stock::ZOOM_IN)
// Zoom Out (use Inkscape icon for consistency over Gtk::Stock::ZOOM_OUT)
// Zoom 100% (use Inkscape icon for consistency over Gtk::Stock::ZOOM_100)
// Zoom 50%
// Zoom 200%
// Zoom Selection
// Zoom Drawing
// Zoom Page (use Inkscape icon for consistency over Gtk::Stock::ZOOM_FIT)
// Zoom Width
// Zoom Previous
// Zoom Next
// Grid
// Guides
// Fullscreen
// Previous Window
// Next Window
// Duplicate Window
// Layer menu
// New Layer
// Delete Layer
// Raise Layer
// Lower Layer
// Layer to Top
// Layer to Bottom
// Object menu
// Fill and Stoke
// Object Properties
// Group
// Ungroup
// Raise
// Lower
// Raise to Top
// Lower to Bottom
// Move to Next Layer
// Move to Previous Layer
// Move to Top Layer
// Move to Bottom Layer
// Rotate 90 CW
// Rotate 90 CCW
// Flip Horizontal
// Flip Vertical
// Transform
// Transformation
// Align and Distribute
// Path menu
// Object to Path
// Stroke to Path
// Trace
// Union
// Difference
// Intersection
// Exclusion
// Division
// Cut Path
// Combine
// Break Apart
// Inset
// Outset
// Dynamic Offset
// Linked Offset
// Simplify
// Reverse
// Help menu
// Keys and Mouse
// Tutorials
// About Inkscape
// About Splash
// 42 Don't Panic!
// Quick Help
// Tools toolbar
// Select tool
// Node tool
// Zoom tool
// Rect tool
// Arc tool
// Star tool
// Spiral tool
// Freehand tool
// Pen tool
// DynaDraw tool
// Text tool
// Dropper tool
// Select Tool controls
// Transform Stroke
// Transform Corners
// Transform Gradient
// Transform Pattern
// Calligraphy Tool controls
// Use Pressure
// Use Tilt
// Session playback dialog
// Rewind
// Step backwards
// Pause
// Step forwards
// Play
icons->add_default();
}
/** Returns the icon filename (in the operating system encoding used for filenames) whose basename
in utf8 encoding is \a utf8_basename.
**/
get_icon_path(char const *const utf8_basename)
{
/* Given that INKSCAPE_PIXMAPDIR is often a compiled constant, I suppose we should
interpret it as utf8: under windows, the encoding for filenames can change from
day to day even for a given file. */
return ret;
}
} // namespace Icon
} // namespace UI
} // namespace Inkscape
/*
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 :