|
|
|
@ -98,7 +98,6 @@ int isAlloy;
|
|
|
|
|
int isDomino;
|
|
|
|
|
int isPolyester;
|
|
|
|
|
int isMotif;
|
|
|
|
|
int isQtCurve;
|
|
|
|
|
int eclipseFix;
|
|
|
|
|
int openOfficeFix;
|
|
|
|
|
int mozillaFix;
|
|
|
|
@ -448,7 +447,6 @@ void createTQApp()
|
|
|
|
|
isPolyester = (TQString(tqApp->style().name()).lower() == "polyester");
|
|
|
|
|
isMotif = (TQString(tqApp->style().name()).lower() == "motif" ||
|
|
|
|
|
TQString(tqApp->style().name()).lower() == "cde");
|
|
|
|
|
isQtCurve = (TQString(tqApp->style().name()).lower() == "qtcurve");
|
|
|
|
|
|
|
|
|
|
if (isDomino)
|
|
|
|
|
{
|
|
|
|
@ -1205,12 +1203,11 @@ void drawRadioButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int
|
|
|
|
|
// We cheat, and draw them over the expected area.
|
|
|
|
|
int xOffset = (realW - w) / 2;
|
|
|
|
|
int yOffset = (realH - h) / 2;
|
|
|
|
|
int bOffset = isQtCurve ? -1 : 0;
|
|
|
|
|
|
|
|
|
|
TQBitmap bitmap(realW, realH, TRUE);
|
|
|
|
|
TQPainter bpainter(&bitmap);
|
|
|
|
|
bpainter.setBrush(TQt::color1);
|
|
|
|
|
tqApp->style().drawControlMask(TQStyle::CE_RadioButton, &bpainter, &radio, TQRect(0-bOffset,0-bOffset,realW,realH), sflags);
|
|
|
|
|
tqApp->style().drawControlMask(TQStyle::CE_RadioButton, &bpainter, &radio, TQRect(0,0,realW,realH), sflags);
|
|
|
|
|
pixmap.setMask(bitmap);
|
|
|
|
|
|
|
|
|
|
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x-xOffset, y-yOffset, realW, realH);
|
|
|
|
|