Tried to make wxGLCanvas work again. WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -55,6 +55,8 @@ struct _GtkMyFixed
|
||||
gulong configure_serial;
|
||||
gint scroll_x;
|
||||
gint scroll_y;
|
||||
|
||||
gboolean clear_on_draw;
|
||||
};
|
||||
|
||||
struct _GtkMyFixedClass
|
||||
@@ -68,9 +70,13 @@ struct _GtkMyFixedClass
|
||||
|
||||
guint gtk_myfixed_get_type (void);
|
||||
GtkWidget* gtk_myfixed_new (void);
|
||||
|
||||
void gtk_myfixed_set_shadow_type (GtkMyFixed *myfixed,
|
||||
GtkMyShadowType type);
|
||||
|
||||
void gtk_my_fixed_set_clear (GtkMyFixed *myfixed,
|
||||
gboolean clear);
|
||||
|
||||
void gtk_myfixed_scroll (GtkMyFixed *myfixed,
|
||||
gint dx,
|
||||
gint dy);
|
||||
|
@@ -172,14 +172,9 @@ public:
|
||||
float m_oldHorizontalPos;
|
||||
float m_oldVerticalPos;
|
||||
|
||||
// we need an extra XGC flag set to get exposed
|
||||
// events from overlapping children upon moving
|
||||
// them. this flag will be set in this GC and
|
||||
// the GC will be used in wxWindow::ScrollWindow().
|
||||
GdkGC *m_scrollGC;
|
||||
|
||||
// extra (wxGTK-specific) flags
|
||||
bool m_needParent:1; /* ! wxFrame, wxDialog, wxNotebookPage ? */
|
||||
bool m_noExpose:1; /* wxGLCanvas has its own redrawing */
|
||||
bool m_hasScrolling:1;
|
||||
bool m_isScrolling:1;
|
||||
bool m_hasVMT:1;
|
||||
@@ -188,7 +183,7 @@ public:
|
||||
bool m_isStaticBox:1; /* faster than IS_KIND_OF */
|
||||
bool m_isRadioButton:1; /* faster than IS_KIND_OF */
|
||||
bool m_isFrame:1; /* faster than IS_KIND_OF */
|
||||
bool m_acceptsFocus:1; /* ! wxStaticBox etc. */
|
||||
bool m_acceptsFocus:1; /* not wxStaticBox, not wxStaticBitmap etc. */
|
||||
|
||||
// these are true if the style were set before the widget was realized
|
||||
// (typcally in the constructor) but the actual GTK style must not be set
|
||||
|
Reference in New Issue
Block a user