Skip to content

Commit 09ef68c

Browse files
akoch-yattaHeikoKlare
authored andcommitted
Replace # with . in hidpi documentation
This commit replaces the remaining hashtag notations for methods with a dot notation.
1 parent d20d6d0 commit 09ef68c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/hidpi-support-for-windows-dev-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ DPI-dependent resources (`Font`, `Image`, `Cursor`, `TextLayout`, and geometric
196196
- Create new variants lazily when needed for rendering at another zoom.
197197

198198
`Font` does not apply this pattern internally within the class, but instead uses the `SWTFontProvider` to get matching `Font` instances for a required zoom.
199-
Access to an OS handle is usually provided via a public static non-API method like `Cursor#win32_getHandle(Cursor, zoom)`.
199+
Access to an OS handle is usually provided via a public static non-API method like `Cursor.win32_getHandle(Cursor, zoom)`.
200200
All resources have similar methods.
201201

202202
---
@@ -226,7 +226,7 @@ widget.notifyListeners(SWT.ZoomChanged, event);
226226

227227
It is used when:
228228

229-
- a widget's parent is changed via `Control#setParent` (immediate consistency is required)
229+
- a widget's parent is changed via `Control.setParent` (immediate consistency is required)
230230
- a `Composite` has *no* layout manager and delegates changes to its children (geometry must remain stable during recalculation)
231231
- immediate consistency is required (layout recalculation, cached geometry updates)
232232

@@ -452,7 +452,7 @@ Be aware that `Rectangle.OfFloat` or `Point.OfFloat` are internal classes which
452452

453453
Windows differentiates between process and thread DPI awareness.
454454
The process DPI awareness is defined by the executable, e.g. eclipse.exe will start with DPI awareness *System*, all recent javaw.exe will start with DPI awareness *PerMonitorV2*.
455-
SWT will set the thread DPI awareness to *PerMonitorV2* **if and ony if** monitor specific scaling is activated, either via `Display#setMonitorSpecificScaling` or the `swt.autoScale.updateOnRuntime` system property.
455+
SWT will set the thread DPI awareness to *PerMonitorV2* **if and ony if** monitor specific scaling is activated, either via `Display.setMonitorSpecificScaling` or the `swt.autoScale.updateOnRuntime` system property.
456456
If:
457457

458458
- process and thread DPI awareness are the same, the application should always behave as expected

0 commit comments

Comments
 (0)