• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/fl/

Lines Matching refs:inRect

941 void cbRowDragPlugin::DrawTrianUp( wxRect& inRect, wxDC& dc )
943 int xOfs = (inRect.width - ICON_TRIAN_WIDTH)/2;
951 points[0].x = inRect.x + xOfs;
952 points[0].y = inRect.y + inRect.height - 1;
953 points[1].x = inRect.x + xOfs + ICON_TRIAN_WIDTH/2 + 1;
954 points[1].y = inRect.y + inRect.height - 2 - ICON_TRIAN_HEIGHT;
955 points[2].x = inRect.x + xOfs + ICON_TRIAN_WIDTH+1;
956 points[2].y = inRect.y + inRect.height - 1;
968 void cbRowDragPlugin::DrawTrianDown( wxRect& inRect, wxDC& dc )
970 int xOfs = (inRect.width - ICON_TRIAN_WIDTH)/2;
978 points[0].x = inRect.x + xOfs;
979 points[0].y = inRect.y;
980 points[1].x = inRect.x + xOfs + ICON_TRIAN_WIDTH;
981 points[1].y = inRect.y;
982 points[2].x = inRect.x + xOfs + ICON_TRIAN_WIDTH/2;
983 points[2].y = inRect.y + ICON_TRIAN_HEIGHT;
995 void cbRowDragPlugin::DrawTrianRight( wxRect& inRect, wxDC& dc )
997 int yOfs = (inRect.height - ICON_TRIAN_WIDTH)/2;
1005 points[0].x = inRect.x;
1006 points[0].y = inRect.y + yOfs + ICON_TRIAN_WIDTH;
1007 points[1].x = inRect.x;
1008 points[1].y = inRect.y + yOfs;
1009 points[2].x = inRect.x + ICON_TRIAN_HEIGHT;
1010 points[2].y = inRect.y + yOfs + ICON_TRIAN_WIDTH/2;
1022 void cbRowDragPlugin::Draw3DPattern( wxRect& inRect, wxDC& dc )
1024 for( int y = inRect.y; y < inRect.y + inRect.height; y+=3 )
1026 for( int x = inRect.x; x < inRect.x + inRect.width; x+=3 )
1047 void cbRowDragPlugin::DrawOrtoRomb( wxRect& inRect, wxDC& dc, const wxBrush& bkBrush )
1054 if ( inRect.width > inRect.height )
1057 points[0].x = inRect.x;
1058 points[0].y = inRect.y + inRect.height;
1059 points[1].x = inRect.x;
1060 points[1].y = inRect.y;
1061 points[2].x = inRect.x + inRect.width;
1062 points[2].y = inRect.y;
1063 points[3].x = inRect.x + inRect.width - COLLAPSED_ICON_HEIGHT;
1064 points[3].y = inRect.y + inRect.height;
1082 points[0].x = inRect.x + inRect.width;
1083 points[0].y = inRect.y + inRect.height;
1084 points[1].x = inRect.x;
1085 points[1].y = inRect.y + inRect.height;
1086 points[2].x = inRect.x;
1087 points[2].y = inRect.y;
1088 points[3].x = inRect.x + inRect.width;
1089 points[3].y = inRect.y + COLLAPSED_ICON_HEIGHT;
1108 void cbRowDragPlugin::DrawRomb( wxRect& inRect, wxDC& dc, const wxBrush& bkBrush )
1115 if ( inRect.width > inRect.height )
1118 points[0].x = inRect.x;
1119 points[0].y = inRect.y + inRect.height;
1120 points[1].x = inRect.x + COLLAPSED_ICON_HEIGHT;
1121 points[1].y = inRect.y;
1122 points[2].x = inRect.x + inRect.width;
1123 points[2].y = inRect.y;
1124 points[3].x = inRect.x + inRect.width - COLLAPSED_ICON_HEIGHT;
1125 points[3].y = inRect.y + inRect.height;
1144 points[0].x = inRect.x + inRect.width;
1145 points[0].y = inRect.y + inRect.height;
1146 points[1].x = inRect.x;
1147 points[1].y = inRect.y + inRect.height - COLLAPSED_ICON_HEIGHT;
1148 points[2].x = inRect.x;
1149 points[2].y = inRect.y;
1150 points[3].x = inRect.x + inRect.width;
1151 points[3].y = inRect.y + COLLAPSED_ICON_HEIGHT;
1169 void cbRowDragPlugin::DrawRectShade( wxRect& inRect, wxDC& dc,
1174 dc.DrawLine( inRect.x - level,
1175 inRect.y - level,
1176 inRect.x + inRect.width - 1 + level,
1177 inRect.y - level);
1178 dc.DrawLine( inRect.x - level, inRect.y - level,
1179 inRect.x - level, inRect.y + inRect.height - 1 + level );
1183 dc.DrawLine( inRect.x - level,
1184 inRect.y + inRect.height - 1 + level,
1185 inRect.x + inRect.width + level,
1186 inRect.y + inRect.height - 1 + level);
1187 dc.DrawLine( inRect.x + inRect.width - 1 + level,
1188 inRect.y - level,
1189 inRect.x + inRect.width - 1 + level,
1190 inRect.y + inRect.height + level);
1195 void cbRowDragPlugin::Draw3DRect( wxRect& inRect, wxDC& dc, const wxBrush& bkBrush )
1200 dc.DrawRectangle( inRect.x, inRect.y,
1201 inRect.width, inRect.height );
1203 DrawRectShade( inRect, dc, 0, mpLayout->mLightPen, mpLayout->mDarkPen );