Lines Matching refs:rDev

48 void ButtonFrame::Draw( OutputDevice& rDev )  in DECLARE_LIST()
50 Color aOldFillColor = rDev.GetFillColor(); in DECLARE_LIST()
51 Color aOldLineColor = rDev.GetLineColor(); in DECLARE_LIST()
53 const StyleSettings &rSettings = rDev.GetSettings().GetStyleSettings(); in DECLARE_LIST()
58 rDev.SetLineColor( aColFace ); in DECLARE_LIST()
59 rDev.SetFillColor( aColFace ); in DECLARE_LIST()
60 rDev.DrawRect( aRect ); in DECLARE_LIST()
62 if( rDev.GetOutDevType() == OUTDEV_WINDOW ) in DECLARE_LIST()
64 Window *pWin = (Window*) &rDev; in DECLARE_LIST()
70 rDev.SetLineColor( bPressed ? aColShadow : aColLight ); in DECLARE_LIST()
71 rDev.DrawLine( aRect.TopLeft(), Point( aRect.Right(), aRect.Top() ) ); in DECLARE_LIST()
72 rDev.DrawLine( aRect.TopLeft(), Point( aRect.Left(), aRect.Bottom() - 1 ) ); in DECLARE_LIST()
73 rDev.SetLineColor( bPressed ? aColLight : aColShadow ); in DECLARE_LIST()
74 rDev.DrawLine( aRect.BottomRight(), Point( aRect.Right(), aRect.Top() ) ); in DECLARE_LIST()
75 rDev.DrawLine( aRect.BottomRight(), Point( aRect.Left(), aRect.Bottom() ) ); in DECLARE_LIST()
80 String aVal = rDev.GetEllipsisString(aText,aInnerRect.GetWidth() - 2*MIN_COLUMNWIDTH); in DECLARE_LIST()
82 Font aFont( rDev.GetFont() ); in DECLARE_LIST()
87 rDev.SetFont( aFont ); in DECLARE_LIST()
90 Color aOldColor = rDev.GetTextColor(); in DECLARE_LIST()
92 rDev.SetTextColor(rSettings.GetDisableColor()); in DECLARE_LIST()
94 rDev.DrawText( Point( in DECLARE_LIST()
95 ( aInnerRect.Left() + aInnerRect.Right() ) / 2 - ( rDev.GetTextWidth(aVal) / 2 ), in DECLARE_LIST()
102 rDev.SetFont( aFont ); in DECLARE_LIST()
105 rDev.SetTextColor(aOldColor); in DECLARE_LIST()
110 rDev.SetLineColor( Color( COL_BLACK ) ); in DECLARE_LIST()
111 rDev.SetFillColor(); in DECLARE_LIST()
112 rDev.DrawRect( Rectangle( in DECLARE_LIST()
116 rDev.SetLineColor( aOldLineColor ); in DECLARE_LIST()
117 rDev.SetFillColor( aOldFillColor ); in DECLARE_LIST()
155 void BrowserColumn::Draw( BrowseBox& rBox, OutputDevice& rDev, const Point& rPos, sal_Bool bCurs ) in Draw() argument
162 0 != (BROWSER_COLUMN_TITLEABBREVATION&_nFlags) ).Draw( rDev ); in Draw()
163 Color aOldLineColor = rDev.GetLineColor(); in Draw()
164 rDev.SetLineColor( Color( COL_BLACK ) ); in Draw()
165 rDev.DrawLine( in Draw()
168 rDev.DrawLine( in Draw()
171 rDev.SetLineColor( aOldLineColor ); in Draw()
173 rBox.DoPaintField( rDev, in Draw()
185 rBox.DoPaintField( rDev, in Draw()