diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-09-13 18:59:26 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2019-09-13 18:59:26 +0000 |
| commit | 5307fcaec0f5de6897e3b3328ed41cb380951036 (patch) | |
| tree | 6f0440fd208cbf15c8d50b40ad8ab4bf693288df /src/libnrtype | |
| parent | UX improvement for creating/modifying 'inline-size' text. (diff) | |
| download | inkscape-5307fcaec0f5de6897e3b3328ed41cb380951036.tar.gz inkscape-5307fcaec0f5de6897e3b3328ed41cb380951036.zip | |
Refactor of prepare inner and some comments
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/Layout-TNG-Input.cpp | 12 | ||||
| -rw-r--r-- | src/libnrtype/Layout-TNG.h | 7 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/libnrtype/Layout-TNG-Input.cpp b/src/libnrtype/Layout-TNG-Input.cpp index 7a01d4ca2..b523649e7 100644 --- a/src/libnrtype/Layout-TNG-Input.cpp +++ b/src/libnrtype/Layout-TNG-Input.cpp @@ -115,18 +115,6 @@ void Layout::appendControlCode(TextControlCode code, void *source_cookie, double _input_stream.push_back(new_code); } -void Layout::hideWrapShapes() -{ - _input_wrap_shapes_hided = _input_wrap_shapes; - _input_wrap_shapes.clear(); -} - -void Layout::showWrapShapes() -{ - _input_wrap_shapes = _input_wrap_shapes_hided; - _input_wrap_shapes_hided.clear(); -} - // more saving of the parameters void Layout::appendWrapShape(Shape const *shape, DisplayAlign display_align) { diff --git a/src/libnrtype/Layout-TNG.h b/src/libnrtype/Layout-TNG.h index 4f5c8ef74..2d0e37834 100644 --- a/src/libnrtype/Layout-TNG.h +++ b/src/libnrtype/Layout-TNG.h @@ -303,12 +303,6 @@ public: */ void appendWrapShape(Shape const *shape, DisplayAlign display_align = DISPLAY_ALIGN_BEFORE); - // Hide wrap shapes - void hideWrapShapes(); - - // Show wrap shapes - void showWrapShapes(); - // ************************** textLength and friends ************************* /** Gives the length target of this layout, as given by textLength attribute. @@ -803,7 +797,6 @@ private: DisplayAlign display_align; /// as passed to Layout::appendWrapShape() }; std::vector<InputWrapShape> _input_wrap_shapes; - std::vector<InputWrapShape> _input_wrap_shapes_hided; // ******************* output |
