diff options
Diffstat (limited to 'src/qt_qt_wrapper.h')
-rw-r--r-- | src/qt_qt_wrapper.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qt_qt_wrapper.h b/src/qt_qt_wrapper.h index 969eeee..5d5c804 100644 --- a/src/qt_qt_wrapper.h +++ b/src/qt_qt_wrapper.h @@ -5,8 +5,11 @@ #include <gtk/gtknotebook.h> #include <gdk/gdkgc.h> #include <gtk/gtkstyle.h> +#include <gtk/gtkbutton.h> #include <gtk/gtkprogressbar.h> +// #define USE_NATIVE_GTK_BUTTON_DRAWING 1 + #ifdef __cplusplus extern "C" { @@ -26,7 +29,7 @@ void createTQApp(); void destroyTQApp(); void setColors(GtkStyle* style); void setRcProperties(GtkRcStyle* rc_style, int forceRecreate); -void drawButton(GdkWindow * window, GtkStyle * style, GtkStateType state, int defaultButton, int x, int y, int w, int h); +void drawButton(GdkWindow * window, GtkStyle * style, GtkStateType state, int defaultButton, int x, int y, int w, int h, GtkButton* gwidget); void drawSquareButton(GdkWindow * window, GtkStyle * style, GtkStateType state, int x, int y, int w, int h); int findCachedButton(GdkWindow * window, GtkStyle * style, GtkStateType state, int x, int y, int w, int h); void drawToolButton(GdkWindow * window, GtkStyle * style, GtkStateType state, int x, int y, int w, int h); |