Skip to content

Commit 0e0a09f

Browse files
committed
Rename and move application_settings_without_cmake_setting_commands example
1 parent 0a469be commit 0e0a09f

16 files changed

+20
-21
lines changed

examples/xtd.forms.examples/components/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ find_package(xtd REQUIRED)
55

66
add_projects(
77
application_settings
8+
application_settings_without_cmake_setting_commands
89
background_worker
910
button_images
1011
button_renderer

examples/xtd.forms.examples/components/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
[This folder](.) contains xtd.forms components examples.
44

5-
* [application_settings](application_settings/README.md) represents settings application.
5+
* [application_settings](application_settings/README.md) represents settings application with [CMake setting commands](https://gammasoft71.github.io/xtd/reference_guides/latest/_c_make_commands.html#AddSettingSubSection).
6+
* [application_settings_without_cmake_setting_commands](application_settings_without_cmake_setting_commands/README.md) represents settings application without [CMake setting commands](https://gammasoft71.github.io/xtd/reference_guides/latest/_c_make_commands.html#AddSettingSubSection).
67
* [background_worker](background_worker/README.md) executes an operation on a separate thread.
78
* [button_images](button_images/README.md) represents common images collection can be used for button.
89
* [button_renderer](button_renderer/README.md) show how to use [xtd::forms::button_renderer](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1button__renderer.html) renderer.

examples/xtd.forms.examples/components/application_settings/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# application_settings
22

3-
demonstrates the use of [xtd::settings](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1settings.html) component.
3+
demonstrates the use of [xtd::settings](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1settings.html) component with [CMake setting commands](https://gammasoft71.github.io/xtd/reference_guides/latest/_c_make_commands.html#AddSettingSubSection).
44

55
## Sources
66

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cmake_minimum_required(VERSION 3.20)
2+
3+
project(application_settings_without_cmake_setting_commands)
4+
find_package(xtd REQUIRED)
5+
add_sources(README.md src/application_settings_without_cmake_setting_commands.cpp)
6+
target_type(GUI_APPLICATION)
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# application_settings2
1+
# application_settings_without_cmake_setting_commands
22

3-
demonstrates the use of [xtd::settings](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1settings.html) component.
3+
demonstrates the use of [xtd::settings](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1settings.html) component without [CMake setting commands](https://gammasoft71.github.io/xtd/reference_guides/latest/_c_make_commands.html#AddSettingSubSection).
44

55
## Sources
66

7-
* [src/application_settings2.cpp](src/application_settings2.cpp)
7+
* [src/application_settings_without_cmake_setting_commands.cpp](src/application_settings_without_cmake_setting_commands.cpp)
88
* [CMakeLists.txt](CMakeLists.txt)
99

1010
## Build and run
@@ -19,18 +19,18 @@ xtdc run
1919

2020
### Windows :
2121

22-
![Screenshot](../../../../docs/pictures/examples/application_settings2_w.png)
22+
![Screenshot](../../../../docs/pictures/examples/application_settings_without_cmake_setting_commands_w.png)
2323

24-
![Screenshot](../../../../docs/pictures/examples/application_settings2_wd.png)
24+
![Screenshot](../../../../docs/pictures/examples/application_settings_without_cmake_setting_commands_wd.png)
2525

2626
### macOS :
2727

28-
![Screenshot](../../../../docs/pictures/examples/application_settings2_m.png)
28+
![Screenshot](../../../../docs/pictures/examples/application_settings_without_cmake_setting_commands_m.png)
2929

30-
![Screenshot](../../../../docs/pictures/examples/application_settings2_md.png)
30+
![Screenshot](../../../../docs/pictures/examples/application_settings_without_cmake_setting_commands_md.png)
3131

3232
### Gnome :
3333

34-
![Screenshot](../../../../docs/pictures/examples/application_settings2_g.png)
34+
![Screenshot](../../../../docs/pictures/examples/application_settings_without_cmake_setting_commands_g.png)
3535

36-
![Screenshot](../../../../docs/pictures/examples/application_settings2_gd.png)
36+
![Screenshot](../../../../docs/pictures/examples/application_settings_without_cmake_setting_commands_gd.png)

examples/xtd.forms.examples/others/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ find_package(xtd REQUIRED)
55

66
add_projects(
77
about_dialog_system
8-
about_dialog_from_executing_assembly_informations
98
anchors
109
application_run
11-
application_settings2
1210
auto_scroll
1311
bitmap_button_with_text
1412
border_style

examples/xtd.forms.examples/others/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
* [about_dialog_system](about_dialog_system/README.md) represents a dialog box that displays about box.
66
* [anchors](anchors/README.md) demonstrates the use of [xtd::forms::button](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1button.html) container with [xtd::forms::control::anchor](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1tool__bar.html).
7-
* [application_settings2](application_settings2/README.md) represents settings application.
87
* [auto_scroll](auto_scroll/README.md) demonstrates the use of [xtd::forms::panel](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1panel.html).
98
* [bitmap_button_with_text](bitmap_button_with_text/README.md) demonstrates the use of [xtd::forms::button](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1button.html) control with [xtd::drawing::image](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1drawing_1_1image.html).
109
* [border_style](border_style/README.md) demonstrates the use of [xtd::forms::label::border_style](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1label.html#a572b81ed9b6e7ba3a3b97501aeb43c69) property.

examples/xtd.forms.examples/others/application_settings2/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/xtd.core/include/xtd/configuration/settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ namespace xtd {
167167
/// #pragma endregion
168168
/// ```
169169
/// The following code example demonstrates the use of xtd::configuration::settings class without [CMake setting commands](https://gammasoft71.github.io/xtd/reference_guides/latest/_c_make_commands.html#AddSettingSubSection).
170-
/// @include application_settings2.cpp
170+
/// @include application_settings_without_cmake_setting_commands.cpp
171171
class core_export_ settings : public object {
172172
struct data;
173173

0 commit comments

Comments
 (0)