~danieljabailey/inkscape/arc_node_editor

« back to all changes in this revision

Viewing changes to src/context-fns.h

  • Committer: scislac
  • Date: 2009-08-12 07:57:52 UTC
  • Revision ID: scislac@users.sourceforge.net-20090812075752-3zt99jgeqr3bm16j
much better quality multi-size windows icon, thanks ChrisMorgan

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define SEEN_CONTEXT_FNS_H
3
3
 
4
4
/*
 
5
 * <description>
5
6
 *
6
7
 * Authors:
7
8
 *
10
11
 * Released under GNU GPL, read the file 'COPYING' for more information
11
12
 */
12
13
 
 
14
#include <gdk/gdkevents.h>
13
15
#include <2geom/forward.h>
14
16
 
15
 
class SPDesktop;
16
 
class SPItem;
17
 
typedef union _GdkEvent GdkEvent;
 
17
struct SPDesktop;
 
18
struct SPItem;
18
19
 
19
20
const double goldenratio = 1.61803398874989484820; // golden ratio
20
21
 
21
 
namespace Inkscape {
22
 
namespace UI {
23
 
namespace Tools {
24
 
 
25
 
class ToolBase;
26
 
 
27
 
}
28
 
}
 
22
namespace Inkscape
 
23
{
29
24
 
30
25
class MessageContext;
31
26
class MessageStack;
34
29
extern bool have_viable_layer(SPDesktop *desktop, MessageStack *message);
35
30
Geom::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
36
31
                              Geom::Point const &pt, Geom::Point const &center, int state);
37
 
Geom::Point setup_for_drag_start(SPDesktop *desktop, Inkscape::UI::Tools::ToolBase* ec, GdkEvent *ev);
 
32
Geom::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent *ev);
38
33
 
39
34
}
40
35
 
49
44
  fill-column:99
50
45
  End:
51
46
*/
52
 
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
 
47
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :