|
|
| version 1.2, 2004/08/18 15:42:32 | version 1.3, 2008/06/02 20:07:30 |
|---|---|
| Line 43 void rect_enumout(const RECT_T *tag, con | Line 43 void rect_enumout(const RECT_T *tag, con |
| RECT_T rect; | RECT_T rect; |
| if ((tag != NULL) && (base != NULL) && (outcb != NULL)) { | if ((tag != NULL) && (base != NULL) && (outcb != NULL)) { |
| // base.top -> tag.top | /* base.top -> tag.top */ |
| rect.top = base->top; | rect.top = base->top; |
| rect.bottom = min(tag->top, base->bottom); | rect.bottom = min(tag->top, base->bottom); |
| if (rect.top < rect.bottom) { | if (rect.top < rect.bottom) { |
| Line 53 void rect_enumout(const RECT_T *tag, con | Line 53 void rect_enumout(const RECT_T *tag, con |
| rect.top = rect.bottom; | rect.top = rect.bottom; |
| } | } |
| // -> tag.bottom | /* -> tag.bottom */ |
| rect.bottom = min(tag->bottom, base->bottom); | rect.bottom = min(tag->bottom, base->bottom); |
| if (rect.top < rect.bottom) { | if (rect.top < rect.bottom) { |
| rect.left = base->left; | rect.left = base->left; |
| Line 69 void rect_enumout(const RECT_T *tag, con | Line 69 void rect_enumout(const RECT_T *tag, con |
| rect.top = rect.bottom; | rect.top = rect.bottom; |
| } | } |
| // -> base.bottom | /* -> base.bottom */ |
| rect.bottom = base->bottom; | rect.bottom = base->bottom; |
| if (rect.top < rect.bottom) { | if (rect.top < rect.bottom) { |
| rect.left = base->left; | rect.left = base->left; |