Lines Matching refs:cTolerance
268 const long cTolerance = 5; in SelectValueSetItem() local
270 if( abs(mnPageLeftMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
271 abs(mnPageRightMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
272 abs(mnPageTopMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
273 abs(mnPageBottomMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
278 else if( abs(mnPageLeftMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
279 abs(mnPageRightMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
280 abs(mnPageTopMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
281 abs(mnPageBottomMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
286 else if( abs(mnPageLeftMargin - SWPAGE_WIDE_VALUE2) <= cTolerance && in SelectValueSetItem()
287 abs(mnPageRightMargin - SWPAGE_WIDE_VALUE2) <= cTolerance && in SelectValueSetItem()
288 abs(mnPageTopMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
289 abs(mnPageBottomMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
294 else if( abs(mnPageLeftMargin - SWPAGE_WIDE_VALUE3) <= cTolerance && in SelectValueSetItem()
295 abs(mnPageRightMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
296 abs(mnPageTopMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
297 abs(mnPageBottomMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()