1998-08-23 03:22:56 +00:00
|
|
|
/* ///////////////////////////////////////////////////////////////////////////
|
2011-03-20 00:14:35 +00:00
|
|
|
// Name: wx/gtk/private/win_gtk.h
|
2007-11-06 18:14:15 +00:00
|
|
|
// Purpose: native GTK+ widget for wxWindow
|
1998-05-20 14:01:55 +00:00
|
|
|
// Author: Robert Roebling
|
1998-10-29 18:03:18 +00:00
|
|
|
// Copyright: (c) 1998 Robert Roebling
|
2005-08-02 20:57:54 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-08-23 03:22:56 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////// */
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2007-11-06 18:14:15 +00:00
|
|
|
#ifndef _WX_GTK_PIZZA_H_
|
|
|
|
#define _WX_GTK_PIZZA_H_
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2007-11-06 18:14:15 +00:00
|
|
|
#define WX_PIZZA(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, wxPizza::type(), wxPizza)
|
|
|
|
#define WX_IS_PIZZA(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, wxPizza::type())
|
2001-10-02 19:28:23 +00:00
|
|
|
|
2007-11-06 18:14:15 +00:00
|
|
|
struct WXDLLIMPEXP_CORE wxPizza
|
1998-05-20 14:01:55 +00:00
|
|
|
{
|
2007-11-14 02:37:52 +00:00
|
|
|
// borders styles which can be used with wxPizza
|
|
|
|
enum { BORDER_STYLES =
|
|
|
|
wxBORDER_SIMPLE | wxBORDER_RAISED | wxBORDER_SUNKEN | wxBORDER_THEME };
|
|
|
|
|
2009-12-01 16:23:48 +00:00
|
|
|
static GtkWidget* New(long windowStyle = 0);
|
2007-11-06 18:14:15 +00:00
|
|
|
static GType type();
|
2012-05-17 15:29:50 +00:00
|
|
|
void move(GtkWidget* widget, int x, int y, int width, int height);
|
|
|
|
void put(GtkWidget* widget, int x, int y, int width, int height);
|
2007-11-06 18:14:15 +00:00
|
|
|
void scroll(int dx, int dy);
|
2012-06-30 20:39:06 +00:00
|
|
|
void get_border(GtkBorder& border);
|
2007-11-06 18:14:15 +00:00
|
|
|
|
|
|
|
GtkFixed m_fixed;
|
2012-05-17 15:29:50 +00:00
|
|
|
GList* m_children;
|
2007-11-06 18:14:15 +00:00
|
|
|
int m_scroll_x;
|
|
|
|
int m_scroll_y;
|
2012-06-30 20:39:06 +00:00
|
|
|
int m_windowStyle;
|
1998-05-20 14:01:55 +00:00
|
|
|
};
|
|
|
|
|
2007-11-06 18:14:15 +00:00
|
|
|
#endif // _WX_GTK_PIZZA_H_
|