Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# drawingarea.h

Go to the documentation of this file.

    00001 /*  Inti: Integrated Foundation Classes
    00002  *  Copyright (C) 2002 The Inti Development Team.
    00003  *
    00004  *  This program is free software; you can redistribute it and/or modify
    00005  *  it under the terms of the GNU General Public License as published by
    00006  *  the Free Software Foundation; either version 2 of the License, or
    00007  *  (at your option) any later version.
    00008  *
    00009  *  This program is distributed in the hope that it will be useful,
    00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00012  *  GNU Library General Public License for more details.
    00013  *
    00014  *  You should have received a copy of the GNU Library General Public License
    00015  *  along with this program; if not, write to the Free Software
    00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    00017  */
    00018
    00026
    00027 #ifndef INTI_GTK_DRAWING_AREA_H
    00028 #define INTI_GTK_DRAWING_AREA_H
    00029
    00030 #ifndef INTI_GTK_WIDGET_H
    00031 #include <inti/gtk/widget.h>
    00032 #endif
    00033
    00034 #ifndef __GTK_DRAWING_AREA_H__
    00035 #include <gtk/gtkdrawingarea.h>
    00036 #endif
    00037
    00038 namespace Inti {
    00039
    00040 namespace Gtk {
    00041
    00042 class DrawingAreaClass;
    00043
    00128
    00129 class DrawingArea : public Widget
    00130 {
    00131         friend class G::Object;
    00132         friend class DrawingAreaClass;
    00133
    00134         DrawingArea(const DrawingArea&);
    00135         DrawingArea& operator=(const DrawingArea&);
    00136
    00137 protected:
    00140
    00141         explicit DrawingArea(GtkDrawingArea *drawing_area, bool reference = false);
    00148
    00150
    00151 public:
    00154
    00155         DrawingArea();
    00157
    00158         DrawingArea(int width, int height);
    00162
    00163         virtual ~DrawingArea();
    00165
    00169
    00170         GtkDrawingArea* gtk_drawing_area() const { return (GtkDrawingArea*)instance; }
    00172
    00173         GtkDrawingAreaClass* gtk_drawing_area_class() const;
    00175
    00176         operator GtkDrawingArea* () const;
    00178
    00180 };
    00181
    00182 } // namespace Gtk
    00183
    00184 } // namespace Inti
    00185
    00186 #endif // INTI_GTK_DRAWING_AREA_H
    00187

Main Page - Footer