freetype-commit
[Top][All Lists]
Advanced

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

[freetype2-demos] master 63d323d: [ftinspect] Minor.


From: Werner LEMBERG
Subject: [freetype2-demos] master 63d323d: [ftinspect] Minor.
Date: Tue, 10 May 2016 03:28:18 +0000 (UTC)

branch: master
commit 63d323d590214147a76c191908a83bba1f9965c6
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    [ftinspect] Minor.
    
    * src/ftinspect.cpp, src/ftinspect.h: Rename `point indices' to
    `point numbers'.
---
 ChangeLog         |    7 +++++++
 src/ftinspect.cpp |   18 +++++++++---------
 src/ftinspect.h   |    4 ++--
 3 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b8af160..1fb61b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2016-05-10  Werner Lemberg  <address@hidden>
 
+       [ftinspect] Minor.
+
+       * src/ftinspect.cpp, src/ftinspect.h: Rename `point indices' to
+       `point numbers'.
+
+2016-05-10  Werner Lemberg  <address@hidden>
+
        [ftinspect] Display glyph point numbers.
 
        * src/ftinspect.cpp (GlyphPointNumbers::GlyphPointNumbers,
diff --git a/src/ftinspect.cpp b/src/ftinspect.cpp
index 8e2853d..30942c5 100644
--- a/src/ftinspect.cpp
+++ b/src/ftinspect.cpp
@@ -1249,9 +1249,9 @@ void
 MainGUI::checkShowPoints()
 {
   if (showPointsCheckBox->isChecked())
-    showPointIndicesCheckBox->setEnabled(true);
+    showPointNumbersCheckBox->setEnabled(true);
   else
-    showPointIndicesCheckBox->setEnabled(false);
+    showPointNumbersCheckBox->setEnabled(false);
 
   drawGlyph();
 }
@@ -1556,7 +1556,7 @@ MainGUI::drawGlyph()
         currentGlyphPointsItem = new GlyphPoints(onPen, offPen, outline);
         glyphScene->addItem(currentGlyphPointsItem);
 
-        if (showPointIndicesCheckBox->isChecked())
+        if (showPointNumbersCheckBox->isChecked())
         {
           currentGlyphPointNumbersItem = new GlyphPointNumbers(onPen,
                                                                offPen,
@@ -1657,7 +1657,7 @@ MainGUI::createLayout()
 
   showBitmapCheckBox = new QCheckBox(tr("Show Bitmap"));
   showPointsCheckBox = new QCheckBox(tr("Show Points"));
-  showPointIndicesCheckBox = new QCheckBox(tr("Show Point Indices"));
+  showPointNumbersCheckBox = new QCheckBox(tr("Show Point Numbers"));
   showOutlinesCheckBox = new QCheckBox(tr("Show Outlines"));
 
   watchButton = new QPushButton(tr("Watch"));
@@ -1698,9 +1698,9 @@ MainGUI::createLayout()
   gammaLayout->addWidget(gammaLabel);
   gammaLayout->addWidget(gammaSlider);
 
-  pointIndicesLayout = new QHBoxLayout;
-  pointIndicesLayout->addSpacing(20); // XXX px
-  pointIndicesLayout->addWidget(showPointIndicesCheckBox);
+  pointNumbersLayout = new QHBoxLayout;
+  pointNumbersLayout->addSpacing(20); // XXX px
+  pointNumbersLayout->addWidget(showPointNumbersCheckBox);
 
   generalTabLayout = new QVBoxLayout;
   generalTabLayout->addWidget(hintingCheckBox);
@@ -1722,7 +1722,7 @@ MainGUI::createLayout()
   generalTabLayout->addStretch(1);
   generalTabLayout->addWidget(showBitmapCheckBox);
   generalTabLayout->addWidget(showPointsCheckBox);
-  generalTabLayout->addLayout(pointIndicesLayout);
+  generalTabLayout->addLayout(pointNumbersLayout);
   generalTabLayout->addWidget(showOutlinesCheckBox);
 
   generalTabWidget = new QWidget;
@@ -1900,7 +1900,7 @@ MainGUI::createConnections()
           SLOT(checkAutoHinting()));
   connect(showPointsCheckBox, SIGNAL(clicked()),
           SLOT(checkShowPoints()));
-  connect(showPointIndicesCheckBox, SIGNAL(clicked()),
+  connect(showPointNumbersCheckBox, SIGNAL(clicked()),
           SLOT(drawGlyph()));
   connect(showOutlinesCheckBox, SIGNAL(clicked()),
           SLOT(drawGlyph()));
diff --git a/src/ftinspect.h b/src/ftinspect.h
index 1cadbe6..4b0711c 100644
--- a/src/ftinspect.h
+++ b/src/ftinspect.h
@@ -330,7 +330,7 @@ private:
   QCheckBox *segmentDrawingCheckBox;
   QCheckBox *showBitmapCheckBox;
   QCheckBox *showOutlinesCheckBox;
-  QCheckBox *showPointIndicesCheckBox;
+  QCheckBox *showPointNumbersCheckBox;
   QCheckBox *showPointsCheckBox;
   QCheckBox *verticalHintingCheckBox;
   QCheckBox *warpingCheckBox;
@@ -359,7 +359,7 @@ private:
   QHBoxLayout *horizontalHintingLayout;
   QHBoxLayout *lcdFilterLayout;
   QHBoxLayout *navigationLayout;
-  QHBoxLayout *pointIndicesLayout;
+  QHBoxLayout *pointNumbersLayout;
   QHBoxLayout *segmentDrawingLayout;
   QHBoxLayout *sizeLayout;
   QHBoxLayout *verticalHintingLayout;



reply via email to

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