OSDN Git Service

画像プレビューのポップアップの方向の左右が設定と逆になる不具合の修正
authorh677 <h677>
Sun, 19 Aug 2007 09:29:32 +0000 (09:29 +0000)
committerh677 <h677>
Sun, 19 Aug 2007 09:29:32 +0000 (09:29 +0000)
Preview.pas

index b3b4553..193aa1c 100644 (file)
@@ -148,14 +148,14 @@ begin
        end;
 
        Result := Rect(0, 0, WindowWidth, WindowHeight);
-
+    // bata55\88È\91O\82Í\8d\89E\82ª\8aÔ\88á\82Á\82Ä\82½
     // \8fo\82µ\88Ê\92u\82É\82æ\82é\95â\90³
        case GikoSys.Setting.PopupPosition of
-               gppRightTop:            OffsetRect(Result,
+               gppLeftTop:             OffsetRect(Result,
             Point.x - WindowWidth - 15, Point.y - WindowHeight -       15);
-               gppRight:                       OffsetRect(Result,
+               gppLeft:                        OffsetRect(Result,
             Point.x - WindowWidth - 15, Point.y - (WindowHeight div 2));
-               gppRightBottom: OffsetRect(Result,
+               gppLeftBottom: OffsetRect(Result,
             Point.x - WindowWidth - 15, Point.y + 15);
                gppTop:                         OffsetRect(Result,
             Point.x - (WindowWidth div 2), Point.y - WindowHeight - 15);
@@ -163,11 +163,11 @@ begin
             Point.x - (WindowWidth div 2), Point.y - (WindowHeight div 2));
                gppBottom:                      OffsetRect(Result,
             Point.x - (WindowWidth div 2), Point.y + 15);
-               gppLeftTop:                     OffsetRect(Result,
+               gppRightTop:                    OffsetRect(Result,
             Point.x + 15, Point.y - WindowHeight -     15);
-               gppLeft:                        OffsetRect(Result,
+               gppRight:                       OffsetRect(Result,
             Point.x + 15, Point.y - (WindowHeight div 2));
-               gppLeftBottom:  OffsetRect(Result, Point.x + 15, Point.y + 15);         //\83M\83R\83i\83r\83X\83\8c \83p\81[\83g\82P\82Ì453\8e\81\82É\8a´\8eÓ
+               gppRightBottom:         OffsetRect(Result, Point.x + 15, Point.y + 15);         //\83M\83R\83i\83r\83X\83\8c \83p\81[\83g\82P\82Ì453\8e\81\82É\8a´\8eÓ
        end;
 
 end;