|
|
@ -576,7 +576,7 @@ void PhaseStyle::drawPhaseTab(TQPainter *painter,
|
|
|
|
// ---------------
|
|
|
|
// ---------------
|
|
|
|
// Draw the primitive element
|
|
|
|
// Draw the primitive element
|
|
|
|
|
|
|
|
|
|
|
|
void PhaseStyle::drawPrimitive(TQ_PrimitiveElement element,
|
|
|
|
void PhaseStyle::drawPrimitive(PrimitiveElement element,
|
|
|
|
TQPainter *painter,
|
|
|
|
TQPainter *painter,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
@ -696,7 +696,7 @@ void PhaseStyle::drawPrimitive(TQ_PrimitiveElement element,
|
|
|
|
drawPhaseBevel(painter, x, y, w, h,
|
|
|
|
drawPhaseBevel(painter, x, y, w, h,
|
|
|
|
group, group.button(), down, !horiz, true);
|
|
|
|
group, group.button(), down, !horiz, true);
|
|
|
|
|
|
|
|
|
|
|
|
TQ_PrimitiveElement arrow = ((horiz) ?
|
|
|
|
PrimitiveElement arrow = ((horiz) ?
|
|
|
|
((element == PE_ScrollBarAddLine) ?
|
|
|
|
((element == PE_ScrollBarAddLine) ?
|
|
|
|
PE_ArrowRight : PE_ArrowLeft) :
|
|
|
|
PE_ArrowRight : PE_ArrowLeft) :
|
|
|
|
((element == PE_ScrollBarAddLine) ?
|
|
|
|
((element == PE_ScrollBarAddLine) ?
|
|
|
@ -1492,7 +1492,7 @@ void PhaseStyle::drawControl(TQ_ControlElement element,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (mi->popup()) { // draw submenu arrow
|
|
|
|
if (mi->popup()) { // draw submenu arrow
|
|
|
|
TQ_PrimitiveElement arrow = reverse_ ? PE_ArrowLeft : PE_ArrowRight;
|
|
|
|
PrimitiveElement arrow = reverse_ ? PE_ArrowLeft : PE_ArrowRight;
|
|
|
|
int dim = (h-2*ITEMFRAME) / 2;
|
|
|
|
int dim = (h-2*ITEMFRAME) / 2;
|
|
|
|
vrect = visualRect(TQRect(x + w - ARROWMARGIN - ITEMFRAME - dim,
|
|
|
|
vrect = visualRect(TQRect(x + w - ARROWMARGIN - ITEMFRAME - dim,
|
|
|
|
y + h / 2 - dim / 2, dim, dim), rect);
|
|
|
|
y + h / 2 - dim / 2, dim, dim), rect);
|
|
|
@ -1784,7 +1784,7 @@ void PhaseStyle::drawComplexControl(TQ_ComplexControl control,
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TQ_PrimitiveElement element;
|
|
|
|
PrimitiveElement element;
|
|
|
|
|
|
|
|
|
|
|
|
// draw frame
|
|
|
|
// draw frame
|
|
|
|
if (controls & SC_SpinWidgetFrame) {
|
|
|
|
if (controls & SC_SpinWidgetFrame) {
|
|
|
|