Commit Graph

9727 Commits

Author SHA1 Message Date
wp_xxyyzz
511755e659 Industrial/TLEDNumber: Fix HiDPI drawing artefacts. Fix BorderStyle. Fix redraw when Caption is changed. (https://forum.lazarus.freepascal.org/index.php/topic,70818.msg552172.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9727 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-15 22:39:39 +00:00
wp_xxyyzz
822fd27928 LazMapViewer: Fix non-cyclic map scale calculation when left side of map is inside viewport. Issue #39118.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9726 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-15 15:02:21 +00:00
wp_xxyyzz
d5e1ebd142 LazMapViewer: Advance version number to 1.0.1 after OPM release of v1.0.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9725 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-12 10:00:15 +00:00
wp_xxyyzz
12f76284d6 LazMapViewer: Fix issues when entering map point date in MapViewerEditForm.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9724 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-11 18:19:21 +00:00
inoussa
d9be67cf8e Semi colon faking IF statement !
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9723 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-11 16:50:47 +00:00
wp_xxyyzz
689d323d5c LazMapViewer: Preparation for new OPM version 1.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9722 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-11 14:17:21 +00:00
wp_xxyyzz
5dc6af3267 LazMapViewer: Minor improvements and clean-up. Rename TMapView.POIOpacity to .POITextBgOpacity.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9721 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-05 22:45:14 +00:00
wp_xxyyzz
6d7bfb694a LazMapViewer: Update project group.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9720 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-02 23:05:12 +00:00
wp_xxyyzz
706cde3920 LazMapViewer: Move spreadmarker plugin into markers folder.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9719 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-02 23:04:49 +00:00
wp_xxyyzz
72e6a3e6e1 LazMapViewer: Fix switching to hand-point cursor even when mouse is not on a marker. Issue #39117, patch by Kirill Filippenok.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9718 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-01 15:57:54 +00:00
wp_xxyyzz
87fec238ec THtmlPort: Add file IMPORTANT.txt stating that the repository is not maintained and replaced by HTMLViewer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9717 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-01 12:12:18 +00:00
wp_xxyyzz
2e9ee399fc LazMapViewer: Improved point detection in mvPluginCommon's FindNearestMarker. Issue #39101.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9716 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-04-01 09:30:54 +00:00
wp_xxyyzz
24b6e1099d LazMapViewer: Add options to TMarkerEditorPlugin to enable/disable adding/dragging/selecting points.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9715 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-31 21:54:53 +00:00
wp_xxyyzz
5eaca89b50 LazMapViewer: Improved handling of system colors by RGBGraphicsDrawingEngine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9714 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-31 17:52:34 +00:00
wp_xxyyzz
7f043291a1 LazMapViewer: Save DrawingEngine state in stack.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9713 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-31 11:46:38 +00:00
wp_xxyyzz
310132d9f5 LazMapViewer: Add methods to store/restore the state of the drawing engine (pen, brush, font, opacity).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9712 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-31 11:09:56 +00:00
wp_xxyyzz
7e03ffb4f8 LazMapViewer: cosmetics
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9711 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-30 22:12:54 +00:00
wp_xxyyzz
ff2c7c5e7f LazMapViewer: Fix positioning of rotated text in BGRABitmap drawer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9710 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-30 22:07:42 +00:00
wp_xxyyzz
3a4e228b66 LazMapViewer: Improved output of rotated text. DrawingEngine.TextExtent now can return both unrotated and rotated text extents.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9709 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-30 22:01:32 +00:00
wp_xxyyzz
c5dd3f0862 LazMapViewer: Fix compilation in non-Windows OS. Clean-up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9708 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-27 11:11:33 +00:00
wp_xxyyzz
3c65849b4b LazMapViewer: DrawingEngines support FontOrientation (issue #39116). New TMapView property POIOpacity.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9707 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-27 00:06:14 +00:00
wp_xxyyzz
e92d81a180 LazMapViewer: Fix TMapView.Font streaming.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9706 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-26 09:40:43 +00:00
wp_xxyyzz
5932f46825 LazMapViewer: Changed cache folder structure to provider/zoom/x/y. Issue #39087
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9705 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-25 12:49:02 +00:00
wp_xxyyzz
934c2bd1a0 LazMapViewer: Fix title of TMarkerEditorPlugin in plugin editor list.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9704 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-25 10:34:10 +00:00
wp_xxyyzz
3ca1ec96db LazMapViewer: Toggle selection of a point in TMarkerEditorPlugin by CTRL + LeftClick
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9703 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-25 10:10:46 +00:00
wp_xxyyzz
d9536cca8a LazMapViewer: Introduce in TMarkerEditorPlugin FState as statevariable to replace individual flag variables. Unselect only after confirmation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9702 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-25 09:51:14 +00:00
wp_xxyyzz
0c94a4cd90 LazMapViewer: Replace TMarkerEditorPlugin properties ClickMode and ExtendSelection by key combinations in Shift* properties. Update demp.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9701 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-24 19:17:34 +00:00
wp_xxyyzz
7677def6cf LazMapViewer: Make TMapView respond to keyboard events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9700 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-24 17:42:51 +00:00
wp_xxyyzz
f7d9f1cbd8 LazMapviewer: Use intermediate class TCustomMarkerClickPlugin to have more control on published properties. Rename some identifiers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9699 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-24 12:22:10 +00:00
wp_xxyyzz
8441d2546f LazMapViewer: Add rubberband selection to TMarkerEditorPlugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-23 14:06:17 +00:00
wp_xxyyzz
6ef401c2e3 LazMapViewer: Add mini documentation to the header of some plugin files. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9697 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-22 18:18:32 +00:00
wp_xxyyzz
34b247e060 LazMapViewer: Rename MarkerSelectAndDrag_Demo project to MarkerEditor_Demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9696 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-22 12:41:22 +00:00
wp_xxyyzz
e02d3d772e LazMapViewer: Rename TMarkerSelectAndDragPlugin to TMarkerEditorPlugin. New option to add markers by the plugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9695 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-22 12:33:27 +00:00
wp_xxyyzz
3d757daf7d LazMapViewer: Add OnStartDrag and OnEndDrag events to TMarkerSelectAndDragPlugin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9694 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-21 14:03:12 +00:00
wp_xxyyzz
c3c6ce1223 LazMapViewer: refactor finding of point groups in TMarkerSelectAndDragPlugin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9693 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-21 13:27:50 +00:00
wp_xxyyzz
980bc6f436 LazMapViewer: Add all points of clicked shape (track or area) to selection of TMarkerSelectAndDragPlugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9692 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-20 23:43:11 +00:00
wp_xxyyzz
bba6b4a7e6 LazMapViewer: Add methods to convert selection of TMarkerSelectAndDragPlugin to GPS track/area.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9691 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-20 23:05:26 +00:00
wp_xxyyzz
a036319196 LazMapViewer: Add methods DeleteSelectedPoints, ConvertSelectedPointsToMapArea and ConvertSelectedPointsToMapTrack to TMarkerSelectAndDragPlugin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9690 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-20 19:03:33 +00:00
wp_xxyyzz
56cae39588 LazMapViewer: Add property MultiSelect to TMarkerSelectAndDragPlugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9689 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-19 23:47:32 +00:00
wp_xxyyzz
331e6fd9c2 LazMapViewer: New TMarkerSelectAndDragPlugin. Separate all marker plugins off into unit MvMarkerPlugins.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9688 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-19 23:29:03 +00:00
wp_xxyyzz
0d5bec125e LazMapViewer: Add MarkerDragPlugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9687 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-18 17:44:21 +00:00
wp_xxyyzz
cc5dd7eb5e LazMapViewer: Avoid crash of TMarkerClickPlugin when a click occurs between points. Support cursor change on points. Add OnCanClick event to disallow clicking on specific points.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9686 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-18 11:24:45 +00:00
wp_xxyyzz
a1e91b1045 LazMapViewer: Add MarkerClickPlugin and demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9685 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-17 12:28:13 +00:00
wp_xxyyzz
12914ebd4b LazMapViewer: Add new TMarkerHint plugin.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9684 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-17 11:55:46 +00:00
wp_xxyyzz
8e3611f53a LazMapViewer: Fix default font height in BGRADrawingEngine
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9683 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-14 21:44:51 +00:00
wp_xxyyzz
2eb97a3732 LazMapViewer: Fix drawing of missing tiles. Issue #39111.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9682 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-14 19:20:10 +00:00
wp_xxyyzz
a49a182aa2 LazMapViewer: Minor refactoring of tile drawing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9681 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-14 18:04:04 +00:00
wp_xxyyzz
870c3252cb LazMapViewer: Fix incorrect painting of stretched and missing tiles when Cyclic is true.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9680 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-13 15:50:11 +00:00
wp_xxyyzz
7cf32c3448 LazMapViewer: Support TransparentMap property also in painting of stretched tiles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9679 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 22:44:39 +00:00
wp_xxyyzz
43ee80e563 LazMapViewer: Add property TransparentMap to allow correct background drawing of alpha-channel-transparent tiles. Add OnAfterDrawTile event forgotten in r9666.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9678 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2025-03-12 22:29:23 +00:00