Lines Matching refs:pWin

174 void SplitWindow::ImplDrawBorder( SplitWindow* pWin )  in ImplDrawBorder()  argument
176 const StyleSettings& rStyleSettings = pWin->GetSettings().GetStyleSettings(); in ImplDrawBorder()
177 long nDX = pWin->mnDX; in ImplDrawBorder()
178 long nDY = pWin->mnDY; in ImplDrawBorder()
180 if ( pWin->mbNoAlign ) in ImplDrawBorder()
182 DecorationView aDecoView( pWin ); in ImplDrawBorder()
224 if ( pWin->meAlign == WINDOWALIGN_BOTTOM ) in ImplDrawBorder()
226 pWin->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawBorder()
227 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder()
228 pWin->DrawLine( Point( 0, 0 ), Point( 0, nDY-1 ) ); in ImplDrawBorder()
229 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-3 ) ); in ImplDrawBorder()
231 pWin->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawBorder()
232 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
233 pWin->DrawLine( Point( 1, 1 ), Point( 1, nDY-3 ) ); in ImplDrawBorder()
234 pWin->DrawLine( Point( nDX-1, 0 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
236 else if ( pWin->meAlign == WINDOWALIGN_TOP ) in ImplDrawBorder()
238 pWin->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawBorder()
239 pWin->DrawLine( Point( 0, 0 ), Point( nDX-1, 0 ) ); in ImplDrawBorder()
240 pWin->DrawLine( Point( 0, 0 ), Point( 0, nDY-1 ) ); in ImplDrawBorder()
241 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-1 ) ); in ImplDrawBorder()
243 pWin->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawBorder()
244 pWin->DrawLine( Point( 1, 1 ), Point( nDX-3, 1 ) ); in ImplDrawBorder()
245 pWin->DrawLine( Point( 1, 1 ), Point( 1, nDY-1 ) ); in ImplDrawBorder()
246 pWin->DrawLine( Point( nDX-1, 1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
248 else if ( pWin->meAlign == WINDOWALIGN_LEFT ) in ImplDrawBorder()
250 pWin->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawBorder()
251 pWin->DrawLine( Point( 0, 0 ), Point( nDX-1, 0 ) ); in ImplDrawBorder()
252 pWin->DrawLine( Point( 0, 0 ), Point( 0, nDY-1 ) ); in ImplDrawBorder()
253 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-1, nDY-2 ) ); in ImplDrawBorder()
255 pWin->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawBorder()
256 pWin->DrawLine( Point( 1, 1 ), Point( nDX-1, 1 ) ); in ImplDrawBorder()
257 pWin->DrawLine( Point( 1, 1 ), Point( 1, nDY-3 ) ); in ImplDrawBorder()
258 pWin->DrawLine( Point( 1, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
262 pWin->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawBorder()
263 pWin->DrawLine( Point( 0, 0 ), Point( nDX-2, 0 ) ); in ImplDrawBorder()
264 pWin->DrawLine( Point( nDX-2, 0 ), Point( nDX-2, nDY-3 ) ); in ImplDrawBorder()
265 pWin->DrawLine( Point( 0, nDY-2 ), Point( nDX-2, nDY-2 ) ); in ImplDrawBorder()
267 pWin->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawBorder()
268 pWin->DrawLine( Point( 0, 1 ), Point( nDX-3, 1 ) ); in ImplDrawBorder()
269 pWin->DrawLine( Point( nDX-1, 0 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
270 pWin->DrawLine( Point( 0, nDY-1 ), Point( nDX-1, nDY-1 ) ); in ImplDrawBorder()
277 void SplitWindow::ImplDrawBorderLine( SplitWindow* pWin ) in ImplDrawBorderLine() argument
279 if ( pWin->mbFadeOut || pWin->mbAutoHide ) in ImplDrawBorderLine()
281 const StyleSettings& rStyleSettings = pWin->GetSettings().GetStyleSettings(); in ImplDrawBorderLine()
282 long nDX = pWin->mnDX; in ImplDrawBorderLine()
283 long nDY = pWin->mnDY; in ImplDrawBorderLine()
285 if ( pWin->meAlign == WINDOWALIGN_LEFT ) in ImplDrawBorderLine()
287 pWin->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawBorderLine()
288pWin->DrawLine( Point( nDX-SPLITWIN_SPLITSIZEEXLN-1, 0 ), Point( nDX-SPLITWIN_SPLITSIZEEXLN-1, nDY… in ImplDrawBorderLine()
289 pWin->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawBorderLine()
290pWin->DrawLine( Point( nDX-SPLITWIN_SPLITSIZEEXLN, 1 ), Point( nDX-SPLITWIN_SPLITSIZEEXLN, nDY-4 )… in ImplDrawBorderLine()
292 else if ( pWin->meAlign == WINDOWALIGN_RIGHT ) in ImplDrawBorderLine()
294 pWin->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawBorderLine()
295 pWin->DrawLine( Point( SPLITWIN_SPLITSIZEEXLN-1, 0 ), Point( SPLITWIN_SPLITSIZEEXLN-1, nDY-3 ) ); in ImplDrawBorderLine()
296 pWin->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawBorderLine()
297 pWin->DrawLine( Point( SPLITWIN_SPLITSIZEEXLN, 1 ), Point( SPLITWIN_SPLITSIZEEXLN, nDY-4 ) ); in ImplDrawBorderLine()
299 else if ( pWin->meAlign == WINDOWALIGN_TOP ) in ImplDrawBorderLine()
301 pWin->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawBorderLine()
302pWin->DrawLine( Point( 0, nDY-SPLITWIN_SPLITSIZEEXLN-1 ), Point( nDX-3, nDY-SPLITWIN_SPLITSIZEEXLN… in ImplDrawBorderLine()
303 pWin->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawBorderLine()
304pWin->DrawLine( Point( 1, nDY-SPLITWIN_SPLITSIZEEXLN ), Point( nDX-4, nDY-SPLITWIN_SPLITSIZEEXLN )… in ImplDrawBorderLine()
306 else if ( pWin->meAlign == WINDOWALIGN_BOTTOM ) in ImplDrawBorderLine()
308 pWin->SetLineColor( rStyleSettings.GetShadowColor() ); in ImplDrawBorderLine()
309 pWin->DrawLine( Point( 0, SPLITWIN_SPLITSIZEEXLN-1 ), Point( nDX-3, SPLITWIN_SPLITSIZEEXLN-1 ) ); in ImplDrawBorderLine()
310 pWin->SetLineColor( rStyleSettings.GetLightColor() ); in ImplDrawBorderLine()
311 pWin->DrawLine( Point( 1, SPLITWIN_SPLITSIZEEXLN ), Point( nDX-4, SPLITWIN_SPLITSIZEEXLN ) ); in ImplDrawBorderLine()