Opened 7 years ago
Closed 7 years ago
#12322 closed enhancement (fixed)
[patch] GeoImageLayer: Add method isCenterView() to ImageViewerDialog
Reported by: | holgermappt | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core image mapping | Version: | |
Keywords: | Cc: |
Description
This patch adds the public method isCenterView()
to class ImageViewerDialog
. It is needed for the PhotoAdjust plugin to disable the center view button only if it is selected.
Please note that the button uses British English (tbCentre) while the state variable uses American English (centerView). Would it make sense to use the same spelling for both? What is the preferred language variant anyway?
Is there something like a "golden" source code file that complies to the JOSM coding guidelines? I see many different styles, somethimes even in the same file. It would be good to have a reference which style to use.
Attachments (1)
Change History (3)
Changed 7 years ago by
Attachment: | GeoImageLayer_isCenterView.patch added |
---|
comment:1 Changed 7 years ago by
Milestone: | → 16.02 |
---|
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
In 9416/josm: