cpaffixed.h

Go to the documentation of this file.
00001 
00007 /*
00008     This library is free software; you can redistribute it and/or
00009     modify it under the terms of the GNU Lesser General Public
00010     License as published by the Free Software Foundation; either
00011     version 2.1 of the License, or (at your option) any later version.
00012 
00013     This library is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016     Lesser General Public License for more details.
00017 
00018     You should have received a copy of the GNU Lesser General Public
00019     License along with this library; if not, write to the Free Software
00020     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00021 
00022     Copyright (C) 2005 Mart Raudsepp
00023     leio (at) dustbite [dot] net
00024 */
00025 
00026 /* THIS IS A C FILE, DO NOT USE C++ SYNTAX (comments in particular) */
00027 
00028 #ifndef OMGUI_GTK2_FIXED_H
00029 #define OMGUI_GTK2_FIXED_H
00030 
00031 #include <gtk/gtkfixed.h>
00032 
00033 G_BEGIN_DECLS
00034 
00035 /* CpafFixed is a derivation of GtkFixed, modified for our needs
00036  */
00037 
00038 #define OMGUI_TYPE_FIXED             (cpaf_fixed_get_type ())
00039 #define OMGUI_FIXED(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), OMGUI_TYPE_FIXED, CpafFixed))
00040 #define OMGUI_FIXED_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), OMGUI_TYPE_FIXED, CpafFixedClass))
00041 #define OMGUI_IS_FIXED(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), OMGUI_TYPE_FIXED))
00042 #define OMGUI_IS_FIXED_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), OMGUI_TYPE_FIXED))
00043 #define OMGUI_FIXED_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), OMGUI_TYPE_FIXED, CpafFixedClass))
00044 
00045 typedef struct _CpafFixed       CpafFixed;
00046 typedef struct _CpafFixedClass  CpafFixedClass;
00047 
00048 struct _CpafFixed {
00049     GtkFixed fixed;
00050 };
00051 
00052 struct _CpafFixedClass {
00053     GtkFixedClass parent_class;
00054 };
00055 
00056 GType                 cpaf_fixed_get_type       (void) G_GNUC_CONST;
00057 GtkWidget            *cpaf_fixed_new            (void);
00058 
00059 G_END_DECLS
00060 
00061 #endif /* OMGUI_GTK2_FIXED_H */

doxygen SourceForge.net Logo