]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk1/win_gtk.h
memdc and bitmap fixes
[wxWidgets.git] / include / wx / gtk1 / win_gtk.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: win_gtk.h
3// Purpose: wxWindows's GTK base widget
4// Author: Robert Roebling
5// Created: 01/02/97
6// Id:
7// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11
12#ifndef __GTK_MYFIXED_H__
13#define __GTK_MYFIXED_H__
14
15
16#include <gdk/gdk.h>
17#include <gtk/gtkcontainer.h>
18
19
20#ifdef __cplusplus
21extern "C" {
22#endif /* __cplusplus */
23
24
25#define GTK_MYFIXED(obj) GTK_CHECK_CAST (obj, gtk_myfixed_get_type (), GtkMyFixed)
26#define GTK_MYFIXED_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_myfixed_get_type (), GtkMyFixedClass)
27#define GTK_IS_MYFIXED(obj) GTK_CHECK_TYPE (obj, gtk_myfixed_get_type ())
28
29
30typedef struct _GtkMyFixed GtkMyFixed;
31typedef struct _GtkMyFixedClass GtkMyFixedClass;
32typedef struct _GtkMyFixedChild GtkMyFixedChild;
33
34struct _GtkMyFixed
35{
36 GtkContainer container;
37
38 GList *children;
39
40 gint16 scroll_offset_x;
41 gint16 scroll_offset_y;
42};
43
44struct _GtkMyFixedClass
45{
46 GtkContainerClass parent_class;
47};
48
49struct _GtkMyFixedChild
50{
51 GtkWidget *widget;
52 gint16 x;
53 gint16 y;
54};
55
56guint gtk_myfixed_get_type (void);
57GtkWidget* gtk_myfixed_new (void);
58void gtk_myfixed_set_offset (GtkMyFixed *myfixed,
59 gint16 x,
60 gint16 y);
61void gtk_myfixed_put (GtkMyFixed *myfixed,
62 GtkWidget *widget,
63 gint16 x,
64 gint16 y);
65void gtk_myfixed_move (GtkMyFixed *myfixed,
66 GtkWidget *widget,
67 gint16 x,
68 gint16 y);
69
70#ifdef __cplusplus
71}
72#endif /* __cplusplus */
73
74
75#endif /* __GTK_MYFIXED_H__ */