Changeset 642
- Timestamp:
- Nov 23, 2024, 8:50:21 PM (3 hours ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r624 r642 5583 5583 MousePos := ScreenToClient(Mouse.CursorPos); 5584 5584 if MousePos.Y < Height - PanelHeight then 5585 if MousePos.X <= ScrollWidththen5585 if (MousePos.X >= 0) and (MousePos.X <= ScrollWidth) then 5586 5586 dx := -ScrollSpeed // scroll left 5587 else if MousePos.X >= Width - ScrollWidth - 1then5587 else if (MousePos.X <= Width) and (MousePos.X >= Width - ScrollWidth - 1) then 5588 5588 dx := ScrollSpeed; // scroll right 5589 if MousePos.Y <= ScrollWidththen5589 if (MousePos.Y >= 0) and (MousePos.Y <= ScrollWidth) then 5590 5590 dy := -ScrollSpeed // scroll up 5591 else if (MousePos.Y >= Height - ScrollWidth - 1) and5591 else if (MousePos.Y <= Height) and (MousePos.Y >= Height - ScrollWidth - 1) and 5592 5592 (MousePos.X >= TerrainBtn.Left + TerrainBtn.Width) and 5593 5593 (MousePos.X < xRightPanel + 10 - 8) then -
trunk/Packages/DpiControls/Dpi.Controls.pas
r620 r642 212 212 property OnMouseUp: TMouseEvent read FOnMouseUp write FOnMouseUp; 213 213 property OnMouseWheel: TMouseWheelEvent read FOnMouseWheel write FOnMouseWheel; 214 property OnMouseEnter: TNotifyEvent read FOnMouseEnter write FOnMouseEnter; 215 property OnMouseLeave: TNotifyEvent read FOnMouseLeave write FOnMouseLeave; 214 216 end; 215 217
Note:
See TracChangeset
for help on using the changeset viewer.