~ubuntu-branches/ubuntu/vivid/ardour/vivid-proposed

« back to all changes in this revision

Viewing changes to libs/libgnomecanvasmm/libgnomecanvasmm/rect.h

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler, Jaromír Mikeš, Felipe Sateler
  • Date: 2014-05-22 14:39:25 UTC
  • mfrom: (29 sid)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: package-import@ubuntu.com-20140522143925-vwqfo9287pmkrroe
Tags: 1:2.8.16+git20131003-3
* Team upload

[ Jaromír Mikeš ]
* Add -dbg package

[ Felipe Sateler ]
* Upload to experimental

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// -*- c++ -*-
 
2
// Generated by gtkmmproc -- DO NOT MODIFY!
 
3
#ifndef _LIBGNOMECANVASMM_RECT_H
 
4
#define _LIBGNOMECANVASMM_RECT_H
 
5
 
 
6
#include <glibmm.h>
 
7
 
 
8
/* $Id$ */
 
9
 
 
10
/* rect.h
 
11
 * 
 
12
 * Copyright (C) 1998 EMC Capital Management Inc.
 
13
 * Developed by Havoc Pennington <hp@pobox.com>
 
14
 *
 
15
 * Copyright (C) 1999 The Gtk-- Development Team
 
16
 *
 
17
 * This library is free software; you can redistribute it and/or
 
18
 * modify it under the terms of the GNU Library General Public
 
19
 * License as published by the Free Software Foundation; either
 
20
 * version 2 of the License, or (at your option) any later version.
 
21
 *
 
22
 * This library is distributed in the hope that it will be useful,
 
23
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
24
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
25
 * Library General Public License for more details.
 
26
 *
 
27
 * You should have received a copy of the GNU Library General Public
 
28
 * License along with this library; if not, write to the Free
 
29
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
30
 */
 
31
 
 
32
#include <libgnomecanvasmm/item.h>
 
33
#include <libgnomecanvasmm/group.h>
 
34
#include <libgnomecanvasmm/rect-ellipse.h>
 
35
 
 
36
 
 
37
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
38
typedef struct _GnomeCanvasRect GnomeCanvasRect;
 
39
typedef struct _GnomeCanvasRectClass GnomeCanvasRectClass;
 
40
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
41
 
 
42
 
 
43
namespace Gnome
 
44
{
 
45
 
 
46
namespace Canvas
 
47
{ class Rect_Class; } // namespace Canvas
 
48
 
 
49
} // namespace Gnome
 
50
namespace Gnome
 
51
{
 
52
 
 
53
namespace Canvas
 
54
{
 
55
 
 
56
//class Group;
 
57
 
 
58
 
 
59
class Rect : public RectEllipse
 
60
{
 
61
  public:
 
62
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
63
  typedef Rect CppObjectType;
 
64
  typedef Rect_Class CppClassType;
 
65
  typedef GnomeCanvasRect BaseObjectType;
 
66
  typedef GnomeCanvasRectClass BaseClassType;
 
67
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
68
 
 
69
  virtual ~Rect();
 
70
 
 
71
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
72
 
 
73
private:
 
74
  friend class Rect_Class;
 
75
  static CppClassType rect_class_;
 
76
 
 
77
  // noncopyable
 
78
  Rect(const Rect&);
 
79
  Rect& operator=(const Rect&);
 
80
 
 
81
protected:
 
82
  explicit Rect(const Glib::ConstructParams& construct_params);
 
83
  explicit Rect(GnomeCanvasRect* castitem);
 
84
 
 
85
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
86
 
 
87
public:
 
88
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
89
  static GType get_type()      G_GNUC_CONST;
 
90
  static GType get_base_type() G_GNUC_CONST;
 
91
#endif
 
92
 
 
93
  ///Provides access to the underlying C GtkObject.
 
94
  GnomeCanvasRect*       gobj()       { return reinterpret_cast<GnomeCanvasRect*>(gobject_); }
 
95
 
 
96
  ///Provides access to the underlying C GtkObject.
 
97
  const GnomeCanvasRect* gobj() const { return reinterpret_cast<GnomeCanvasRect*>(gobject_); }
 
98
 
 
99
 
 
100
public:
 
101
  //C++ methods used to invoke GTK+ virtual functions:
 
102
 
 
103
protected:
 
104
  //GTK+ Virtual Functions (override these to change behaviour):
 
105
 
 
106
  //Default Signal Handlers::
 
107
 
 
108
 
 
109
private:
 
110
 
 
111
 
 
112
public:
 
113
  Rect(Group& parent, double x1, double y1, double x2, double y2);
 
114
  explicit Rect(Group& parent);
 
115
 
 
116
 
 
117
};
 
118
 
 
119
} /* namespace Canvas */
 
120
} /* namespace Gnome */
 
121
 
 
122
namespace Glib
 
123
{
 
124
  /** @relates Gnome::Canvas::Rect
 
125
   * @param object The C instance
 
126
   * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
 
127
   * @result A C++ instance that wraps this C instance.
 
128
   */
 
129
  Gnome::Canvas::Rect* wrap(GnomeCanvasRect* object, bool take_copy = false);
 
130
}
 
131
#endif /* _LIBGNOMECANVASMM_RECT_H */
 
132