diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-09-08 18:17:21 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-08 18:17:21 (GMT) |
commit | 690d926ac444243611cd875fb84fabb4e6db2cf2 (patch) | |
tree | c8ef84056b295071f9a9207ffea5393c6cf4ad4d /src/TextDialog.hh | |
parent | 1e8fe2bc14856fa16508686a28a85e72cb0e422c (diff) | |
download | fluxbox_pavel-690d926ac444243611cd875fb84fabb4e6db2cf2.zip fluxbox_pavel-690d926ac444243611cd875fb84fabb4e6db2cf2.tar.bz2 |
introduced FbTk::BidiString
a 'BidiString' holds both the logical content and the visual reordered
version of the content of a string. this helps to reduce the number of
calls to reorder the string before drawing it (as introduced in the patch
from Ken Bloom) and to be more consistent in menus and textboxes (drawing
cursors and underlining text).
Diffstat (limited to 'src/TextDialog.hh')
-rw-r--r-- | src/TextDialog.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TextDialog.hh b/src/TextDialog.hh index 41579b1..838ea0d 100644 --- a/src/TextDialog.hh +++ b/src/TextDialog.hh | |||
@@ -32,9 +32,9 @@ class TextDialog: public FbTk::FbWindow, public FbTk::EventHandler { | |||
32 | public: | 32 | public: |
33 | TextDialog(BScreen &screen, const std::string &title); | 33 | TextDialog(BScreen &screen, const std::string &title); |
34 | virtual ~TextDialog(); | 34 | virtual ~TextDialog(); |
35 | 35 | ||
36 | /// Sets the entry text. | 36 | /// Sets the entry text. |
37 | void setText(const std::string &text); | 37 | void setText(const FbTk::BiDiString& text); |
38 | 38 | ||
39 | void show(); | 39 | void show(); |
40 | void hide(); | 40 | void hide(); |