ギコナビ
Revision | 2c1e5d1ecce655ba43cbc8a79cc0dbb78405bc88 (tree) |
---|---|
Time | 2007-01-22 02:43:52 |
Author | cvs2git <cvs2git> |
Commiter | cvs2git |
This commit was manufactured by cvs2svn to create tag 'v1_54_0_687'.
@@ -1757,7 +1757,6 @@ var | ||
1757 | 1757 | Action: TAction; |
1758 | 1758 | begin |
1759 | 1759 | s := MouseGesture.GetGestureStr; |
1760 | - MouseGesture.Clear; | |
1761 | 1760 | Action := GikoSys.Setting.Gestures.GetGestureAction(s); |
1762 | 1761 | if Action <> nil then |
1763 | 1762 | Action.Execute; |
@@ -25,6 +25,7 @@ type | ||
25 | 25 | function CheckAction(Message: Integer; x, y: Integer): Boolean; |
26 | 26 | procedure AddAction(sx, sy: Integer); |
27 | 27 | function AddGesture(Item: string): Integer; |
28 | + procedure ClearGesture; | |
28 | 29 | function Get(Index: integer): string; |
29 | 30 | procedure Put(Index: integer; Item: string); |
30 | 31 | public |
@@ -36,7 +37,6 @@ type | ||
36 | 37 | property GestureCount: Integer read GetGestureCount; |
37 | 38 | property Margin: Integer read FMargin write FMargin; |
38 | 39 | function GetGestureStr: string; |
39 | - procedure Clear; | |
40 | 40 | property OnGestureStart: TNotifyEvent read FOnGestureStart write FOnGestureStart; |
41 | 41 | property OnGestureMove: TNotifyEvent read FOnGestureMove write FOnGestureMove; |
42 | 42 | property OnGestureEnd: TNotifyEvent read FOnGestureEnd write FOnGestureEnd; |
@@ -65,7 +65,7 @@ end; | ||
65 | 65 | destructor TMouseGesture.Destroy; |
66 | 66 | begin |
67 | 67 | UnHook; |
68 | - Clear; | |
68 | + ClearGesture; | |
69 | 69 | FGestureItemList.Free; |
70 | 70 | inherited; |
71 | 71 | end; |
@@ -161,11 +161,9 @@ begin | ||
161 | 161 | FBeginGesture := False; |
162 | 162 | ReleaseCapture; |
163 | 163 | if FGestureItemList.Count <> 0 then begin |
164 | - if Assigned(FOnGestureEnd) then begin | |
164 | + if Assigned(FOnGestureEnd) then | |
165 | 165 | FOnGestureEnd(Self); |
166 | - end else begin | |
167 | - Clear; | |
168 | - end; | |
166 | + ClearGesture; | |
169 | 167 | end else begin |
170 | 168 | FCancelMode := True; |
171 | 169 | //WFX`[¶áÈ©Á½êA}EXDOWN,UPðG~ [g |
@@ -241,7 +239,7 @@ begin | ||
241 | 239 | end; |
242 | 240 | |
243 | 241 | //WFX`[ðNA·é |
244 | -procedure TMouseGesture.Clear; | |
242 | +procedure TMouseGesture.ClearGesture; | |
245 | 243 | begin |
246 | 244 | FGestureItemList.Clear; |
247 | 245 | end; |
@@ -1886,13 +1886,7 @@ begin | ||
1886 | 1886 | FActiveContent := nil; |
1887 | 1887 | Exit; |
1888 | 1888 | end; |
1889 | - // OñƯ¶êI¹ | |
1890 | - if (StatusBar.Panels[1].Text = Text2) then begin | |
1891 | - {$IFDEF DEBUG} | |
1892 | - Writeln('Status Text is not changed!'); | |
1893 | - {$ENDIF} | |
1894 | - Exit; | |
1895 | - end; | |
1889 | + | |
1896 | 1890 | StatusBar.Panels[1].Text := Text2; |
1897 | 1891 | |
1898 | 1892 | if FHint <> nil then begin |
@@ -1906,8 +1900,6 @@ begin | ||
1906 | 1900 | if not GikoForm.Active then |
1907 | 1901 | Exit; |
1908 | 1902 | |
1909 | - | |
1910 | - | |
1911 | 1903 | //file:///C:/Borland/Projects/gikoNavi/test/read.cgi/qa/990576336/10 |
1912 | 1904 | //file:///C:/Borland/Projects/gikoNavi/test/read.cgi/qa/990576336/10-15 |
1913 | 1905 |
@@ -6790,7 +6782,6 @@ var | ||
6790 | 6782 | Action: TAction; |
6791 | 6783 | begin |
6792 | 6784 | s := MouseGesture.GetGestureStr; |
6793 | - MouseGesture.Clear; | |
6794 | 6785 | Action := GikoSys.Setting.Gestures.GetGestureAction(s); |
6795 | 6786 | if Action <> nil then |
6796 | 6787 | Action.Execute; |
@@ -358,7 +358,6 @@ end; | ||
358 | 358 | procedure TKeySettingForm.OnGestureEnd(Sender: TObject); |
359 | 359 | begin |
360 | 360 | GestureEdit.Text := MouseGesture.GetGestureStr; |
361 | - MouseGesture.Clear; | |
362 | 361 | end; |
363 | 362 | |
364 | 363 | procedure TKeySettingForm.GestureCheckBoxClick(Sender: TObject); |
@@ -107,7 +107,7 @@ LICENSE | ||
107 | 107 | ------------------------------ |
108 | 108 | ð |
109 | 109 | ------------------------------ |
110 | -2007/01/28 | |
110 | +2006/12/XX | |
111 | 111 | Version ÊÞÀ54 |
112 | 112 | @XbhàÅÌNÅÚ®µ½Æ«ÌððHêé@\ðÇÁ |
113 | 113 | @^XNgCÉi[·é@\ðÇÁiIvVÅŬ»àj |