Skip to content

Refactor touch points and cut code in FormTramLine#1158

Closed
J005t67 wants to merge 32 commits intoAgOpenGPS-Official:developfrom
J005t67:refactor/formtramline-touchpoints
Closed

Refactor touch points and cut code in FormTramLine#1158
J005t67 wants to merge 32 commits intoAgOpenGPS-Official:developfrom
J005t67:refactor/formtramline-touchpoints

Conversation

@J005t67
Copy link
Copy Markdown
Contributor

@J005t67 J005t67 commented Jan 10, 2026

Another small refactoring step to prepare the introduction of TramLinesBuilder.

J005t67 and others added 30 commits January 1, 2026 20:01
…ort-refresh

* Refresh viewport immediately after zoom, pan, or reset
* Refresh viewport immediately after MouseDown eventhas been processed
…it reusable. Let FormGrid show old and new FieldGrid
…-modes

Introduce enums TramDisplayMode and TramGenerateMode
Currently translated at 100.0% (381 of 381 strings)

Translation: AgOpenGPS/AgOpenGPS
Translate-URL: https://hosted.weblate.org/projects/agopengps/agopengps/cs/

Translated using Weblate (Czech)

Currently translated at 100.0% (381 of 381 strings)

Translation: AgOpenGPS/AgOpenGPS
Translate-URL: https://hosted.weblate.org/projects/agopengps/agopengps/cs/
Currently translated at 99.2% (378 of 381 strings)

Translation: AgOpenGPS/AgOpenGPS
Translate-URL: https://hosted.weblate.org/projects/agopengps/agopengps/hu/
…ngps-agopengps

Translations update from Hosted Weblate
…dgrid-fieldgridvisual

Move part of WorldGrid code to FieldGrid and FieldGridVisual.
Added Open Collective username for funding.
…ic-public-public-static

Perferred order is 'public' before 'static'
…arrays

A Vertex2Array only worked once. Some code was misplaced in constructor.
…aspect ratio of viewport. (AgOpenGPS-Official#1146)

* Viewport must not strech content, but must display area that matches aspect ratio of viewport

* Review comment: rename BoundingBox  method Resized() to Scaled() and add test case

* Own review comment: do not recalculate projection for each frame.

* Review comment: viewport sizes are in integers (whole pixels)

* Review comment: add a bit of margin to the viewport content

* Review comment: remove XyDeltaInt

* Review comments: tidy public vs protected, property vs field
* Rename VertexArrayBase to VertexBuffer

* Move Vertex2Array code in to VertexBuffer

* VertexBuffer must specify the layout of it contents, so GLW.DrawArrays() does not need to make any assumptions about it.

* Review commet: use using
…ormancetool

Refactor: first version of PerformanceTool
Currently translated at 100.0% (381 of 381 strings)

Translation: AgOpenGPS/AgOpenGPS
Translate-URL: https://hosted.weblate.org/projects/agopengps/agopengps/lv/

Translated using Weblate (Latvian)

Currently translated at 100.0% (381 of 381 strings)

Translation: AgOpenGPS/AgOpenGPS
Translate-URL: https://hosted.weblate.org/projects/agopengps/agopengps/lv/
…ngps-agopengps

Translations update from Hosted Weblate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants