ギコナビ
修訂 | a5e05edfc56b981166e254429a88ebb7377086e2 (tree) |
---|---|
時間 | 2006-08-27 19:18:37 |
作者 | h677 <h677> |
Commiter | h677 |
プレビューの位置の計算で余分な計算をしていたのを修正
@@ -152,21 +152,21 @@ begin | ||
152 | 152 | // oµÊuÉæéâ³ |
153 | 153 | case GikoSys.Setting.PopupPosition of |
154 | 154 | gppRightTop: OffsetRect(Result, |
155 | - Point.x - (Result.Right - Result.Left) - 15, Point.y - (Result.Bottom - Result.Top) - 15); | |
155 | + Point.x - WindowWidth - 15, Point.y - WindowHeight - 15); | |
156 | 156 | gppRight: OffsetRect(Result, |
157 | - Point.x - (Result.Right - Result.Left) - 15, Point.y - ((Result.Bottom - Result.Top) div 2)); | |
157 | + Point.x - WindowWidth - 15, Point.y - (WindowHeight div 2)); | |
158 | 158 | gppRightBottom: OffsetRect(Result, |
159 | - Point.x - (Result.Right - Result.Left) - 15, Point.y + 15); | |
159 | + Point.x - WindowWidth - 15, Point.y + 15); | |
160 | 160 | gppTop: OffsetRect(Result, |
161 | - Point.x - ((Result.Right - Result.Left) div 2), Point.y - (Result.Bottom - Result.Top) - 15); | |
161 | + Point.x - (WindowWidth div 2), Point.y - WindowHeight - 15); | |
162 | 162 | gppCenter: OffsetRect(Result, |
163 | - Point.x - ((Result.Right - Result.Left) div 2), Point.y - ((Result.Bottom - Result.Top) div 2)); | |
163 | + Point.x - (WindowWidth div 2), Point.y - (WindowHeight div 2)); | |
164 | 164 | gppBottom: OffsetRect(Result, |
165 | - Point.x - ((Result.Right - Result.Left) div 2), Point.y + 15); | |
165 | + Point.x - (WindowWidth div 2), Point.y + 15); | |
166 | 166 | gppLeftTop: OffsetRect(Result, |
167 | - Point.x + 15, Point.y - (Result.Bottom - Result.Top) - 15); | |
167 | + Point.x + 15, Point.y - WindowHeight - 15); | |
168 | 168 | gppLeft: OffsetRect(Result, |
169 | - Point.x + 15, Point.y - ((Result.Bottom - Result.Top) div 2)); | |
169 | + Point.x + 15, Point.y - (WindowHeight div 2)); | |
170 | 170 | gppLeftBottom: OffsetRect(Result, Point.x + 15, Point.y + 15); //MRirX p[gPÌ453É´Ó |
171 | 171 | end; |
172 | 172 |