diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/cru/common/PreConfig.hpp (renamed from include/cru/common/pre_config.hpp) | 0 | ||||
-rw-r--r-- | include/cru/common/SelfResolvable.hpp (renamed from include/cru/common/self_resolvable.hpp) | 2 | ||||
-rw-r--r-- | include/cru/common/base.hpp | 2 | ||||
-rw-r--r-- | include/cru/common/bitmask.hpp | 2 | ||||
-rw-r--r-- | include/cru/common/event.hpp | 4 | ||||
-rw-r--r-- | include/cru/common/logger.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/GraphBase.hpp (renamed from include/cru/platform/graph_base.hpp) | 2 | ||||
-rw-r--r-- | include/cru/platform/HeapDebug.hpp (renamed from include/cru/platform/heap_debug.hpp) | 2 | ||||
-rw-r--r-- | include/cru/platform/check.hpp | 4 | ||||
-rw-r--r-- | include/cru/platform/exception.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/graph/TextLayout.hpp (renamed from include/cru/platform/graph/text_layout.hpp) | 2 | ||||
-rw-r--r-- | include/cru/platform/graph/base.hpp | 6 | ||||
-rw-r--r-- | include/cru/platform/graph/brush.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/graph/factory.hpp | 10 | ||||
-rw-r--r-- | include/cru/platform/graph/font.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/graph/geometry.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/graph/painter.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/graph/resource.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/graph/util/painter.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/matrix.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/native/InputMethod.hpp (renamed from include/cru/platform/native/input_method.hpp) | 6 | ||||
-rw-r--r-- | include/cru/platform/native/UiApplication.hpp (renamed from include/cru/platform/native/ui_application.hpp) | 4 | ||||
-rw-r--r-- | include/cru/platform/native/base.hpp | 8 | ||||
-rw-r--r-- | include/cru/platform/native/cursor.hpp | 4 | ||||
-rw-r--r-- | include/cru/platform/native/keyboard.hpp | 2 | ||||
-rw-r--r-- | include/cru/platform/native/window.hpp | 6 | ||||
-rw-r--r-- | include/cru/platform/resource.hpp | 2 | ||||
-rw-r--r-- | include/cru/ui/ClickDetector.hpp (renamed from include/cru/ui/click_detector.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/ContentControl.hpp (renamed from include/cru/ui/content_control.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/LayoutControl.hpp (renamed from include/cru/ui/layout_control.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/NoChildControl.hpp (renamed from include/cru/ui/no_child_control.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/UiEvent.hpp (renamed from include/cru/ui/ui_event.hpp) | 6 | ||||
-rw-r--r-- | include/cru/ui/UiHost.hpp (renamed from include/cru/ui/ui_host.hpp) | 8 | ||||
-rw-r--r-- | include/cru/ui/UiManager.hpp (renamed from include/cru/ui/ui_manager.hpp) | 4 | ||||
-rw-r--r-- | include/cru/ui/base.hpp | 6 | ||||
-rw-r--r-- | include/cru/ui/control.hpp | 8 | ||||
-rw-r--r-- | include/cru/ui/controls/FlexLayout.hpp (renamed from include/cru/ui/controls/flex_layout.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/controls/StackLayout.hpp (renamed from include/cru/ui/controls/stack_layout.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/controls/TextBlock.hpp (renamed from include/cru/ui/controls/text_block.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/controls/TextBox.hpp (renamed from include/cru/ui/controls/text_box.hpp) | 4 | ||||
-rw-r--r-- | include/cru/ui/controls/base.hpp | 2 | ||||
-rw-r--r-- | include/cru/ui/controls/button.hpp | 6 | ||||
-rw-r--r-- | include/cru/ui/controls/container.hpp | 2 | ||||
-rw-r--r-- | include/cru/ui/render/BorderRenderObject.hpp (renamed from include/cru/ui/render/border_render_object.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/render/CanvasRenderObject.hpp (renamed from include/cru/ui/render/canvas_render_object.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/render/FlexLayoutRenderObject.hpp (renamed from include/cru/ui/render/flex_layout_render_object.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/render/LayoutRenderObject.hpp (renamed from include/cru/ui/render/layout_render_object.hpp) | 4 | ||||
-rw-r--r-- | include/cru/ui/render/LayoutUtility.hpp (renamed from include/cru/ui/render/layout_utility.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/render/RenderObject.hpp (renamed from include/cru/ui/render/render_object.hpp) | 4 | ||||
-rw-r--r-- | include/cru/ui/render/ScrollRenderObject.hpp (renamed from include/cru/ui/render/scroll_render_object.hpp) | 4 | ||||
-rw-r--r-- | include/cru/ui/render/StackLayoutRenderObject.hpp (renamed from include/cru/ui/render/stack_layout_render_object.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/render/TextRenderObject.hpp (renamed from include/cru/ui/render/text_render_object.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/render/WindowRenderObject.hpp (renamed from include/cru/ui/render/window_render_object.hpp) | 2 | ||||
-rw-r--r-- | include/cru/ui/render/base.hpp | 2 | ||||
-rw-r--r-- | include/cru/ui/window.hpp | 2 | ||||
-rw-r--r-- | include/cru/win/WinPreConfig.hpp (renamed from include/cru/win/win_pre_config.hpp) | 2 | ||||
-rw-r--r-- | include/cru/win/exception.hpp | 4 | ||||
-rw-r--r-- | include/cru/win/graph/direct/ComResource.hpp (renamed from include/cru/win/graph/direct/com_resource.hpp) | 4 | ||||
-rw-r--r-- | include/cru/win/graph/direct/ConvertUtil.hpp (renamed from include/cru/win/graph/direct/convert_util.hpp) | 4 | ||||
-rw-r--r-- | include/cru/win/graph/direct/TextLayout.hpp (renamed from include/cru/win/graph/direct/text_layout.hpp) | 6 | ||||
-rw-r--r-- | include/cru/win/graph/direct/brush.hpp | 6 | ||||
-rw-r--r-- | include/cru/win/graph/direct/exception.hpp | 2 | ||||
-rw-r--r-- | include/cru/win/graph/direct/factory.hpp | 4 | ||||
-rw-r--r-- | include/cru/win/graph/direct/font.hpp | 6 | ||||
-rw-r--r-- | include/cru/win/graph/direct/geometry.hpp | 6 | ||||
-rw-r--r-- | include/cru/win/graph/direct/painter.hpp | 6 | ||||
-rw-r--r-- | include/cru/win/graph/direct/resource.hpp | 4 | ||||
-rw-r--r-- | include/cru/win/native/GodWindow.hpp (renamed from include/cru/win/native/god_window.hpp) | 2 | ||||
-rw-r--r-- | include/cru/win/native/InputMethod.hpp (renamed from include/cru/win/native/input_method.hpp) | 6 | ||||
-rw-r--r-- | include/cru/win/native/UiApplication.hpp (renamed from include/cru/win/native/ui_application.hpp) | 4 | ||||
-rw-r--r-- | include/cru/win/native/WindowClass.hpp (renamed from include/cru/win/native/window_class.hpp) | 2 | ||||
-rw-r--r-- | include/cru/win/native/WindowNativeMessageEventArgs.hpp (renamed from include/cru/win/native/window_native_message_event_args.hpp) | 4 | ||||
-rw-r--r-- | include/cru/win/native/WindowRenderTarget.hpp (renamed from include/cru/win/native/window_render_target.hpp) | 2 | ||||
-rw-r--r-- | include/cru/win/native/base.hpp | 4 | ||||
-rw-r--r-- | include/cru/win/native/cursor.hpp | 4 | ||||
-rw-r--r-- | include/cru/win/native/exception.hpp | 2 | ||||
-rw-r--r-- | include/cru/win/native/keyboard.hpp | 4 | ||||
-rw-r--r-- | include/cru/win/native/resource.hpp | 4 | ||||
-rw-r--r-- | include/cru/win/native/window.hpp | 6 | ||||
-rw-r--r-- | include/cru/win/string.hpp | 4 |
80 files changed, 139 insertions, 139 deletions
diff --git a/include/cru/common/pre_config.hpp b/include/cru/common/PreConfig.hpp index 4bccef1d..4bccef1d 100644 --- a/include/cru/common/pre_config.hpp +++ b/include/cru/common/PreConfig.hpp diff --git a/include/cru/common/self_resolvable.hpp b/include/cru/common/SelfResolvable.hpp index 19c06a1b..94f3ae87 100644 --- a/include/cru/common/self_resolvable.hpp +++ b/include/cru/common/SelfResolvable.hpp @@ -1,5 +1,5 @@ #pragma once -#include "pre_config.hpp" +#include "PreConfig.hpp" #include <memory> #include <type_traits> diff --git a/include/cru/common/base.hpp b/include/cru/common/base.hpp index 20dd811d..ff7ab31e 100644 --- a/include/cru/common/base.hpp +++ b/include/cru/common/base.hpp @@ -1,5 +1,5 @@ #pragma once -#include "pre_config.hpp" +#include "PreConfig.hpp" #include <gsl/gsl> diff --git a/include/cru/common/bitmask.hpp b/include/cru/common/bitmask.hpp index 95edee13..ddfdc86b 100644 --- a/include/cru/common/bitmask.hpp +++ b/include/cru/common/bitmask.hpp @@ -1,5 +1,5 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" namespace cru { template <typename Tag, typename TUnderlying = unsigned> diff --git a/include/cru/common/event.hpp b/include/cru/common/event.hpp index 8389b38e..377ca7f3 100644 --- a/include/cru/common/event.hpp +++ b/include/cru/common/event.hpp @@ -1,7 +1,7 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" -#include "self_resolvable.hpp" +#include "SelfResolvable.hpp" #include <algorithm> #include <functional> diff --git a/include/cru/common/logger.hpp b/include/cru/common/logger.hpp index ab3f2250..bd16678b 100644 --- a/include/cru/common/logger.hpp +++ b/include/cru/common/logger.hpp @@ -1,5 +1,5 @@ #pragma once -#include "cru/common/base.hpp" +#include "cru/common/Base.hpp" #include <fmt/format.h> #include <fmt/ostream.h> diff --git a/include/cru/platform/graph_base.hpp b/include/cru/platform/GraphBase.hpp index c880c7a2..af61eba3 100644 --- a/include/cru/platform/graph_base.hpp +++ b/include/cru/platform/GraphBase.hpp @@ -1,5 +1,5 @@ #pragma once -#include "cru/common/base.hpp" +#include "cru/common/Base.hpp" #include <cstdint> #include <optional> diff --git a/include/cru/platform/heap_debug.hpp b/include/cru/platform/HeapDebug.hpp index 9e3ae368..10ebfd2c 100644 --- a/include/cru/platform/heap_debug.hpp +++ b/include/cru/platform/HeapDebug.hpp @@ -1,5 +1,5 @@ #pragma once -#include "cru/common/pre_config.hpp" +#include "cru/common/PreConfig.hpp" namespace cru::platform { // Setup the heap debug function. Currently I only use this on Windows... diff --git a/include/cru/platform/check.hpp b/include/cru/platform/check.hpp index 6e353afb..f4bbcfe8 100644 --- a/include/cru/platform/check.hpp +++ b/include/cru/platform/check.hpp @@ -1,6 +1,6 @@ #pragma once -#include "exception.hpp" -#include "resource.hpp" +#include "Exception.hpp" +#include "Resource.hpp" #include <fmt/format.h> #include <memory> diff --git a/include/cru/platform/exception.hpp b/include/cru/platform/exception.hpp index afe11c03..8b958a1d 100644 --- a/include/cru/platform/exception.hpp +++ b/include/cru/platform/exception.hpp @@ -1,5 +1,5 @@ #pragma once -#include "cru/common/base.hpp" +#include "cru/common/Base.hpp" #include <stdexcept> diff --git a/include/cru/platform/graph/text_layout.hpp b/include/cru/platform/graph/TextLayout.hpp index d91834c0..4086ac56 100644 --- a/include/cru/platform/graph/text_layout.hpp +++ b/include/cru/platform/graph/TextLayout.hpp @@ -1,5 +1,5 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" #include <string> #include <vector> diff --git a/include/cru/platform/graph/base.hpp b/include/cru/platform/graph/base.hpp index 002c2f51..61cfc5ef 100644 --- a/include/cru/platform/graph/base.hpp +++ b/include/cru/platform/graph/base.hpp @@ -1,7 +1,7 @@ #pragma once -#include "../graph_base.hpp" -#include "../matrix.hpp" -#include "../resource.hpp" +#include "../GraphBase.hpp" +#include "../Matrix.hpp" +#include "../Resource.hpp" #include <memory> diff --git a/include/cru/platform/graph/brush.hpp b/include/cru/platform/graph/brush.hpp index af7a1dec..e67384de 100644 --- a/include/cru/platform/graph/brush.hpp +++ b/include/cru/platform/graph/brush.hpp @@ -1,5 +1,5 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" namespace cru::platform::graph { struct IBrush : virtual IGraphResource {}; diff --git a/include/cru/platform/graph/factory.hpp b/include/cru/platform/graph/factory.hpp index 0ed45161..0a425d15 100644 --- a/include/cru/platform/graph/factory.hpp +++ b/include/cru/platform/graph/factory.hpp @@ -1,10 +1,10 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" -#include "brush.hpp" -#include "font.hpp" -#include "geometry.hpp" -#include "text_layout.hpp" +#include "Brush.hpp" +#include "Font.hpp" +#include "Geometry.hpp" +#include "TextLayout.hpp" #include <string> #include <string_view> diff --git a/include/cru/platform/graph/font.hpp b/include/cru/platform/graph/font.hpp index d0aa2d28..182cc15b 100644 --- a/include/cru/platform/graph/font.hpp +++ b/include/cru/platform/graph/font.hpp @@ -1,5 +1,5 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" namespace cru::platform::graph { struct IFont : virtual IGraphResource { diff --git a/include/cru/platform/graph/geometry.hpp b/include/cru/platform/graph/geometry.hpp index 85ffd3f6..354efd97 100644 --- a/include/cru/platform/graph/geometry.hpp +++ b/include/cru/platform/graph/geometry.hpp @@ -1,5 +1,5 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" namespace cru::platform::graph { struct IGeometry : virtual IGraphResource { diff --git a/include/cru/platform/graph/painter.hpp b/include/cru/platform/graph/painter.hpp index b6eb5452..27ae420b 100644 --- a/include/cru/platform/graph/painter.hpp +++ b/include/cru/platform/graph/painter.hpp @@ -1,5 +1,5 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" namespace cru::platform::graph { diff --git a/include/cru/platform/graph/resource.hpp b/include/cru/platform/graph/resource.hpp index 255865eb..8859360c 100644 --- a/include/cru/platform/graph/resource.hpp +++ b/include/cru/platform/graph/resource.hpp @@ -1,5 +1,5 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" namespace cru::platform::graph { struct IGraphFactory; diff --git a/include/cru/platform/graph/util/painter.hpp b/include/cru/platform/graph/util/painter.hpp index 72d96bc1..f9aec027 100644 --- a/include/cru/platform/graph/util/painter.hpp +++ b/include/cru/platform/graph/util/painter.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../painter.hpp" +#include "../Painter.hpp" #include <functional> #include <type_traits> diff --git a/include/cru/platform/matrix.hpp b/include/cru/platform/matrix.hpp index 030e1378..cea5198b 100644 --- a/include/cru/platform/matrix.hpp +++ b/include/cru/platform/matrix.hpp @@ -1,5 +1,5 @@ #pragma once -#include "graph_base.hpp" +#include "GraphBase.hpp" #include <cmath> diff --git a/include/cru/platform/native/input_method.hpp b/include/cru/platform/native/InputMethod.hpp index bcf030b4..1ede15b2 100644 --- a/include/cru/platform/native/input_method.hpp +++ b/include/cru/platform/native/InputMethod.hpp @@ -1,8 +1,8 @@ #pragma once -#include "../resource.hpp" -#include "base.hpp" +#include "../Resource.hpp" +#include "Base.hpp" -#include "cru/common/event.hpp" +#include "cru/common/Event.hpp" #include <iostream> #include <memory> diff --git a/include/cru/platform/native/ui_application.hpp b/include/cru/platform/native/UiApplication.hpp index afcc7117..1aa4df57 100644 --- a/include/cru/platform/native/ui_application.hpp +++ b/include/cru/platform/native/UiApplication.hpp @@ -1,6 +1,6 @@ #pragma once -#include "../resource.hpp" -#include "base.hpp" +#include "../Resource.hpp" +#include "Base.hpp" #include <chrono> #include <functional> diff --git a/include/cru/platform/native/base.hpp b/include/cru/platform/native/base.hpp index e0ecbda7..bba7b960 100644 --- a/include/cru/platform/native/base.hpp +++ b/include/cru/platform/native/base.hpp @@ -1,8 +1,8 @@ #pragma once -#include "cru/common/base.hpp" -#include "cru/common/bitmask.hpp" -#include "cru/platform/graph/base.hpp" -#include "keyboard.hpp" +#include "cru/common/Base.hpp" +#include "cru/common/Bitmask.hpp" +#include "cru/platform/graph/Base.hpp" +#include "Keyboard.hpp" namespace cru::platform::native { struct ICursor; diff --git a/include/cru/platform/native/cursor.hpp b/include/cru/platform/native/cursor.hpp index eae51ffe..6c8f8068 100644 --- a/include/cru/platform/native/cursor.hpp +++ b/include/cru/platform/native/cursor.hpp @@ -1,6 +1,6 @@ #pragma once -#include "../resource.hpp" -#include "base.hpp" +#include "../Resource.hpp" +#include "Base.hpp" #include <memory> diff --git a/include/cru/platform/native/keyboard.hpp b/include/cru/platform/native/keyboard.hpp index 8b5e6162..26a1409d 100644 --- a/include/cru/platform/native/keyboard.hpp +++ b/include/cru/platform/native/keyboard.hpp @@ -1,5 +1,5 @@ #pragma once -#include "cru/common/bitmask.hpp" +#include "cru/common/Bitmask.hpp" namespace cru::platform::native { // Because of the complexity of keyboard layout, I only add code in US keyboard diff --git a/include/cru/platform/native/window.hpp b/include/cru/platform/native/window.hpp index 57363a3b..1fcac1fc 100644 --- a/include/cru/platform/native/window.hpp +++ b/include/cru/platform/native/window.hpp @@ -1,7 +1,7 @@ #pragma once -#include "../resource.hpp" -#include "base.hpp" -#include "cru/common/event.hpp" +#include "../Resource.hpp" +#include "Base.hpp" +#include "cru/common/Event.hpp" #include <string_view> diff --git a/include/cru/platform/resource.hpp b/include/cru/platform/resource.hpp index 6b315527..72cfaf52 100644 --- a/include/cru/platform/resource.hpp +++ b/include/cru/platform/resource.hpp @@ -1,5 +1,5 @@ #pragma once -#include "cru/common/base.hpp" +#include "cru/common/Base.hpp" #include <string_view> diff --git a/include/cru/ui/click_detector.hpp b/include/cru/ui/ClickDetector.hpp index 6c4761e7..f5fd3d8f 100644 --- a/include/cru/ui/click_detector.hpp +++ b/include/cru/ui/ClickDetector.hpp @@ -1,5 +1,5 @@ #pragma once -#include "control.hpp" +#include "Control.hpp" namespace cru::ui { diff --git a/include/cru/ui/content_control.hpp b/include/cru/ui/ContentControl.hpp index f88ec157..19f13a1d 100644 --- a/include/cru/ui/content_control.hpp +++ b/include/cru/ui/ContentControl.hpp @@ -1,5 +1,5 @@ #pragma once -#include "control.hpp" +#include "Control.hpp" namespace cru::ui { class ContentControl : public Control { diff --git a/include/cru/ui/layout_control.hpp b/include/cru/ui/LayoutControl.hpp index e1856403..7997b37e 100644 --- a/include/cru/ui/layout_control.hpp +++ b/include/cru/ui/LayoutControl.hpp @@ -1,5 +1,5 @@ #pragma once -#include "control.hpp" +#include "Control.hpp" namespace cru::ui { class LayoutControl : public Control { diff --git a/include/cru/ui/no_child_control.hpp b/include/cru/ui/NoChildControl.hpp index 62a9fa8d..1a31ae7e 100644 --- a/include/cru/ui/no_child_control.hpp +++ b/include/cru/ui/NoChildControl.hpp @@ -1,5 +1,5 @@ #pragma once -#include "control.hpp" +#include "Control.hpp" namespace cru::ui { class NoChildControl : public Control { diff --git a/include/cru/ui/ui_event.hpp b/include/cru/ui/UiEvent.hpp index a9d6028a..29292d75 100644 --- a/include/cru/ui/ui_event.hpp +++ b/include/cru/ui/UiEvent.hpp @@ -1,8 +1,8 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" -#include "cru/common/event.hpp" -#include "cru/platform/native/keyboard.hpp" +#include "cru/common/Event.hpp" +#include "cru/platform/native/Keyboard.hpp" #include <memory> #include <optional> diff --git a/include/cru/ui/ui_host.hpp b/include/cru/ui/UiHost.hpp index ca2b70a4..651dab81 100644 --- a/include/cru/ui/ui_host.hpp +++ b/include/cru/ui/UiHost.hpp @@ -1,9 +1,9 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" -#include "cru/common/event.hpp" -#include "cru/common/self_resolvable.hpp" -#include "render/base.hpp" +#include "cru/common/Event.hpp" +#include "cru/common/SelfResolvable.hpp" +#include "render/Base.hpp" namespace cru::ui { struct AfterLayoutEventArgs {}; diff --git a/include/cru/ui/ui_manager.hpp b/include/cru/ui/UiManager.hpp index 9ad184c4..e6facdbd 100644 --- a/include/cru/ui/ui_manager.hpp +++ b/include/cru/ui/UiManager.hpp @@ -1,7 +1,7 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" -#include "controls/base.hpp" +#include "controls/Base.hpp" namespace cru::ui { struct ThemeResources { diff --git a/include/cru/ui/base.hpp b/include/cru/ui/base.hpp index a1335f90..97b0dbff 100644 --- a/include/cru/ui/base.hpp +++ b/include/cru/ui/base.hpp @@ -1,7 +1,7 @@ #pragma once -#include "cru/common/base.hpp" -#include "cru/platform/graph/base.hpp" -#include "cru/platform/native/base.hpp" +#include "cru/common/Base.hpp" +#include "cru/platform/graph/Base.hpp" +#include "cru/platform/native/Base.hpp" #include <functional> #include <memory> diff --git a/include/cru/ui/control.hpp b/include/cru/ui/control.hpp index d66405e6..347163be 100644 --- a/include/cru/ui/control.hpp +++ b/include/cru/ui/control.hpp @@ -1,9 +1,9 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" -#include "cru/common/event.hpp" -#include "render/base.hpp" -#include "ui_event.hpp" +#include "cru/common/Event.hpp" +#include "render/Base.hpp" +#include "UiEvent.hpp" #include <string_view> diff --git a/include/cru/ui/controls/flex_layout.hpp b/include/cru/ui/controls/FlexLayout.hpp index ab08a80b..beacd1f9 100644 --- a/include/cru/ui/controls/flex_layout.hpp +++ b/include/cru/ui/controls/FlexLayout.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../layout_control.hpp" +#include "../LayoutControl.hpp" namespace cru::ui::controls { class FlexLayout : public LayoutControl { diff --git a/include/cru/ui/controls/stack_layout.hpp b/include/cru/ui/controls/StackLayout.hpp index 20da0e82..d5998cc4 100644 --- a/include/cru/ui/controls/stack_layout.hpp +++ b/include/cru/ui/controls/StackLayout.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../layout_control.hpp" +#include "../LayoutControl.hpp" namespace cru::ui::controls { class StackLayout : public LayoutControl { diff --git a/include/cru/ui/controls/text_block.hpp b/include/cru/ui/controls/TextBlock.hpp index 61f568c4..dd8b40b4 100644 --- a/include/cru/ui/controls/text_block.hpp +++ b/include/cru/ui/controls/TextBlock.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../no_child_control.hpp" +#include "../NoChildControl.hpp" namespace cru::ui::controls { template <typename TControl> diff --git a/include/cru/ui/controls/text_box.hpp b/include/cru/ui/controls/TextBox.hpp index 15fcb734..2f7a12b6 100644 --- a/include/cru/ui/controls/text_box.hpp +++ b/include/cru/ui/controls/TextBox.hpp @@ -1,6 +1,6 @@ #pragma once -#include "../no_child_control.hpp" -#include "base.hpp" +#include "../NoChildControl.hpp" +#include "Base.hpp" #include <memory> diff --git a/include/cru/ui/controls/base.hpp b/include/cru/ui/controls/base.hpp index ebe9cdda..b550601b 100644 --- a/include/cru/ui/controls/base.hpp +++ b/include/cru/ui/controls/base.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../base.hpp" +#include "../Base.hpp" namespace cru::ui::controls { using ButtonStateStyle = BorderStyle; diff --git a/include/cru/ui/controls/button.hpp b/include/cru/ui/controls/button.hpp index fb636a33..8a11409c 100644 --- a/include/cru/ui/controls/button.hpp +++ b/include/cru/ui/controls/button.hpp @@ -1,8 +1,8 @@ #pragma once -#include "../content_control.hpp" -#include "base.hpp" +#include "../ContentControl.hpp" +#include "Base.hpp" -#include "../click_detector.hpp" +#include "../ClickDetector.hpp" namespace cru::ui::controls { class Button : public ContentControl { diff --git a/include/cru/ui/controls/container.hpp b/include/cru/ui/controls/container.hpp index 7d4c0d23..e3d78365 100644 --- a/include/cru/ui/controls/container.hpp +++ b/include/cru/ui/controls/container.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../content_control.hpp" +#include "../ContentControl.hpp" namespace cru::ui::controls { class Container : public ContentControl { diff --git a/include/cru/ui/render/border_render_object.hpp b/include/cru/ui/render/BorderRenderObject.hpp index 02672309..c3031f59 100644 --- a/include/cru/ui/render/border_render_object.hpp +++ b/include/cru/ui/render/BorderRenderObject.hpp @@ -1,5 +1,5 @@ #pragma once -#include "render_object.hpp" +#include "RenderObject.hpp" namespace cru::ui::render { class BorderRenderObject : public RenderObject { diff --git a/include/cru/ui/render/canvas_render_object.hpp b/include/cru/ui/render/CanvasRenderObject.hpp index cb3828b6..ba50a985 100644 --- a/include/cru/ui/render/canvas_render_object.hpp +++ b/include/cru/ui/render/CanvasRenderObject.hpp @@ -1,5 +1,5 @@ #pragma once -#include "render_object.hpp" +#include "RenderObject.hpp" namespace cru::ui::render { // The measure logic for `CanvasRenderObject` is that you set a desired size by diff --git a/include/cru/ui/render/flex_layout_render_object.hpp b/include/cru/ui/render/FlexLayoutRenderObject.hpp index 849c1a0d..bc43141d 100644 --- a/include/cru/ui/render/flex_layout_render_object.hpp +++ b/include/cru/ui/render/FlexLayoutRenderObject.hpp @@ -1,5 +1,5 @@ #pragma once -#include "layout_render_object.hpp" +#include "LayoutRenderObject.hpp" namespace cru::ui::render { class FlexLayoutRenderObject : public LayoutRenderObject<FlexChildLayoutData> { diff --git a/include/cru/ui/render/layout_render_object.hpp b/include/cru/ui/render/LayoutRenderObject.hpp index 5c4c9c5c..e6ca9dc0 100644 --- a/include/cru/ui/render/layout_render_object.hpp +++ b/include/cru/ui/render/LayoutRenderObject.hpp @@ -1,7 +1,7 @@ #pragma once -#include "render_object.hpp" +#include "RenderObject.hpp" -#include "cru/platform/graph/util/painter.hpp" +#include "cru/platform/graph/util/Painter.hpp" namespace cru::ui::render { template <typename TChildLayoutData> diff --git a/include/cru/ui/render/layout_utility.hpp b/include/cru/ui/render/LayoutUtility.hpp index 16a15d87..63d13fd3 100644 --- a/include/cru/ui/render/layout_utility.hpp +++ b/include/cru/ui/render/LayoutUtility.hpp @@ -1,5 +1,5 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" namespace cru::ui::render { Size Min(const Size& left, const Size& right); diff --git a/include/cru/ui/render/render_object.hpp b/include/cru/ui/render/RenderObject.hpp index 6a8db52f..7cfa3883 100644 --- a/include/cru/ui/render/render_object.hpp +++ b/include/cru/ui/render/RenderObject.hpp @@ -1,7 +1,7 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" -#include "cru/common/event.hpp" +#include "cru/common/Event.hpp" namespace cru::ui::render { // Render object will not destroy its children when destroyed. Control must diff --git a/include/cru/ui/render/scroll_render_object.hpp b/include/cru/ui/render/ScrollRenderObject.hpp index 1527db6c..dcf6dae6 100644 --- a/include/cru/ui/render/scroll_render_object.hpp +++ b/include/cru/ui/render/ScrollRenderObject.hpp @@ -1,7 +1,7 @@ #pragma once -#include "render_object.hpp" +#include "RenderObject.hpp" -#include "cru/platform/graph/util/painter.hpp" +#include "cru/platform/graph/util/Painter.hpp" namespace cru::ui::render { class ScrollRenderObject : public RenderObject { diff --git a/include/cru/ui/render/stack_layout_render_object.hpp b/include/cru/ui/render/StackLayoutRenderObject.hpp index c259b98d..a5bf9335 100644 --- a/include/cru/ui/render/stack_layout_render_object.hpp +++ b/include/cru/ui/render/StackLayoutRenderObject.hpp @@ -1,5 +1,5 @@ #pragma once -#include "layout_render_object.hpp" +#include "LayoutRenderObject.hpp" namespace cru::ui::render { class StackLayoutRenderObject diff --git a/include/cru/ui/render/text_render_object.hpp b/include/cru/ui/render/TextRenderObject.hpp index 4b1e91e0..7a81ba51 100644 --- a/include/cru/ui/render/text_render_object.hpp +++ b/include/cru/ui/render/TextRenderObject.hpp @@ -1,5 +1,5 @@ #pragma once -#include "render_object.hpp" +#include "RenderObject.hpp" #include <string> diff --git a/include/cru/ui/render/window_render_object.hpp b/include/cru/ui/render/WindowRenderObject.hpp index 76b17b82..00bce29b 100644 --- a/include/cru/ui/render/window_render_object.hpp +++ b/include/cru/ui/render/WindowRenderObject.hpp @@ -1,5 +1,5 @@ #pragma once -#include "render_object.hpp" +#include "RenderObject.hpp" namespace cru::ui::render { class WindowRenderObject : public RenderObject { diff --git a/include/cru/ui/render/base.hpp b/include/cru/ui/render/base.hpp index f9d936e0..c2af5e99 100644 --- a/include/cru/ui/render/base.hpp +++ b/include/cru/ui/render/base.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../base.hpp" +#include "../Base.hpp" namespace cru::ui::render { class RenderObject; diff --git a/include/cru/ui/window.hpp b/include/cru/ui/window.hpp index 2f5df4da..eb2ecfbb 100644 --- a/include/cru/ui/window.hpp +++ b/include/cru/ui/window.hpp @@ -1,5 +1,5 @@ #pragma once -#include "content_control.hpp" +#include "ContentControl.hpp" namespace cru::ui { class Window final : public ContentControl { diff --git a/include/cru/win/win_pre_config.hpp b/include/cru/win/WinPreConfig.hpp index a7dc72f3..1613da95 100644 --- a/include/cru/win/win_pre_config.hpp +++ b/include/cru/win/WinPreConfig.hpp @@ -1,6 +1,6 @@ #pragma once -#include "cru/common/pre_config.hpp" +#include "cru/common/PreConfig.hpp" #define NOMINMAX #define WIN32_LEAN_AND_MEAN diff --git a/include/cru/win/exception.hpp b/include/cru/win/exception.hpp index 95eb4079..234aea69 100644 --- a/include/cru/win/exception.hpp +++ b/include/cru/win/exception.hpp @@ -1,7 +1,7 @@ #pragma once -#include "win_pre_config.hpp" +#include "WinPreConfig.hpp" -#include "cru/platform/exception.hpp" +#include "cru/platform/Exception.hpp" #include <stdexcept> #include <string_view> diff --git a/include/cru/win/graph/direct/com_resource.hpp b/include/cru/win/graph/direct/ComResource.hpp index a6c83434..2ac332cd 100644 --- a/include/cru/win/graph/direct/com_resource.hpp +++ b/include/cru/win/graph/direct/ComResource.hpp @@ -1,7 +1,7 @@ #pragma once -#include "../../win_pre_config.hpp" +#include "../../WinPreConfig.hpp" -#include "cru/common/base.hpp" +#include "cru/common/Base.hpp" namespace cru::platform::graph::win::direct { template <typename TInterface> diff --git a/include/cru/win/graph/direct/convert_util.hpp b/include/cru/win/graph/direct/ConvertUtil.hpp index ef343a3f..12a04c7b 100644 --- a/include/cru/win/graph/direct/convert_util.hpp +++ b/include/cru/win/graph/direct/ConvertUtil.hpp @@ -1,7 +1,7 @@ #pragma once -#include "../../win_pre_config.hpp" +#include "../../WinPreConfig.hpp" -#include "cru/platform/graph/base.hpp" +#include "cru/platform/graph/Base.hpp" namespace cru::platform::graph::win::direct { inline D2D1_MATRIX_3X2_F Convert(const platform::Matrix& matrix) { diff --git a/include/cru/win/graph/direct/text_layout.hpp b/include/cru/win/graph/direct/TextLayout.hpp index 2870db96..1a378ed4 100644 --- a/include/cru/win/graph/direct/text_layout.hpp +++ b/include/cru/win/graph/direct/TextLayout.hpp @@ -1,8 +1,8 @@ #pragma once -#include "com_resource.hpp" -#include "resource.hpp" +#include "ComResource.hpp" +#include "Resource.hpp" -#include "cru/platform/graph/text_layout.hpp" +#include "cru/platform/graph/TextLayout.hpp" #include <memory> diff --git a/include/cru/win/graph/direct/brush.hpp b/include/cru/win/graph/direct/brush.hpp index 0726ec3f..df1debe3 100644 --- a/include/cru/win/graph/direct/brush.hpp +++ b/include/cru/win/graph/direct/brush.hpp @@ -1,8 +1,8 @@ #pragma once -#include "com_resource.hpp" -#include "resource.hpp" +#include "ComResource.hpp" +#include "Resource.hpp" -#include "cru/platform/graph/brush.hpp" +#include "cru/platform/graph/Brush.hpp" namespace cru::platform::graph::win::direct { struct ID2DBrush : virtual IBrush { diff --git a/include/cru/win/graph/direct/exception.hpp b/include/cru/win/graph/direct/exception.hpp index 8e955825..8b62e8fa 100644 --- a/include/cru/win/graph/direct/exception.hpp +++ b/include/cru/win/graph/direct/exception.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../../exception.hpp" +#include "../../Exception.hpp" namespace cru::platform::graph::win::direct { using platform::win::HResultError; diff --git a/include/cru/win/graph/direct/factory.hpp b/include/cru/win/graph/direct/factory.hpp index cf5ccaee..763d4b2b 100644 --- a/include/cru/win/graph/direct/factory.hpp +++ b/include/cru/win/graph/direct/factory.hpp @@ -1,7 +1,7 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" -#include "cru/platform/graph/factory.hpp" +#include "cru/platform/graph/Factory.hpp" namespace cru::platform::graph::win::direct { class DirectGraphFactory : public DirectResource, public virtual IGraphFactory { diff --git a/include/cru/win/graph/direct/font.hpp b/include/cru/win/graph/direct/font.hpp index ee2e319b..ecf9fd81 100644 --- a/include/cru/win/graph/direct/font.hpp +++ b/include/cru/win/graph/direct/font.hpp @@ -1,8 +1,8 @@ #pragma once -#include "com_resource.hpp" -#include "resource.hpp" +#include "ComResource.hpp" +#include "Resource.hpp" -#include "cru/platform/graph/font.hpp" +#include "cru/platform/graph/Font.hpp" #include <string_view> diff --git a/include/cru/win/graph/direct/geometry.hpp b/include/cru/win/graph/direct/geometry.hpp index 086b31cc..87987d3e 100644 --- a/include/cru/win/graph/direct/geometry.hpp +++ b/include/cru/win/graph/direct/geometry.hpp @@ -1,8 +1,8 @@ #pragma once -#include "com_resource.hpp" -#include "resource.hpp" +#include "ComResource.hpp" +#include "Resource.hpp" -#include "cru/platform/graph/geometry.hpp" +#include "cru/platform/graph/Geometry.hpp" namespace cru::platform::graph::win::direct { class D2DGeometryBuilder : public DirectGraphResource, diff --git a/include/cru/win/graph/direct/painter.hpp b/include/cru/win/graph/direct/painter.hpp index 4f2164c9..a50f962d 100644 --- a/include/cru/win/graph/direct/painter.hpp +++ b/include/cru/win/graph/direct/painter.hpp @@ -1,8 +1,8 @@ #pragma once -#include "com_resource.hpp" -#include "resource.hpp" +#include "ComResource.hpp" +#include "Resource.hpp" -#include "cru/platform/graph/painter.hpp" +#include "cru/platform/graph/Painter.hpp" #include <vector> diff --git a/include/cru/win/graph/direct/resource.hpp b/include/cru/win/graph/direct/resource.hpp index 94a91a40..d0a30dbd 100644 --- a/include/cru/win/graph/direct/resource.hpp +++ b/include/cru/win/graph/direct/resource.hpp @@ -1,7 +1,7 @@ #pragma once -#include "../../win_pre_config.hpp" +#include "../../WinPreConfig.hpp" -#include "cru/platform/graph/resource.hpp" +#include "cru/platform/graph/Resource.hpp" #include <string_view> diff --git a/include/cru/win/native/god_window.hpp b/include/cru/win/native/GodWindow.hpp index 33218a55..1dd99661 100644 --- a/include/cru/win/native/god_window.hpp +++ b/include/cru/win/native/GodWindow.hpp @@ -1,5 +1,5 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" #include <memory> diff --git a/include/cru/win/native/input_method.hpp b/include/cru/win/native/InputMethod.hpp index ff867f3f..0e9634aa 100644 --- a/include/cru/win/native/input_method.hpp +++ b/include/cru/win/native/InputMethod.hpp @@ -3,10 +3,10 @@ // https://chromium.googlesource.com/chromium/chromium/+/refs/heads/master/ui/base/win/ime_input.cc #pragma once -#include "resource.hpp" +#include "Resource.hpp" -#include "cru/platform/native/input_method.hpp" -#include "window_native_message_event_args.hpp" +#include "cru/platform/native/InputMethod.hpp" +#include "WindowNativeMessageEventArgs.hpp" #include <imm.h> diff --git a/include/cru/win/native/ui_application.hpp b/include/cru/win/native/UiApplication.hpp index 250e855c..cbc08af7 100644 --- a/include/cru/win/native/ui_application.hpp +++ b/include/cru/win/native/UiApplication.hpp @@ -1,7 +1,7 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" -#include "cru/platform/native/ui_application.hpp" +#include "cru/platform/native/UiApplication.hpp" #include <memory> diff --git a/include/cru/win/native/window_class.hpp b/include/cru/win/native/WindowClass.hpp index 2140c304..fdd55065 100644 --- a/include/cru/win/native/window_class.hpp +++ b/include/cru/win/native/WindowClass.hpp @@ -1,5 +1,5 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" #include <string> diff --git a/include/cru/win/native/window_native_message_event_args.hpp b/include/cru/win/native/WindowNativeMessageEventArgs.hpp index f5476735..84a7a123 100644 --- a/include/cru/win/native/window_native_message_event_args.hpp +++ b/include/cru/win/native/WindowNativeMessageEventArgs.hpp @@ -1,7 +1,7 @@ #pragma once -#include "../win_pre_config.hpp" +#include "../WinPreConfig.hpp" -#include "cru/common/base.hpp" +#include "cru/common/Base.hpp" namespace cru::platform::native::win { struct WindowNativeMessage { diff --git a/include/cru/win/native/window_render_target.hpp b/include/cru/win/native/WindowRenderTarget.hpp index 552e87bc..83ac1e03 100644 --- a/include/cru/win/native/window_render_target.hpp +++ b/include/cru/win/native/WindowRenderTarget.hpp @@ -1,5 +1,5 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" namespace cru::platform::graph::win::direct { class DirectGraphFactory; diff --git a/include/cru/win/native/base.hpp b/include/cru/win/native/base.hpp index 61c9f4da..a50c6dd1 100644 --- a/include/cru/win/native/base.hpp +++ b/include/cru/win/native/base.hpp @@ -1,7 +1,7 @@ #pragma once -#include "../win_pre_config.hpp" +#include "../WinPreConfig.hpp" -#include "cru/common/base.hpp" +#include "cru/common/Base.hpp" namespace cru::platform::native::win { class GodWindow; diff --git a/include/cru/win/native/cursor.hpp b/include/cru/win/native/cursor.hpp index e5728b1c..152374d8 100644 --- a/include/cru/win/native/cursor.hpp +++ b/include/cru/win/native/cursor.hpp @@ -1,7 +1,7 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" -#include "cru/platform/native/cursor.hpp" +#include "cru/platform/native/Cursor.hpp" #include <memory> diff --git a/include/cru/win/native/exception.hpp b/include/cru/win/native/exception.hpp index ac15ab2d..6a5265c1 100644 --- a/include/cru/win/native/exception.hpp +++ b/include/cru/win/native/exception.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../exception.hpp" +#include "../Exception.hpp" namespace cru::platform::native::win { using platform::win::Win32Error; diff --git a/include/cru/win/native/keyboard.hpp b/include/cru/win/native/keyboard.hpp index afa51c92..790e0015 100644 --- a/include/cru/win/native/keyboard.hpp +++ b/include/cru/win/native/keyboard.hpp @@ -1,7 +1,7 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" -#include "cru/platform/native/keyboard.hpp" +#include "cru/platform/native/Keyboard.hpp" namespace cru::platform::native::win { KeyCode VirtualKeyToKeyCode(int virtual_key); diff --git a/include/cru/win/native/resource.hpp b/include/cru/win/native/resource.hpp index 5601e40e..7afaca0f 100644 --- a/include/cru/win/native/resource.hpp +++ b/include/cru/win/native/resource.hpp @@ -1,7 +1,7 @@ #pragma once -#include "base.hpp" +#include "Base.hpp" -#include "cru/platform/resource.hpp" +#include "cru/platform/Resource.hpp" namespace cru::platform::native::win { class WinNativeResource : public Object, public virtual INativeResource { diff --git a/include/cru/win/native/window.hpp b/include/cru/win/native/window.hpp index 59b38ab5..80bee39e 100644 --- a/include/cru/win/native/window.hpp +++ b/include/cru/win/native/window.hpp @@ -1,8 +1,8 @@ #pragma once -#include "resource.hpp" +#include "Resource.hpp" -#include "cru/platform/native/window.hpp" -#include "window_native_message_event_args.hpp" +#include "cru/platform/native/Window.hpp" +#include "WindowNativeMessageEventArgs.hpp" #include <memory> diff --git a/include/cru/win/string.hpp b/include/cru/win/string.hpp index aec0e3d9..3d68cff7 100644 --- a/include/cru/win/string.hpp +++ b/include/cru/win/string.hpp @@ -14,9 +14,9 @@ way.) */ #pragma once -#include "win_pre_config.hpp" +#include "WinPreConfig.hpp" -#include "cru/common/base.hpp" +#include "cru/common/Base.hpp" #include <cstdint> #include <stdexcept> |