Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

selcue.h

#ifndef __SP_SELCUE_H__
#define __SP_SELCUE_H__

/*
 * Helper object for showing selected items
 *
 * Authors:
 *   bulia byak <bulia@users.sf.net>
 *
 * Copyright (C) 2004 Authors
 *
 * Released under GNU GPL, read the file 'COPYING' for more information
 */

#include <glib/gslist.h>
#include <sigc++/sigc++.h>

#include "forward.h"

namespace Inkscape { class Selection; }

enum {
        SP_SELCUE_NONE,
        SP_SELCUE_MARK,
        SP_SELCUE_BBOX
};

struct SPSelCue {
      SPSelCue(SPDesktop *desktop);
      ~SPSelCue();

      SPDesktop *desktop;
      Inkscape::Selection *selection;
      sigc::connection sel_changed_connection;
      sigc::connection sel_modified_connection;
      GSList *item_bboxes;
      GSList *text_baselines;
};

void sp_sel_cue_update_item_bboxes (SPSelCue * selcue);

#endif

Generated by  Doxygen 1.6.0   Back to index