|
|
@ -470,7 +470,7 @@ void BuiltinObjectActionsProvider::fillUpMenu( NormalModePopupObjects& popup, in
|
|
|
|
TQPixmap p( 20, 20 );
|
|
|
|
TQPixmap p( 20, 20 );
|
|
|
|
p.fill( popup.eraseColor() );
|
|
|
|
p.fill( popup.eraseColor() );
|
|
|
|
ScreenInfo si( Rect( -1, -1, 2, 2 ), p.rect() );
|
|
|
|
ScreenInfo si( Rect( -1, -1, 2, 2 ), p.rect() );
|
|
|
|
KigPainter ptr( si, TQT_TQPAINTDEVICE(&p), popup.part().document(), false );
|
|
|
|
KigPainter ptr( si, &p, popup.part().document(), false );
|
|
|
|
PointImp pt( Coordinate( 0, 0 ) );
|
|
|
|
PointImp pt( Coordinate( 0, 0 ) );
|
|
|
|
ObjectDrawer d( color, -1, true, TQt::SolidLine, i );
|
|
|
|
ObjectDrawer d( color, -1, true, TQt::SolidLine, i );
|
|
|
|
d.draw( pt, ptr, false );
|
|
|
|
d.draw( pt, ptr, false );
|
|
|
@ -484,7 +484,7 @@ void BuiltinObjectActionsProvider::fillUpMenu( NormalModePopupObjects& popup, in
|
|
|
|
TQPixmap p( 50, 20 );
|
|
|
|
TQPixmap p( 50, 20 );
|
|
|
|
p.fill( popup.eraseColor() );
|
|
|
|
p.fill( popup.eraseColor() );
|
|
|
|
ScreenInfo si( Rect( -2.5, -1, 5, 2 ), p.rect() );
|
|
|
|
ScreenInfo si( Rect( -2.5, -1, 5, 2 ), p.rect() );
|
|
|
|
KigPainter ptr( si, TQT_TQPAINTDEVICE(&p), popup.part().document(), false );
|
|
|
|
KigPainter ptr( si, &p, popup.part().document(), false );
|
|
|
|
LineImp line( Coordinate( -1, 0 ), Coordinate( 1, 0 ) );
|
|
|
|
LineImp line( Coordinate( -1, 0 ), Coordinate( 1, 0 ) );
|
|
|
|
TQt::PenStyle ps = penstyles[i];
|
|
|
|
TQt::PenStyle ps = penstyles[i];
|
|
|
|
ObjectDrawer d( color, -1, true, ps, 1 );
|
|
|
|
ObjectDrawer d( color, -1, true, ps, 1 );
|
|
|
|