diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-19 02:53:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-19 02:53:52 +0000 |
commit | 94a5414c7b3366cf894af40079d5ede1c6e17518 (patch) | |
tree | 88fd89e703fc1659abeee7522e6177751e7bc28a /src/qt_qt_wrapper.h | |
parent | 2ce5b382990085bcce1ba3ec48536ae16fa2e4bc (diff) | |
download | gtk-qt-engine-94a5414c7b3366cf894af40079d5ede1c6e17518.tar.gz gtk-qt-engine-94a5414c7b3366cf894af40079d5ede1c6e17518.zip |
Fix up a number of GTK/Qt theme engine problems
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1259595 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); |