diff --git a/Tutorial/GacUI_Controls/DocumentEditor/DocumentEditor.vcxproj b/Tutorial/GacUI_Controls/DocumentEditor/DocumentEditor.vcxproj
index 4123419a..54161793 100644
--- a/Tutorial/GacUI_Controls/DocumentEditor/DocumentEditor.vcxproj
+++ b/Tutorial/GacUI_Controls/DocumentEditor/DocumentEditor.vcxproj
@@ -163,7 +163,7 @@
-
+
diff --git a/Tutorial/GacUI_Controls/DocumentEditor/DocumentEditor.vcxproj.filters b/Tutorial/GacUI_Controls/DocumentEditor/DocumentEditor.vcxproj.filters
index 8fd1078c..771ba95b 100644
--- a/Tutorial/GacUI_Controls/DocumentEditor/DocumentEditor.vcxproj.filters
+++ b/Tutorial/GacUI_Controls/DocumentEditor/DocumentEditor.vcxproj.filters
@@ -49,7 +49,7 @@
-
+
Resource Files
diff --git a/Tutorial/GacUI_Controls/DocumentEditor/UI/Resource.xml b/Tutorial/GacUI_Controls/DocumentEditor/UI/Resource.xml
deleted file mode 100644
index 67abc539..00000000
--- a/Tutorial/GacUI_Controls/DocumentEditor/UI/Resource.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
- Source
- ..\..\UIRes\DocumentEditor.bin
- GacUI.h
- GacUIReflection.h
- Demo
-
-
-
-
-
-
-
-
-
- <_>composeType:Percentage percentage:1.0
- <_>composeType:Percentage percentage:1.0
-
-
- <_>composeType:Percentage percentage:1.0
-
-
- |
-
- |
-
-
-
- |
-
-
-
-
-
- ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/ToolbarImages/Images.xml
- ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/DocumentComponents.xml
- ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/DocumentEditorBase.xml
- ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/DocumentEditorRibbon.xml
- ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/DocumentEditorToolstrip.xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Tutorial/GacUI_Controls/DocumentEditor/UI/ResourceBase.xml b/Tutorial/GacUI_Controls/DocumentEditor/UI/ResourceBase.xml
new file mode 100644
index 00000000..2979bd8b
--- /dev/null
+++ b/Tutorial/GacUI_Controls/DocumentEditor/UI/ResourceBase.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+ Source
+ ..\..\UIRes\DocumentEditor.bin
+ GacUI.h
+ GacUIReflection.h
+ EditorBase
+
+
+
+ ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/ToolbarImages/Images.xml
+ ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/DocumentComponents.xml
+ ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/DocumentEditorBase.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Tutorial/GacUI_Controls/DocumentEditorRibbon/DocumentEditorRibbon.vcxproj b/Tutorial/GacUI_Controls/DocumentEditorRibbon/DocumentEditorRibbon.vcxproj
index c8602076..931c72fb 100644
--- a/Tutorial/GacUI_Controls/DocumentEditorRibbon/DocumentEditorRibbon.vcxproj
+++ b/Tutorial/GacUI_Controls/DocumentEditorRibbon/DocumentEditorRibbon.vcxproj
@@ -154,6 +154,9 @@
+
+
+
diff --git a/Tutorial/GacUI_Controls/DocumentEditorRibbon/DocumentEditorRibbon.vcxproj.filters b/Tutorial/GacUI_Controls/DocumentEditorRibbon/DocumentEditorRibbon.vcxproj.filters
index 948faede..b44384e6 100644
--- a/Tutorial/GacUI_Controls/DocumentEditorRibbon/DocumentEditorRibbon.vcxproj.filters
+++ b/Tutorial/GacUI_Controls/DocumentEditorRibbon/DocumentEditorRibbon.vcxproj.filters
@@ -19,4 +19,9 @@
Source Files
+
+
+ Resource Files
+
+
\ No newline at end of file
diff --git a/Tutorial/GacUI_Controls/DocumentEditorRibbon/Main.cpp b/Tutorial/GacUI_Controls/DocumentEditorRibbon/Main.cpp
index 59775d6d..2b5bfb88 100644
--- a/Tutorial/GacUI_Controls/DocumentEditorRibbon/Main.cpp
+++ b/Tutorial/GacUI_Controls/DocumentEditorRibbon/Main.cpp
@@ -10,6 +10,7 @@ void GuiMain()
{
{
FileStream fileStream(L"../UIRes/DocumentEditor.bin", FileStream::ReadOnly);
+ FileStream fileStream(L"../UIRes/DocumentEditorRibbon.bin", FileStream::ReadOnly);
auto resource = GuiResource::LoadPrecompiledBinary(fileStream);
GetResourceManager()->SetResource(resource);
}
diff --git a/Tutorial/GacUI_Controls/DocumentEditorRibbon/UI/ResourceRibbon.xml b/Tutorial/GacUI_Controls/DocumentEditorRibbon/UI/ResourceRibbon.xml
new file mode 100644
index 00000000..8dabbabb
--- /dev/null
+++ b/Tutorial/GacUI_Controls/DocumentEditorRibbon/UI/ResourceRibbon.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+ Source
+ ..\..\UIRes\DocumentEditorRibbon.bin
+ GacUI.h
+ GacUIReflection.h
+ EditorRibbon
+
+
+
+ ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/ToolbarImages/Images.xml
+ ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/DocumentEditorRibbon.xml
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Tutorial/GacUI_Controls/DocumentEditorToolstrip/DocumentEditorToolstrip.vcxproj b/Tutorial/GacUI_Controls/DocumentEditorToolstrip/DocumentEditorToolstrip.vcxproj
index 0ac19eb5..838da8f7 100644
--- a/Tutorial/GacUI_Controls/DocumentEditorToolstrip/DocumentEditorToolstrip.vcxproj
+++ b/Tutorial/GacUI_Controls/DocumentEditorToolstrip/DocumentEditorToolstrip.vcxproj
@@ -154,6 +154,9 @@
+
+
+
diff --git a/Tutorial/GacUI_Controls/DocumentEditorToolstrip/DocumentEditorToolstrip.vcxproj.filters b/Tutorial/GacUI_Controls/DocumentEditorToolstrip/DocumentEditorToolstrip.vcxproj.filters
index 948faede..e3f251fc 100644
--- a/Tutorial/GacUI_Controls/DocumentEditorToolstrip/DocumentEditorToolstrip.vcxproj.filters
+++ b/Tutorial/GacUI_Controls/DocumentEditorToolstrip/DocumentEditorToolstrip.vcxproj.filters
@@ -19,4 +19,9 @@
Source Files
+
+
+ Resource Files
+
+
\ No newline at end of file
diff --git a/Tutorial/GacUI_Controls/DocumentEditorToolstrip/Main.cpp b/Tutorial/GacUI_Controls/DocumentEditorToolstrip/Main.cpp
index f3272cbb..cba54aba 100644
--- a/Tutorial/GacUI_Controls/DocumentEditorToolstrip/Main.cpp
+++ b/Tutorial/GacUI_Controls/DocumentEditorToolstrip/Main.cpp
@@ -10,6 +10,7 @@ void GuiMain()
{
{
FileStream fileStream(L"../UIRes/DocumentEditor.bin", FileStream::ReadOnly);
+ FileStream fileStream(L"../UIRes/DocumentEditorToolstrip.bin", FileStream::ReadOnly);
auto resource = GuiResource::LoadPrecompiledBinary(fileStream);
GetResourceManager()->SetResource(resource);
}
diff --git a/Tutorial/GacUI_Controls/DocumentEditorToolstrip/UI/ResourceToolstrip.xml b/Tutorial/GacUI_Controls/DocumentEditorToolstrip/UI/ResourceToolstrip.xml
new file mode 100644
index 00000000..639f382f
--- /dev/null
+++ b/Tutorial/GacUI_Controls/DocumentEditorToolstrip/UI/ResourceToolstrip.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+ Source
+ ..\..\UIRes\DocumentEditorToolstrip.bin
+ GacUI.h
+ GacUIReflection.h
+ EditorToolstrip
+
+
+
+ ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/ToolbarImages/Images.xml
+ ../../../GacUI_ControlTemplate/BlackSkin/UI/FullControlTest/DocumentEditorToolstrip.xml
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file