| 683 | } |
| 684 | |
| 685 | static void ShiftUpDRect(Rect& rc, int amount) { |
| 686 | // n.b. Don't shift if covering a total area of zero |
| 687 | if (rc.top == rc.bottom || rc.left == rc.right) return; |
| 688 | rc.top -= amount; |
| 689 | rc.bottom -= amount; |
| 690 | } |
| 691 | |
| 692 | void MessageItem::ShiftUp(int amount) |
| 693 | { |