freetype-commit
[Top][All Lists]
Advanced

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

[freetype2-demos] master a26462f 5/7: [ftinspect] Indend `show point ind


From: Werner LEMBERG
Subject: [freetype2-demos] master a26462f 5/7: [ftinspect] Indend `show point indices' check box.
Date: Fri, 06 May 2016 14:20:49 +0000

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

    [ftinspect] Indend `show point indices' check box.
    
    * src/ftinspect.cpp (MainGUI::createLayout): Implement it.
    
    * src/ftinspect.h: Updated.
---
 ChangeLog         |    8 ++++++++
 src/ftinspect.cpp |    6 +++++-
 src/ftinspect.h   |    1 +
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 64177fd..a965bc8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2016-05-06  Werner Lemberg  <address@hidden>
 
+       [ftinspect] Indend `show point indices' check box.
+
+       * src/ftinspect.cpp (MainGUI::createLayout): Implement it.
+
+       * src/ftinspect.h: Updated.
+
+2016-05-06  Werner Lemberg  <address@hidden>
+
        [ftinspect] Minor.
 
        * src/ftinspect.cpp (MainGUI::checkAutoHinting): Fix logic for
diff --git a/src/ftinspect.cpp b/src/ftinspect.cpp
index db1baee..0859bdd 100644
--- a/src/ftinspect.cpp
+++ b/src/ftinspect.cpp
@@ -862,6 +862,10 @@ MainGUI::createLayout()
   gammaLayout->addWidget(gammaLabel);
   gammaLayout->addWidget(gammaSlider);
 
+  pointIndicesLayout = new QHBoxLayout;
+  pointIndicesLayout->addSpacing(20); // XXX px
+  pointIndicesLayout->addWidget(showPointIndicesCheckBox);
+
   generalTabLayout = new QVBoxLayout;
   generalTabLayout->addLayout(hintingModeLayout);
   generalTabLayout->addWidget(autoHintingCheckBox);
@@ -881,7 +885,7 @@ MainGUI::createLayout()
   generalTabLayout->addStretch(1);
   generalTabLayout->addWidget(showBitmapCheckBox);
   generalTabLayout->addWidget(showPointsCheckBox);
-  generalTabLayout->addWidget(showPointIndicesCheckBox);
+  generalTabLayout->addLayout(pointIndicesLayout);
   generalTabLayout->addWidget(showOutlinesCheckBox);
 
   generalTabWidget = new QWidget;
diff --git a/src/ftinspect.h b/src/ftinspect.h
index a7a28e7..74dd6b8 100644
--- a/src/ftinspect.h
+++ b/src/ftinspect.h
@@ -225,6 +225,7 @@ private:
   QHBoxLayout *horizontalHintingLayout;
   QHBoxLayout *lcdFilterLayout;
   QHBoxLayout *navigationLayout;
+  QHBoxLayout *pointIndicesLayout;
   QHBoxLayout *segmentDrawingLayout;
   QHBoxLayout *sizeLayout;
   QHBoxLayout *verticalHintingLayout;



reply via email to

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