Browse Source

Remove #include "precompiled.h" from source files, CMake handles it instead. Include what we actually use in header and source files. For non-precompiled headers measurements indicate ~30% reduction in compile time. See #81.

Michael Ragazzon 5 years ago
parent
commit
6c53cbf85b
100 changed files with 59 additions and 85 deletions
  1. 1 0
      Include/RmlUi/Core/ContextInstancer.h
  2. 3 0
      Include/RmlUi/Core/ConvolutionFilter.h
  3. 2 0
      Include/RmlUi/Core/EventInstancer.h
  4. 3 0
      Include/RmlUi/Core/GeometryUtilities.h
  5. 1 0
      Include/RmlUi/Core/Plugin.h
  6. 1 0
      Include/RmlUi/Core/PropertiesIteratorView.h
  7. 0 1
      Source/Core/BaseXMLParser.cpp
  8. 0 1
      Source/Core/Box.cpp
  9. 0 1
      Source/Core/Clock.cpp
  10. 2 0
      Source/Core/Clock.h
  11. 1 1
      Source/Core/ComputeProperty.cpp
  12. 3 0
      Source/Core/ComputeProperty.h
  13. 0 1
      Source/Core/Context.cpp
  14. 0 1
      Source/Core/ContextInstancer.cpp
  15. 0 1
      Source/Core/ContextInstancerDefault.cpp
  16. 0 1
      Source/Core/ConvolutionFilter.cpp
  17. 0 1
      Source/Core/Core.cpp
  18. 0 1
      Source/Core/Decorator.cpp
  19. 1 1
      Source/Core/DecoratorGradient.cpp
  20. 1 1
      Source/Core/DecoratorInstancer.cpp
  21. 0 1
      Source/Core/DecoratorNinePatch.cpp
  22. 1 0
      Source/Core/DecoratorNinePatch.h
  23. 0 1
      Source/Core/DecoratorTiled.cpp
  24. 1 0
      Source/Core/DecoratorTiled.h
  25. 0 1
      Source/Core/DecoratorTiledBox.cpp
  26. 0 1
      Source/Core/DecoratorTiledBoxInstancer.cpp
  27. 0 1
      Source/Core/DecoratorTiledHorizontal.cpp
  28. 0 1
      Source/Core/DecoratorTiledHorizontalInstancer.cpp
  29. 0 1
      Source/Core/DecoratorTiledImage.cpp
  30. 0 1
      Source/Core/DecoratorTiledImageInstancer.cpp
  31. 1 1
      Source/Core/DecoratorTiledInstancer.cpp
  32. 0 1
      Source/Core/DecoratorTiledVertical.cpp
  33. 0 1
      Source/Core/DecoratorTiledVerticalInstancer.cpp
  34. 0 1
      Source/Core/DocumentHeader.cpp
  35. 1 1
      Source/Core/Element.cpp
  36. 0 1
      Source/Core/ElementAnimation.cpp
  37. 0 1
      Source/Core/ElementBackground.cpp
  38. 0 1
      Source/Core/ElementBorder.cpp
  39. 0 1
      Source/Core/ElementDecoration.cpp
  40. 1 1
      Source/Core/ElementDefinition.cpp
  41. 2 1
      Source/Core/ElementDefinition.h
  42. 0 1
      Source/Core/ElementDocument.cpp
  43. 0 1
      Source/Core/ElementHandle.cpp
  44. 0 1
      Source/Core/ElementImage.cpp
  45. 1 0
      Source/Core/ElementImage.h
  46. 0 1
      Source/Core/ElementInstancer.cpp
  47. 0 1
      Source/Core/ElementScroll.cpp
  48. 2 1
      Source/Core/ElementStyle.cpp
  49. 3 0
      Source/Core/ElementStyle.h
  50. 0 1
      Source/Core/ElementText.cpp
  51. 1 1
      Source/Core/ElementTextDefault.cpp
  52. 0 1
      Source/Core/ElementUtilities.cpp
  53. 1 1
      Source/Core/Event.cpp
  54. 0 1
      Source/Core/EventDispatcher.cpp
  55. 0 1
      Source/Core/EventInstancer.cpp
  56. 0 1
      Source/Core/EventInstancerDefault.cpp
  57. 1 0
      Source/Core/EventInstancerDefault.h
  58. 0 1
      Source/Core/EventListenerInstancer.cpp
  59. 0 1
      Source/Core/EventSpecification.cpp
  60. 0 1
      Source/Core/Factory.cpp
  61. 0 1
      Source/Core/FileInterface.cpp
  62. 0 1
      Source/Core/FileInterfaceDefault.cpp
  63. 0 1
      Source/Core/FontEffect.cpp
  64. 0 1
      Source/Core/FontEffectBlur.cpp
  65. 0 1
      Source/Core/FontEffectGlow.cpp
  66. 0 1
      Source/Core/FontEffectInstancer.cpp
  67. 0 1
      Source/Core/FontEffectOutline.cpp
  68. 0 1
      Source/Core/FontEffectShadow.cpp
  69. 1 1
      Source/Core/FontEngineInterface.cpp
  70. 0 1
      Source/Core/Geometry.cpp
  71. 3 1
      Source/Core/GeometryUtilities.cpp
  72. 0 1
      Source/Core/LayoutBlockBox.cpp
  73. 0 1
      Source/Core/LayoutBlockBoxSpace.cpp
  74. 3 0
      Source/Core/LayoutBlockBoxSpace.h
  75. 0 1
      Source/Core/LayoutEngine.cpp
  76. 1 1
      Source/Core/LayoutInlineBox.cpp
  77. 1 0
      Source/Core/LayoutInlineBox.h
  78. 1 1
      Source/Core/LayoutInlineBoxText.cpp
  79. 0 1
      Source/Core/LayoutLineBox.cpp
  80. 0 1
      Source/Core/Log.cpp
  81. 4 4
      Source/Core/Math.cpp
  82. 0 1
      Source/Core/Memory.cpp
  83. 0 1
      Source/Core/ObserverPtr.cpp
  84. 0 1
      Source/Core/Plugin.cpp
  85. 0 1
      Source/Core/PluginRegistry.cpp
  86. 2 0
      Source/Core/PluginRegistry.h
  87. 1 0
      Source/Core/Pool.h
  88. 0 1
      Source/Core/Profiling.cpp
  89. 1 1
      Source/Core/PropertiesIteratorView.cpp
  90. 0 1
      Source/Core/Property.cpp
  91. 0 1
      Source/Core/PropertyDefinition.cpp
  92. 1 1
      Source/Core/PropertyDictionary.cpp
  93. 2 1
      Source/Core/PropertyParserAnimation.cpp
  94. 0 1
      Source/Core/PropertyParserColour.cpp
  95. 0 1
      Source/Core/PropertyParserKeyword.cpp
  96. 0 1
      Source/Core/PropertyParserNumber.cpp
  97. 0 1
      Source/Core/PropertyParserString.cpp
  98. 2 1
      Source/Core/PropertyParserTransform.cpp
  99. 1 0
      Source/Core/PropertyShorthandDefinition.h
  100. 0 1
      Source/Core/PropertySpecification.cpp

+ 1 - 0
Include/RmlUi/Core/ContextInstancer.h

@@ -31,6 +31,7 @@
 
 
 #include "Header.h"
 #include "Header.h"
 #include "Traits.h"
 #include "Traits.h"
+#include "Types.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 3 - 0
Include/RmlUi/Core/ConvolutionFilter.h

@@ -29,6 +29,9 @@
 #ifndef RMLUICORECONVOLUTIONFILTER_H
 #ifndef RMLUICORECONVOLUTIONFILTER_H
 #define RMLUICORECONVOLUTIONFILTER_H
 #define RMLUICORECONVOLUTIONFILTER_H
 
 
+#include "Header.h"
+#include "Types.h"
+
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {
 
 

+ 2 - 0
Include/RmlUi/Core/EventInstancer.h

@@ -31,6 +31,8 @@
 
 
 #include "Traits.h"
 #include "Traits.h"
 #include "Header.h"
 #include "Header.h"
+#include "Types.h"
+#include "ID.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 3 - 0
Include/RmlUi/Core/GeometryUtilities.h

@@ -32,10 +32,13 @@
 #include "Header.h"
 #include "Header.h"
 #include "Types.h"
 #include "Types.h"
 #include "Vertex.h"
 #include "Vertex.h"
+#include "ComputedValues.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {
 
 
+class Geometry;
+
 /**
 /**
 	A class containing helper functions for rendering geometry.
 	A class containing helper functions for rendering geometry.
 
 

+ 1 - 0
Include/RmlUi/Core/Plugin.h

@@ -30,6 +30,7 @@
 #define RMLUICOREPLUGIN_H
 #define RMLUICOREPLUGIN_H
 
 
 #include "Header.h"
 #include "Header.h"
+#include "Types.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Include/RmlUi/Core/PropertiesIteratorView.h

@@ -29,6 +29,7 @@
 #define RMLUICOREPROPERTIESITERATORVIEW_H
 #define RMLUICOREPROPERTIESITERATORVIEW_H
 
 
 #include "Types.h"
 #include "Types.h"
+#include "Property.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/BaseXMLParser.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/BaseXMLParser.h"
 #include "../../Include/RmlUi/Core/BaseXMLParser.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/Box.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Box.h"
 #include "../../Include/RmlUi/Core/Box.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/Clock.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "Clock.h"
 #include "Clock.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 
 

+ 2 - 0
Source/Core/Clock.h

@@ -29,6 +29,8 @@
 #ifndef RMLUICORECLOCK_H
 #ifndef RMLUICORECLOCK_H
 #define RMLUICORECLOCK_H
 #define RMLUICORECLOCK_H
 
 
+#include "../../Include/RmlUi/Core/Header.h"
+
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {
 
 

+ 1 - 1
Source/Core/ComputeProperty.cpp

@@ -26,7 +26,7 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
+#include "../../Include/RmlUi/Core/Property.h"
 #include "ComputeProperty.h"
 #include "ComputeProperty.h"
 
 
 namespace Rml {
 namespace Rml {

+ 3 - 0
Source/Core/ComputeProperty.h

@@ -29,9 +29,12 @@
 #ifndef RMLUICORECOMPUTEPROPERTY_H
 #ifndef RMLUICORECOMPUTEPROPERTY_H
 #define RMLUICORECOMPUTEPROPERTY_H
 #define RMLUICORECOMPUTEPROPERTY_H
 
 
+#include "../../Include/RmlUi/Core/ComputedValues.h"
+
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {
 
 
+class Property;
 
 
 // Note that percentages are not lengths! They have to be resolved elsewhere.
 // Note that percentages are not lengths! They have to be resolved elsewhere.
 float ComputeLength(const Property* property, float font_size, float document_font_size, float dp_ratio);
 float ComputeLength(const Property* property, float font_size, float document_font_size, float dp_ratio);

+ 0 - 1
Source/Core/Context.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 #include "EventDispatcher.h"
 #include "EventDispatcher.h"
 #include "EventIterators.h"
 #include "EventIterators.h"

+ 0 - 1
Source/Core/ContextInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/ContextInstancer.h"
 #include "../../Include/RmlUi/Core/ContextInstancer.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/ContextInstancerDefault.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "ContextInstancerDefault.h"
 #include "ContextInstancerDefault.h"
 #include "../../Include/RmlUi/Core/Context.h"
 #include "../../Include/RmlUi/Core/Context.h"
 
 

+ 0 - 1
Source/Core/ConvolutionFilter.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/ConvolutionFilter.h"
 #include "../../Include/RmlUi/Core/ConvolutionFilter.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/Core.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 #include "EventSpecification.h"
 #include "EventSpecification.h"
 #include "FileInterfaceDefault.h"
 #include "FileInterfaceDefault.h"

+ 0 - 1
Source/Core/Decorator.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Decorator.h"
 #include "../../Include/RmlUi/Core/Decorator.h"
 #include "TextureDatabase.h"
 #include "TextureDatabase.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"

+ 1 - 1
Source/Core/DecoratorGradient.cpp

@@ -26,10 +26,10 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorGradient.h"
 #include "DecoratorGradient.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
+#include "../../Include/RmlUi/Core/GeometryUtilities.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 
 
 /*
 /*

+ 1 - 1
Source/Core/DecoratorInstancer.cpp

@@ -26,7 +26,7 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
+#include "../../Include/RmlUi/Core/StyleSheet.h"
 #include "../../Include/RmlUi/Core/DecoratorInstancer.h"
 #include "../../Include/RmlUi/Core/DecoratorInstancer.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/DecoratorNinePatch.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorNinePatch.h"
 #include "DecoratorNinePatch.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Geometry.h"

+ 1 - 0
Source/Core/DecoratorNinePatch.h

@@ -32,6 +32,7 @@
 #include "../../Include/RmlUi/Core/Decorator.h"
 #include "../../Include/RmlUi/Core/Decorator.h"
 #include "../../Include/RmlUi/Core/DecoratorInstancer.h"
 #include "../../Include/RmlUi/Core/DecoratorInstancer.h"
 #include "../../Include/RmlUi/Core/Property.h"
 #include "../../Include/RmlUi/Core/Property.h"
+#include "../../Include/RmlUi/Core/Spritesheet.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/DecoratorTiled.cpp

@@ -27,7 +27,6 @@
  */
  */
 
 
 
 
-#include "precompiled.h"
 #include "DecoratorTiled.h"
 #include "DecoratorTiled.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 
 

+ 1 - 0
Source/Core/DecoratorTiled.h

@@ -29,6 +29,7 @@
 #ifndef RMLUICOREDECORATORTILED_H
 #ifndef RMLUICOREDECORATORTILED_H
 #define RMLUICOREDECORATORTILED_H
 #define RMLUICOREDECORATORTILED_H
 
 
+#include "../../Include/RmlUi/Core/ComputedValues.h"
 #include "../../Include/RmlUi/Core/Decorator.h"
 #include "../../Include/RmlUi/Core/Decorator.h"
 #include "../../Include/RmlUi/Core/Vertex.h"
 #include "../../Include/RmlUi/Core/Vertex.h"
 
 

+ 0 - 1
Source/Core/DecoratorTiledBox.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledBox.h"
 #include "DecoratorTiledBox.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Geometry.h"

+ 0 - 1
Source/Core/DecoratorTiledBoxInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledBoxInstancer.h"
 #include "DecoratorTiledBoxInstancer.h"
 #include "DecoratorTiledBox.h"
 #include "DecoratorTiledBox.h"
 
 

+ 0 - 1
Source/Core/DecoratorTiledHorizontal.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledHorizontal.h"
 #include "DecoratorTiledHorizontal.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Geometry.h"

+ 0 - 1
Source/Core/DecoratorTiledHorizontalInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledHorizontalInstancer.h"
 #include "DecoratorTiledHorizontalInstancer.h"
 #include "DecoratorTiledHorizontal.h"
 #include "DecoratorTiledHorizontal.h"
 
 

+ 0 - 1
Source/Core/DecoratorTiledImage.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledImage.h"
 #include "DecoratorTiledImage.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Geometry.h"

+ 0 - 1
Source/Core/DecoratorTiledImageInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledImageInstancer.h"
 #include "DecoratorTiledImageInstancer.h"
 #include "DecoratorTiledImage.h"
 #include "DecoratorTiledImage.h"
 
 

+ 1 - 1
Source/Core/DecoratorTiledInstancer.cpp

@@ -26,9 +26,9 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledInstancer.h"
 #include "DecoratorTiledInstancer.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
+#include "../../Include/RmlUi/Core/Spritesheet.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/DecoratorTiledVertical.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledVertical.h"
 #include "DecoratorTiledVertical.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Geometry.h"

+ 0 - 1
Source/Core/DecoratorTiledVerticalInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DecoratorTiledVertical.h"
 #include "DecoratorTiledVertical.h"
 #include "DecoratorTiledVerticalInstancer.h"
 #include "DecoratorTiledVerticalInstancer.h"
 
 

+ 0 - 1
Source/Core/DocumentHeader.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "DocumentHeader.h"
 #include "DocumentHeader.h"
 #include "XMLParseTools.h"
 #include "XMLParseTools.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"

+ 1 - 1
Source/Core/Element.cpp

@@ -27,7 +27,6 @@
  */
  */
 
 
   
   
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Dictionary.h"
 #include "../../Include/RmlUi/Core/Dictionary.h"
 #include "../../Include/RmlUi/Core/PropertyIdSet.h"
 #include "../../Include/RmlUi/Core/PropertyIdSet.h"
@@ -50,6 +49,7 @@
 #include "PropertiesIterator.h"
 #include "PropertiesIterator.h"
 #include "Pool.h"
 #include "Pool.h"
 #include "StyleSheetParser.h"
 #include "StyleSheetParser.h"
+#include "StringCache.h"
 #include "XMLParseTools.h"
 #include "XMLParseTools.h"
 #include "../../Include/RmlUi/Core/Core.h"
 #include "../../Include/RmlUi/Core/Core.h"
 
 

+ 0 - 1
Source/Core/ElementAnimation.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "ElementAnimation.h"
 #include "ElementAnimation.h"
 #include "ElementStyle.h"
 #include "ElementStyle.h"
 #include "../../Include/RmlUi/Core/TransformPrimitive.h"
 #include "../../Include/RmlUi/Core/TransformPrimitive.h"

+ 0 - 1
Source/Core/ElementBackground.cpp

@@ -27,7 +27,6 @@
  */
  */
 
 
 
 
-#include "precompiled.h"
 #include "ElementBackground.h"
 #include "ElementBackground.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/GeometryUtilities.h"
 #include "../../Include/RmlUi/Core/GeometryUtilities.h"

+ 0 - 1
Source/Core/ElementBorder.cpp

@@ -27,7 +27,6 @@
  */
  */
 
 
  
  
-#include "precompiled.h"
 #include "ElementBorder.h"
 #include "ElementBorder.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Property.h"
 #include "../../Include/RmlUi/Core/Property.h"

+ 0 - 1
Source/Core/ElementDecoration.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "ElementDecoration.h"
 #include "ElementDecoration.h"
 #include "ElementDefinition.h"
 #include "ElementDefinition.h"
 #include "../../Include/RmlUi/Core/Decorator.h"
 #include "../../Include/RmlUi/Core/Decorator.h"

+ 1 - 1
Source/Core/ElementDefinition.cpp

@@ -26,9 +26,9 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "ElementDefinition.h"
 #include "ElementDefinition.h"
 #include "StyleSheetNode.h"
 #include "StyleSheetNode.h"
+#include "../../Include/RmlUi/Core/PropertyIdSet.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 2 - 1
Source/Core/ElementDefinition.h

@@ -29,7 +29,8 @@
 #ifndef RMLUICOREELEMENTDEFINITION_H
 #ifndef RMLUICOREELEMENTDEFINITION_H
 #define RMLUICOREELEMENTDEFINITION_H
 #define RMLUICOREELEMENTDEFINITION_H
 
 
-#include "../../Include/RmlUi/Core/Dictionary.h"
+#include "../../Include/RmlUi/Core/PropertyDictionary.h"
+#include "../../Include/RmlUi/Core/PropertyIdSet.h"
 #include "../../Include/RmlUi/Core/Traits.h"
 #include "../../Include/RmlUi/Core/Traits.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/ElementDocument.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/ElementDocument.h"
 #include "../../Include/RmlUi/Core/ElementDocument.h"
 #include "../../Include/RmlUi/Core/StreamMemory.h"
 #include "../../Include/RmlUi/Core/StreamMemory.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"

+ 0 - 1
Source/Core/ElementHandle.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "ElementHandle.h"
 #include "ElementHandle.h"
 #include "../../Include/RmlUi/Core/ElementDocument.h"
 #include "../../Include/RmlUi/Core/ElementDocument.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"

+ 0 - 1
Source/Core/ElementImage.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "ElementImage.h"
 #include "ElementImage.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 #include "TextureDatabase.h"
 #include "TextureDatabase.h"

+ 1 - 0
Source/Core/ElementImage.h

@@ -33,6 +33,7 @@
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Texture.h"
 #include "../../Include/RmlUi/Core/Texture.h"
+#include "../../Include/RmlUi/Core/Spritesheet.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/ElementInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/ElementInstancer.h"
 #include "../../Include/RmlUi/Core/ElementInstancer.h"
 #include "XMLParseTools.h"
 #include "XMLParseTools.h"
 #include "Pool.h"
 #include "Pool.h"

+ 0 - 1
Source/Core/ElementScroll.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/ElementScroll.h"
 #include "../../Include/RmlUi/Core/ElementScroll.h"
 #include "LayoutEngine.h"
 #include "LayoutEngine.h"
 #include "WidgetSliderScroll.h"
 #include "WidgetSliderScroll.h"

+ 2 - 1
Source/Core/ElementStyle.cpp

@@ -26,9 +26,9 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "ElementStyle.h"
 #include "ElementStyle.h"
 #include <algorithm>
 #include <algorithm>
+#include "../../Include/RmlUi/Core/Core.h"
 #include "../../Include/RmlUi/Core/ElementDocument.h"
 #include "../../Include/RmlUi/Core/ElementDocument.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/Log.h"
@@ -37,6 +37,7 @@
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 #include "../../Include/RmlUi/Core/PropertyDictionary.h"
 #include "../../Include/RmlUi/Core/PropertyDictionary.h"
 #include "../../Include/RmlUi/Core/PropertyIdSet.h"
 #include "../../Include/RmlUi/Core/PropertyIdSet.h"
+#include "../../Include/RmlUi/Core/StyleSheet.h"
 #include "../../Include/RmlUi/Core/StyleSheetSpecification.h"
 #include "../../Include/RmlUi/Core/StyleSheetSpecification.h"
 #include "../../Include/RmlUi/Core/TransformPrimitive.h"
 #include "../../Include/RmlUi/Core/TransformPrimitive.h"
 #include "ElementBackground.h"
 #include "ElementBackground.h"

+ 3 - 0
Source/Core/ElementStyle.h

@@ -29,14 +29,17 @@
 #ifndef RMLUICOREELEMENTSTYLE_H
 #ifndef RMLUICOREELEMENTSTYLE_H
 #define RMLUICOREELEMENTSTYLE_H
 #define RMLUICOREELEMENTSTYLE_H
 
 
+#include "../../Include/RmlUi/Core/ComputedValues.h"
 #include "../../Include/RmlUi/Core/Types.h"
 #include "../../Include/RmlUi/Core/Types.h"
 #include "../../Include/RmlUi/Core/PropertyIdSet.h"
 #include "../../Include/RmlUi/Core/PropertyIdSet.h"
+#include "../../Include/RmlUi/Core/PropertyDictionary.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {
 
 
 class ElementDefinition;
 class ElementDefinition;
 class PropertiesIterator;
 class PropertiesIterator;
+enum class RelativeTarget;
 
 
 /**
 /**
 	Manages an element's style and property information.
 	Manages an element's style and property information.

+ 0 - 1
Source/Core/ElementText.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/ElementText.h"
 #include "../../Include/RmlUi/Core/ElementText.h"
 
 
 namespace Rml {
 namespace Rml {

+ 1 - 1
Source/Core/ElementTextDefault.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "ElementTextDefault.h"
 #include "ElementTextDefault.h"
 #include "ElementDefinition.h"
 #include "ElementDefinition.h"
 #include "ElementStyle.h"
 #include "ElementStyle.h"
@@ -34,6 +33,7 @@
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/Event.h"
 #include "../../Include/RmlUi/Core/Event.h"
 #include "../../Include/RmlUi/Core/Property.h"
 #include "../../Include/RmlUi/Core/Property.h"
+#include "../../Include/RmlUi/Core/Core.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/ElementUtilities.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core/TransformState.h"
 #include "../../Include/RmlUi/Core/TransformState.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"

+ 1 - 1
Source/Core/Event.cpp

@@ -26,9 +26,9 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Event.h"
 #include "../../Include/RmlUi/Core/Event.h"
 #include "../../Include/RmlUi/Core/EventInstancer.h"
 #include "../../Include/RmlUi/Core/EventInstancer.h"
+#include "../../Include/RmlUi/Core/Element.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/EventDispatcher.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "EventDispatcher.h"
 #include "EventDispatcher.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Element.h"
 #include "../../Include/RmlUi/Core/Event.h"
 #include "../../Include/RmlUi/Core/Event.h"

+ 0 - 1
Source/Core/EventInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/EventInstancer.h"
 #include "../../Include/RmlUi/Core/EventInstancer.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/EventInstancerDefault.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "EventInstancerDefault.h"
 #include "EventInstancerDefault.h"
 #include "../../Include/RmlUi/Core/Event.h"
 #include "../../Include/RmlUi/Core/Event.h"
 
 

+ 1 - 0
Source/Core/EventInstancerDefault.h

@@ -30,6 +30,7 @@
 #define RMLUICOREEVENTINSTANCERDEFAULT_H
 #define RMLUICOREEVENTINSTANCERDEFAULT_H
 
 
 #include "../../Include/RmlUi/Core/EventInstancer.h"
 #include "../../Include/RmlUi/Core/EventInstancer.h"
+#include "../../Include/RmlUi/Core/Types.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/EventListenerInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/EventListenerInstancer.h"
 #include "../../Include/RmlUi/Core/EventListenerInstancer.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/EventSpecification.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "EventSpecification.h"
 #include "EventSpecification.h"
 #include "../../Include/RmlUi/Core/ID.h"
 #include "../../Include/RmlUi/Core/ID.h"
 
 

+ 0 - 1
Source/Core/Factory.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core/StreamMemory.h"
 #include "../../Include/RmlUi/Core/StreamMemory.h"
 #include "ContextInstancerDefault.h"
 #include "ContextInstancerDefault.h"

+ 0 - 1
Source/Core/FileInterface.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/FileInterface.h"
 #include "../../Include/RmlUi/Core/FileInterface.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/FileInterfaceDefault.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "FileInterfaceDefault.h"
 #include "FileInterfaceDefault.h"
 
 
 #ifndef RMLUI_NO_FILE_INTERFACE_DEFAULT
 #ifndef RMLUI_NO_FILE_INTERFACE_DEFAULT

+ 0 - 1
Source/Core/FontEffect.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/FontEffect.h"
 #include "../../Include/RmlUi/Core/FontEffect.h"
 #include "../../Include/RmlUi/Core/FontEffectInstancer.h"
 #include "../../Include/RmlUi/Core/FontEffectInstancer.h"
 
 

+ 0 - 1
Source/Core/FontEffectBlur.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "FontEffectBlur.h"
 #include "FontEffectBlur.h"
 #include "Memory.h"
 #include "Memory.h"
 
 

+ 0 - 1
Source/Core/FontEffectGlow.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "FontEffectGlow.h"
 #include "FontEffectGlow.h"
 #include "Memory.h"
 #include "Memory.h"
 
 

+ 0 - 1
Source/Core/FontEffectInstancer.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/FontEffectInstancer.h"
 #include "../../Include/RmlUi/Core/FontEffectInstancer.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/FontEffectOutline.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "FontEffectOutline.h"
 #include "FontEffectOutline.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/FontEffectShadow.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "FontEffectShadow.h"
 #include "FontEffectShadow.h"
 
 
 namespace Rml {
 namespace Rml {

+ 1 - 1
Source/Core/FontEngineInterface.cpp

@@ -26,7 +26,7 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
+#include "../../Include/RmlUi/Core/FontEngineInterface.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/Geometry.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core/Geometry.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 
 

+ 3 - 1
Source/Core/GeometryUtilities.cpp

@@ -26,8 +26,10 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/GeometryUtilities.h"
 #include "../../Include/RmlUi/Core/GeometryUtilities.h"
+#include "../../Include/RmlUi/Core/Geometry.h"
+#include "../../Include/RmlUi/Core/Types.h"
+#include "../../Include/RmlUi/Core/Core.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/LayoutBlockBox.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "LayoutBlockBox.h"
 #include "LayoutBlockBox.h"
 #include "LayoutBlockBoxSpace.h"
 #include "LayoutBlockBoxSpace.h"
 #include "LayoutEngine.h"
 #include "LayoutEngine.h"

+ 0 - 1
Source/Core/LayoutBlockBoxSpace.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "LayoutBlockBoxSpace.h"
 #include "LayoutBlockBoxSpace.h"
 #include "LayoutBlockBox.h"
 #include "LayoutBlockBox.h"
 #include "LayoutEngine.h"
 #include "LayoutEngine.h"

+ 3 - 0
Source/Core/LayoutBlockBoxSpace.h

@@ -29,6 +29,9 @@
 #ifndef RMLUICORELAYOUTBLOCKBOXSPACE_H
 #ifndef RMLUICORELAYOUTBLOCKBOXSPACE_H
 #define RMLUICORELAYOUTBLOCKBOXSPACE_H
 #define RMLUICORELAYOUTBLOCKBOXSPACE_H
 
 
+#include "../../Include/RmlUi/Core/ComputedValues.h"
+#include "../../Include/RmlUi/Core/Types.h"
+
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {
 
 

+ 0 - 1
Source/Core/LayoutEngine.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "LayoutEngine.h"
 #include "LayoutEngine.h"
 #include "../../Include/RmlUi/Core/Math.h"
 #include "../../Include/RmlUi/Core/Math.h"
 #include "Pool.h"
 #include "Pool.h"

+ 1 - 1
Source/Core/LayoutInlineBox.cpp

@@ -26,13 +26,13 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "LayoutInlineBox.h"
 #include "LayoutInlineBox.h"
 #include "LayoutBlockBox.h"
 #include "LayoutBlockBox.h"
 #include "LayoutEngine.h"
 #include "LayoutEngine.h"
 #include "../../Include/RmlUi/Core/ElementText.h"
 #include "../../Include/RmlUi/Core/ElementText.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/Property.h"
 #include "../../Include/RmlUi/Core/Property.h"
+#include "../../Include/RmlUi/Core/Core.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Source/Core/LayoutInlineBox.h

@@ -30,6 +30,7 @@
 #define RMLUICORELAYOUTINLINEBOX_H
 #define RMLUICORELAYOUTINLINEBOX_H
 
 
 #include "../../Include/RmlUi/Core/Box.h"
 #include "../../Include/RmlUi/Core/Box.h"
+#include "../../Include/RmlUi/Core/ComputedValues.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 1
Source/Core/LayoutInlineBoxText.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "LayoutInlineBoxText.h"
 #include "LayoutInlineBoxText.h"
 #include "LayoutEngine.h"
 #include "LayoutEngine.h"
 #include "LayoutLineBox.h"
 #include "LayoutLineBox.h"
@@ -34,6 +33,7 @@
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/ElementUtilities.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/Property.h"
 #include "../../Include/RmlUi/Core/Property.h"
+#include "../../Include/RmlUi/Core/Core.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/LayoutLineBox.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "LayoutLineBox.h"
 #include "LayoutLineBox.h"
 #include "LayoutBlockBox.h"
 #include "LayoutBlockBox.h"
 #include "LayoutEngine.h"
 #include "LayoutEngine.h"

+ 0 - 1
Source/Core/Log.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core.h"
 #include "../../Include/RmlUi/Core.h"
 #include <stdarg.h>
 #include <stdarg.h>

+ 4 - 4
Source/Core/Math.cpp

@@ -26,10 +26,10 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Math.h"
 #include "../../Include/RmlUi/Core/Math.h"
 #include <time.h>
 #include <time.h>
 #include <math.h>
 #include <math.h>
+#include <stdlib.h>
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {
@@ -67,13 +67,13 @@ RMLUICORE_API float Cos(float angle)
 // Calculates the arc-cosine of an value.
 // Calculates the arc-cosine of an value.
 RMLUICORE_API float ACos(float value)
 RMLUICORE_API float ACos(float value)
 {
 {
-	return acos(value);
+	return acosf(value);
 }
 }
 
 
 // Calculates the sine of an angle.
 // Calculates the sine of an angle.
 RMLUICORE_API float Sin(float angle)
 RMLUICORE_API float Sin(float angle)
 {
 {
-	return sin(angle);
+	return sinf(angle);
 }
 }
 
 
 // Calculates the arc-sine of an value.
 // Calculates the arc-sine of an value.
@@ -97,7 +97,7 @@ RMLUICORE_API float ATan2(float y, float x)
 // Evaluates the natural exponential function on a value.
 // Evaluates the natural exponential function on a value.
 RMLUICORE_API float Exp(float value)
 RMLUICORE_API float Exp(float value)
 {
 {
-	return exp(value);
+	return expf(value);
 }
 }
 
 
 // Converts an angle from radians to degrees.
 // Converts an angle from radians to degrees.

+ 0 - 1
Source/Core/Memory.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "Memory.h"
 #include "Memory.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/ObserverPtr.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/ObserverPtr.h"
 #include "../../Include/RmlUi/Core/ObserverPtr.h"
 #include "Pool.h"
 #include "Pool.h"
 
 

+ 0 - 1
Source/Core/Plugin.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Plugin.h"
 #include "../../Include/RmlUi/Core/Plugin.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/PluginRegistry.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "PluginRegistry.h"
 #include "PluginRegistry.h"
 #include "../../Include/RmlUi/Core/Plugin.h"
 #include "../../Include/RmlUi/Core/Plugin.h"
 
 

+ 2 - 0
Source/Core/PluginRegistry.h

@@ -29,6 +29,8 @@
 #ifndef RMLUICOREPLUGINREGISTRY_H
 #ifndef RMLUICOREPLUGINREGISTRY_H
 #define RMLUICOREPLUGINREGISTRY_H
 #define RMLUICOREPLUGINREGISTRY_H
 
 
+#include "../../Include/RmlUi/Core/Types.h"
+
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {
 
 

+ 1 - 0
Source/Core/Pool.h

@@ -31,6 +31,7 @@
 
 
 #include "../../Include/RmlUi/Core/Header.h"
 #include "../../Include/RmlUi/Core/Header.h"
 #include "../../Include/RmlUi/Core/Debug.h"
 #include "../../Include/RmlUi/Core/Debug.h"
+#include "../../Include/RmlUi/Core/Traits.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 0 - 1
Source/Core/Profiling.cpp

@@ -27,7 +27,6 @@
  */
  */
 
 
   
   
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Profiling.h"
 #include "../../Include/RmlUi/Core/Profiling.h"
 
 
 #ifdef RMLUI_ENABLE_PROFILING
 #ifdef RMLUI_ENABLE_PROFILING

+ 1 - 1
Source/Core/PropertiesIteratorView.cpp

@@ -26,8 +26,8 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/PropertiesIteratorView.h"
 #include "../../Include/RmlUi/Core/PropertiesIteratorView.h"
+#include "../../Include/RmlUi/Core/StyleSheetSpecification.h"
 #include "PropertiesIterator.h"
 #include "PropertiesIterator.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/Property.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/Property.h"
 #include "../../Include/RmlUi/Core/Property.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 
 

+ 0 - 1
Source/Core/PropertyDefinition.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/StyleSheetSpecification.h"
 #include "../../Include/RmlUi/Core/StyleSheetSpecification.h"

+ 1 - 1
Source/Core/PropertyDictionary.cpp

@@ -26,8 +26,8 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/PropertyDictionary.h"
 #include "../../Include/RmlUi/Core/PropertyDictionary.h"
+#include "../../Include/RmlUi/Core/ID.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 2 - 1
Source/Core/PropertyParserAnimation.cpp

@@ -27,9 +27,10 @@
  */
  */
 
 
 
 
-#include "precompiled.h"
 #include "PropertyParserAnimation.h"
 #include "PropertyParserAnimation.h"
 #include "../../Include/RmlUi/Core/StringUtilities.h"
 #include "../../Include/RmlUi/Core/StringUtilities.h"
+#include "../../Include/RmlUi/Core/PropertyIdSet.h"
+#include "../../Include/RmlUi/Core/StyleSheetSpecification.h"
 #include "PropertyShorthandDefinition.h"
 #include "PropertyShorthandDefinition.h"
 
 
 
 

+ 0 - 1
Source/Core/PropertyParserColour.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "PropertyParserColour.h"
 #include "PropertyParserColour.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/PropertyParserKeyword.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "PropertyParserKeyword.h"
 #include "PropertyParserKeyword.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/PropertyParserNumber.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "PropertyParserNumber.h"
 #include "PropertyParserNumber.h"
 
 
 namespace Rml {
 namespace Rml {

+ 0 - 1
Source/Core/PropertyParserString.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "PropertyParserString.h"
 #include "PropertyParserString.h"
 
 
 namespace Rml {
 namespace Rml {

+ 2 - 1
Source/Core/PropertyParserTransform.cpp

@@ -26,9 +26,10 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "PropertyParserTransform.h"
 #include "PropertyParserTransform.h"
 #include "../../Include/RmlUi/Core/TransformPrimitive.h"
 #include "../../Include/RmlUi/Core/TransformPrimitive.h"
+#include "../../Include/RmlUi/Core/Transform.h"
+#include "StringCache.h"
 
 
 namespace Rml {
 namespace Rml {
 namespace Core {
 namespace Core {

+ 1 - 0
Source/Core/PropertyShorthandDefinition.h

@@ -36,6 +36,7 @@ namespace Core {
 
 
 enum class ShorthandType;
 enum class ShorthandType;
 class PropertyDefinition;
 class PropertyDefinition;
+struct ShorthandDefinition;
 
 
 enum class ShorthandItemType { Invalid, Property, Shorthand };
 enum class ShorthandItemType { Invalid, Property, Shorthand };
 
 

+ 0 - 1
Source/Core/PropertySpecification.cpp

@@ -26,7 +26,6 @@
  *
  *
  */
  */
 
 
-#include "precompiled.h"
 #include "../../Include/RmlUi/Core/PropertySpecification.h"
 #include "../../Include/RmlUi/Core/PropertySpecification.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/Log.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"
 #include "../../Include/RmlUi/Core/PropertyDefinition.h"

Some files were not shown because too many files changed in this diff