freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master 439d239 07/41: [ftinspect] Rename `rendering` d


From: Werner Lemberg
Subject: [freetype2-demos] master 439d239 07/41: [ftinspect] Rename `rendering` dir to `glyphcomponents`.
Date: Mon, 3 Oct 2022 11:27:00 -0400 (EDT)

branch: master
commit 439d23976f0406df6291c6e5279ae000ea9fad48
Author: Charlie Jiang <w@chariri.moe>
Commit: Werner Lemberg <wl@gnu.org>

    [ftinspect] Rename `rendering` dir to `glyphcomponents`.
    
    All classes in `rendering` directory will be responsible for draw
    glyphs, either as independent widgets or as `QGraphicsItem`. However, the
    actual drawing part will be placed into `RenderingEngine`. Therefore, we
    rename it to `glyphcomponents`.
    
    * src/ftinspect/rendering/**: Renamed.
    
    * src/ftinspect/CMakeLists.txt, src/ftinspect/meson.build,
      src/ftinspect/maingui.cpp, src/ftinspect/maingui.hpp: Updated.
---
 src/ftinspect/CMakeLists.txt                                   | 10 +++++-----
 src/ftinspect/{rendering => glyphcomponents}/glyphbitmap.cpp   |  0
 src/ftinspect/{rendering => glyphcomponents}/glyphbitmap.hpp   |  0
 src/ftinspect/{rendering => glyphcomponents}/glyphoutline.cpp  |  0
 src/ftinspect/{rendering => glyphcomponents}/glyphoutline.hpp  |  0
 .../{rendering => glyphcomponents}/glyphpointnumbers.cpp       |  0
 .../{rendering => glyphcomponents}/glyphpointnumbers.hpp       |  0
 src/ftinspect/{rendering => glyphcomponents}/glyphpoints.cpp   |  0
 src/ftinspect/{rendering => glyphcomponents}/glyphpoints.hpp   |  0
 src/ftinspect/{rendering => glyphcomponents}/grid.cpp          |  0
 src/ftinspect/{rendering => glyphcomponents}/grid.hpp          |  0
 src/ftinspect/maingui.cpp                                      |  2 +-
 src/ftinspect/maingui.hpp                                      |  8 ++++----
 src/ftinspect/meson.build                                      | 10 +++++-----
 14 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/ftinspect/CMakeLists.txt b/src/ftinspect/CMakeLists.txt
index 4b34fe0..badc20a 100644
--- a/src/ftinspect/CMakeLists.txt
+++ b/src/ftinspect/CMakeLists.txt
@@ -23,11 +23,11 @@ add_executable(ftinspect
   "engine/engine.cpp"
   "engine/fontfilemanager.cpp"
 
-  "rendering/glyphbitmap.cpp"
-  "rendering/glyphoutline.cpp"
-  "rendering/glyphpointnumbers.cpp"
-  "rendering/glyphpoints.cpp"
-  "rendering/grid.cpp"
+  "glyphcomponents/glyphbitmap.cpp"
+  "glyphcomponents/glyphoutline.cpp"
+  "glyphcomponents/glyphpointnumbers.cpp"
+  "glyphcomponents/glyphpoints.cpp"
+  "glyphcomponents/grid.cpp"
 
   "widgets/customwidgets.cpp"
 
diff --git a/src/ftinspect/rendering/glyphbitmap.cpp 
b/src/ftinspect/glyphcomponents/glyphbitmap.cpp
similarity index 100%
rename from src/ftinspect/rendering/glyphbitmap.cpp
rename to src/ftinspect/glyphcomponents/glyphbitmap.cpp
diff --git a/src/ftinspect/rendering/glyphbitmap.hpp 
b/src/ftinspect/glyphcomponents/glyphbitmap.hpp
similarity index 100%
rename from src/ftinspect/rendering/glyphbitmap.hpp
rename to src/ftinspect/glyphcomponents/glyphbitmap.hpp
diff --git a/src/ftinspect/rendering/glyphoutline.cpp 
b/src/ftinspect/glyphcomponents/glyphoutline.cpp
similarity index 100%
rename from src/ftinspect/rendering/glyphoutline.cpp
rename to src/ftinspect/glyphcomponents/glyphoutline.cpp
diff --git a/src/ftinspect/rendering/glyphoutline.hpp 
b/src/ftinspect/glyphcomponents/glyphoutline.hpp
similarity index 100%
rename from src/ftinspect/rendering/glyphoutline.hpp
rename to src/ftinspect/glyphcomponents/glyphoutline.hpp
diff --git a/src/ftinspect/rendering/glyphpointnumbers.cpp 
b/src/ftinspect/glyphcomponents/glyphpointnumbers.cpp
similarity index 100%
rename from src/ftinspect/rendering/glyphpointnumbers.cpp
rename to src/ftinspect/glyphcomponents/glyphpointnumbers.cpp
diff --git a/src/ftinspect/rendering/glyphpointnumbers.hpp 
b/src/ftinspect/glyphcomponents/glyphpointnumbers.hpp
similarity index 100%
rename from src/ftinspect/rendering/glyphpointnumbers.hpp
rename to src/ftinspect/glyphcomponents/glyphpointnumbers.hpp
diff --git a/src/ftinspect/rendering/glyphpoints.cpp 
b/src/ftinspect/glyphcomponents/glyphpoints.cpp
similarity index 100%
rename from src/ftinspect/rendering/glyphpoints.cpp
rename to src/ftinspect/glyphcomponents/glyphpoints.cpp
diff --git a/src/ftinspect/rendering/glyphpoints.hpp 
b/src/ftinspect/glyphcomponents/glyphpoints.hpp
similarity index 100%
rename from src/ftinspect/rendering/glyphpoints.hpp
rename to src/ftinspect/glyphcomponents/glyphpoints.hpp
diff --git a/src/ftinspect/rendering/grid.cpp 
b/src/ftinspect/glyphcomponents/grid.cpp
similarity index 100%
rename from src/ftinspect/rendering/grid.cpp
rename to src/ftinspect/glyphcomponents/grid.cpp
diff --git a/src/ftinspect/rendering/grid.hpp 
b/src/ftinspect/glyphcomponents/grid.hpp
similarity index 100%
rename from src/ftinspect/rendering/grid.hpp
rename to src/ftinspect/glyphcomponents/grid.hpp
diff --git a/src/ftinspect/maingui.cpp b/src/ftinspect/maingui.cpp
index 4071412..c5c2f27 100644
--- a/src/ftinspect/maingui.cpp
+++ b/src/ftinspect/maingui.cpp
@@ -4,7 +4,7 @@
 
 
 #include "maingui.hpp"
-#include "rendering/grid.hpp"
+#include "glyphcomponents/grid.hpp"
 #include "uihelper.hpp"
 
 #include <QApplication>
diff --git a/src/ftinspect/maingui.hpp b/src/ftinspect/maingui.hpp
index 2be65b9..97625af 100644
--- a/src/ftinspect/maingui.hpp
+++ b/src/ftinspect/maingui.hpp
@@ -6,10 +6,10 @@
 #pragma once
 
 #include "engine/engine.hpp"
-#include "rendering/glyphbitmap.hpp"
-#include "rendering/glyphoutline.hpp"
-#include "rendering/glyphpointnumbers.hpp"
-#include "rendering/glyphpoints.hpp"
+#include "glyphcomponents/glyphbitmap.hpp"
+#include "glyphcomponents/glyphoutline.hpp"
+#include "glyphcomponents/glyphpointnumbers.hpp"
+#include "glyphcomponents/glyphpoints.hpp"
 #include "widgets/customwidgets.hpp"
 #include "models/customcomboboxmodels.hpp"
 
diff --git a/src/ftinspect/meson.build b/src/ftinspect/meson.build
index 182372b..07ec87e 100644
--- a/src/ftinspect/meson.build
+++ b/src/ftinspect/meson.build
@@ -24,11 +24,11 @@ if qt5_dep.found()
     'engine/engine.cpp',
     'engine/fontfilemanager.cpp',
 
-    'rendering/glyphbitmap.cpp',
-    'rendering/glyphoutline.cpp',
-    'rendering/glyphpointnumbers.cpp',
-    'rendering/glyphpoints.cpp',
-    'rendering/grid.cpp',
+    'glyphcomponents/glyphbitmap.cpp',
+    'glyphcomponents/glyphoutline.cpp',
+    'glyphcomponents/glyphpointnumbers.cpp',
+    'glyphcomponents/glyphpoints.cpp',
+    'glyphcomponents/grid.cpp',
 
     'widgets/customwidgets.cpp',
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]