]>
Commit | Line | Data |
---|---|---|
1 | /* /////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/gtk/private/win_gtk.h | |
3 | // Purpose: native GTK+ widget for wxWindow | |
4 | // Author: Robert Roebling | |
5 | // Id: $Id$ | |
6 | // Copyright: (c) 1998 Robert Roebling | |
7 | // Licence: wxWindows licence | |
8 | /////////////////////////////////////////////////////////////////////////// */ | |
9 | ||
10 | #ifndef _WX_GTK_PIZZA_H_ | |
11 | #define _WX_GTK_PIZZA_H_ | |
12 | ||
13 | #define WX_PIZZA(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, wxPizza::type(), wxPizza) | |
14 | #define WX_IS_PIZZA(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, wxPizza::type()) | |
15 | ||
16 | struct WXDLLIMPEXP_CORE wxPizza | |
17 | { | |
18 | // borders styles which can be used with wxPizza | |
19 | enum { BORDER_STYLES = | |
20 | wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME }; | |
21 | ||
22 | static GtkWidget* New(long windowStyle = 0); | |
23 | static GType type(); | |
24 | void move(GtkWidget* widget, int x, int y, int width, int height); | |
25 | void put(GtkWidget* widget, int x, int y, int width, int height); | |
26 | void scroll(int dx, int dy); | |
27 | void get_border(GtkBorder& border); | |
28 | ||
29 | GtkFixed m_fixed; | |
30 | GList* m_children; | |
31 | int m_scroll_x; | |
32 | int m_scroll_y; | |
33 | int m_windowStyle; | |
34 | }; | |
35 | ||
36 | #endif // _WX_GTK_PIZZA_H_ |