Spelling: ... (#3398)

This commit is contained in:
Josh Soref
2020-05-26 11:02:36 -04:00
committed by GitHub
parent b1554ebf37
commit 4a03756b5b
21 changed files with 34 additions and 34 deletions

View File

@@ -80,7 +80,7 @@ Example module JSON (taken from Shortcut Guide):
```
produces this settings screen:
![Shortcut Guide settings](../images/settings/shorcut_guide_settings.png)
![Shortcut Guide settings](../images/settings/shortcut_guide_settings.png)
### Helper methods
@@ -191,7 +191,7 @@ settings.set_icon_key(L"pt-example");
settings.add_string(L"string_val", L"Example string label", L"example value");
settings.add_int_spinner(L"int_val", L"Example int label", 0, 0, 100, 10);
```
You can then use `std::wstring serialize()` or `bool serialize_to_buffer(wchar_t* buffer, int* uffer_size)` methods to generate output JSON string.
You can then use `std::wstring serialize()` or `bool serialize_to_buffer(wchar_t* buffer, int* buffer_size)` methods to generate output JSON string.
### Saving settings
Use