Logo Search packages:      
Sourcecode: inkscape version File versions

desktop-widget.cpp File Reference


Detailed Description

Desktop widget implementation

Authors: Lauris Kaplinski <lauris@kaplinski.com> MenTaLguY <mental@rydia.net> bulia byak <buliabyak@users.sf.net> Ralf Stephan <ralf@ark.in-berlin.de> John Bintz <jcoswell@coswellproductions.org> Johan Engelen <j.b.c.engelen@ewi.utwente.nl>

Copyright (C) 2007 Johan Engelen Copyright (C) 2006 John Bintz Copyright (C) 2004 MenTaLguY Copyright (C) 1999-2002 Lauris Kaplinski Copyright (C) 2000-2001 Ximian, Inc.

Released under GNU GPL, read the file 'COPYING' for more information

Definition in file desktop-widget.cpp.

#include <gtkmm/paned.h>
#include <gtk/gtk.h>
#include "macros.h"
#include "inkscape-private.h"
#include "desktop-handles.h"
#include "desktop-events.h"
#include "document.h"
#include "desktop-widget.h"
#include "sp-namedview.h"
#include "interface.h"
#include "toolbox.h"
#include "prefs-utils.h"
#include "preferences.h"
#include "file.h"
#include "display/canvas-arena.h"
#include "display/nr-arena.h"
#include <extension/db.h>
#include "helper/units.h"
#include "widgets/button.h"
#include "widgets/ruler.h"
#include "widgets/widget-sizes.h"
#include "widgets/spw-utilities.h"
#include "widgets/spinbutton-events.h"
#include "widgets/layer-selector.h"
#include "ui/dialog/dialog-manager.h"
#include "ui/widget/dock.h"
#include "ui/widget/selected-style.h"
#include "sp-item.h"
#include "dialogs/swatches.h"
#include "conn-avoid-ref.h"
#include "ege-select-one-action.h"
#include "ege-color-prof-tracker.h"
#include "color-profile-fns.h"
#include "xml/node-observer.h"

Go to the source code of this file.

Classes

class  PrefWatcher

Enumerations

enum  {
  ACTIVATE, DEACTIVATE, MODIFIED, EVENT_CONTEXT_CHANGED,
  LAST_SIGNAL
}

Functions

static void cms_adjust_set_sensitive (SPDesktopWidget *dtw, bool enabled)
static void cms_adjust_toggled (GtkWidget *button, gpointer data)
static void set_adjustment (GtkAdjustment *adj, double l, double u, double ps, double si, double pi)
static void sp_desktop_widget_adjustment_value_changed (GtkAdjustment *adj, SPDesktopWidget *dtw)
static void sp_desktop_widget_class_init (SPDesktopWidgetClass *klass)
static void sp_desktop_widget_destroy (GtkObject *object)
static gint sp_desktop_widget_event (GtkWidget *widget, GdkEvent *event, SPDesktopWidget *dtw)
void sp_desktop_widget_fullscreen (SPDesktopWidget *dtw)
GtkType sp_desktop_widget_get_type (void)
void sp_desktop_widget_iconify (SPDesktopWidget *dtw)
static void sp_desktop_widget_init (SPDesktopWidget *widget)
void sp_desktop_widget_layout (SPDesktopWidget *dtw)
void sp_desktop_widget_maximize (SPDesktopWidget *dtw)
static void sp_desktop_widget_namedview_modified (SPObject *obj, guint flags, SPDesktopWidget *dtw)
SPViewWidgetsp_desktop_widget_new (SPNamedView *namedview)
 Create a new SPViewWidget (which happens to be a SPDesktopWidget).
static void sp_desktop_widget_realize (GtkWidget *widget)
static void sp_desktop_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
void sp_desktop_widget_toggle_color_prof_adj (SPDesktopWidget *dtw)
void sp_desktop_widget_toggle_rulers (SPDesktopWidget *dtw)
void sp_desktop_widget_toggle_scrollbars (SPDesktopWidget *dtw)
void sp_desktop_widget_update_hruler (SPDesktopWidget *dtw)
void sp_desktop_widget_update_namedview (SPDesktopWidget *dtw)
void sp_desktop_widget_update_rulers (SPDesktopWidget *dtw)
void sp_desktop_widget_update_scrollbars (SPDesktopWidget *dtw, double scale)
void sp_desktop_widget_update_vruler (SPDesktopWidget *dtw)
void sp_desktop_widget_update_zoom (SPDesktopWidget *dtw)
static void sp_dtw_color_profile_event (EgeColorProfTracker *widget, SPDesktopWidget *dtw)
void sp_dtw_desktop_activate (SPDesktopWidget *)
void sp_dtw_desktop_deactivate (SPDesktopWidget *)
static void sp_dtw_zoom_100 (GtkMenuItem *item, gpointer data)
static void sp_dtw_zoom_200 (GtkMenuItem *item, gpointer data)
static void sp_dtw_zoom_50 (GtkMenuItem *item, gpointer data)
static gdouble sp_dtw_zoom_display_to_value (gdouble value)
static void sp_dtw_zoom_drawing (GtkMenuItem *item, gpointer data)
static gint sp_dtw_zoom_input (GtkSpinButton *spin, gdouble *new_val, gpointer data)
static void sp_dtw_zoom_menu_handler (SPDesktop *dt, gdouble factor)
static bool sp_dtw_zoom_output (GtkSpinButton *spin, gpointer data)
static void sp_dtw_zoom_page (GtkMenuItem *item, gpointer data)
static void sp_dtw_zoom_populate_popup (GtkEntry *entry, GtkMenu *menu, gpointer data)
static void sp_dtw_zoom_selection (GtkMenuItem *item, gpointer data)
static void sp_dtw_zoom_value_changed (GtkSpinButton *spin, gpointer data)
static gdouble sp_dtw_zoom_value_to_display (gdouble value)

Variables

SPViewWidgetClassdtw_parent_class
static PrefWatcher * watcher = 0


Generated by  Doxygen 1.6.0   Back to index