Lines Matching refs:cTolerance
270 const long cTolerance = 5; in SelectValueSetItem() local
272 if( abs(mnPageLeftMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
273 abs(mnPageRightMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
274 abs(mnPageTopMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
275 abs(mnPageBottomMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
280 else if( abs(mnPageLeftMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
281 abs(mnPageRightMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
282 abs(mnPageTopMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
283 abs(mnPageBottomMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
288 else if( abs(mnPageLeftMargin - SWPAGE_WIDE_VALUE2) <= cTolerance && in SelectValueSetItem()
289 abs(mnPageRightMargin - SWPAGE_WIDE_VALUE2) <= cTolerance && in SelectValueSetItem()
290 abs(mnPageTopMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
291 abs(mnPageBottomMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
296 else if( abs(mnPageLeftMargin - SWPAGE_WIDE_VALUE3) <= cTolerance && in SelectValueSetItem()
297 abs(mnPageRightMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
298 abs(mnPageTopMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
299 abs(mnPageBottomMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()