| 190 | } |
| 191 | |
| 192 | void Ruler::SetFlip(bool flip) |
| 193 | { |
| 194 | // If this is true, the orientation of the tick marks |
| 195 | // is reversed from the default; eg. above the line |
| 196 | // instead of below |
| 197 | |
| 198 | if (mRulerStruct.mFlip != flip) { |
| 199 | mRulerStruct.mFlip = flip; |
| 200 | |
| 201 | Invalidate(); |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | void Ruler::SetMinor(bool value) |
| 206 | { |
no outgoing calls
no test coverage detected