• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ギコナビ


Commit MetaInfo

修訂a5e05edfc56b981166e254429a88ebb7377086e2 (tree)
時間2006-08-27 19:18:37
作者h677 <h677>
Commiterh677

Log Message

プレビューの位置の計算で余分な計算をしていたのを修正

Change Summary

差異

--- a/Preview.pas
+++ b/Preview.pas
@@ -152,21 +152,21 @@ begin
152152 // o‚µˆÊ’u‚É‚æ‚é•â³
153153 case GikoSys.Setting.PopupPosition of
154154 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);
156156 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));
158158 gppRightBottom: OffsetRect(Result,
159- Point.x - (Result.Right - Result.Left) - 15, Point.y + 15);
159+ Point.x - WindowWidth - 15, Point.y + 15);
160160 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);
162162 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));
164164 gppBottom: OffsetRect(Result,
165- Point.x - ((Result.Right - Result.Left) div 2), Point.y + 15);
165+ Point.x - (WindowWidth div 2), Point.y + 15);
166166 gppLeftTop: OffsetRect(Result,
167- Point.x + 15, Point.y - (Result.Bottom - Result.Top) - 15);
167+ Point.x + 15, Point.y - WindowHeight - 15);
168168 gppLeft: OffsetRect(Result,
169- Point.x + 15, Point.y - ((Result.Bottom - Result.Top) div 2));
169+ Point.x + 15, Point.y - (WindowHeight div 2));
170170 gppLeftBottom: OffsetRect(Result, Point.x + 15, Point.y + 15); //ƒMƒRƒiƒrƒXƒŒ ƒp[ƒg‚P‚Ì453Ž‚ÉŠ´ŽÓ
171171 end;
172172