aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-08 18:17:21 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-08 18:17:21 (GMT)
commit690d926ac444243611cd875fb84fabb4e6db2cf2 (patch)
treec8ef84056b295071f9a9207ffea5393c6cf4ad4d /src/Workspace.hh
parent1e8fe2bc14856fa16508686a28a85e72cb0e422c (diff)
downloadfluxbox-690d926ac444243611cd875fb84fabb4e6db2cf2.zip
fluxbox-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/Workspace.hh')
-rw-r--r--src/Workspace.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh
index 790c4a6..b62a400 100644
--- a/src/Workspace.hh
+++ b/src/Workspace.hh
@@ -48,7 +48,7 @@ public:
48 ~Workspace(); 48 ~Workspace();
49 49
50 /// Set workspace name 50 /// Set workspace name
51 void setName(const std::string &name); 51 void setName(const FbTk::FbString& name);
52 /// Deiconify all windows on this workspace 52 /// Deiconify all windows on this workspace
53 void showAll(); 53 void showAll();
54 void hideAll(bool interrupt_moving); 54 void hideAll(bool interrupt_moving);
@@ -68,7 +68,7 @@ public:
68 FbTk::Menu &menu() { return m_clientmenu; } 68 FbTk::Menu &menu() { return m_clientmenu; }
69 const FbTk::Menu &menu() const { return m_clientmenu; } 69 const FbTk::Menu &menu() const { return m_clientmenu; }
70 /// name of this workspace 70 /// name of this workspace
71 const std::string &name() const { return m_name; } 71 const FbTk::FbString &name() const { return m_name; }
72 /** 72 /**
73 @return the number of this workspace, note: obsolete, should be in BScreen 73 @return the number of this workspace, note: obsolete, should be in BScreen
74 */ 74 */
@@ -88,7 +88,7 @@ private:
88 FbTk::Signal<void> m_clientlist_sig; 88 FbTk::Signal<void> m_clientlist_sig;
89 ClientMenu m_clientmenu; 89 ClientMenu m_clientmenu;
90 90
91 std::string m_name; ///< name of this workspace 91 FbTk::FbString m_name; ///< name of this workspace
92 unsigned int m_id; ///< id, obsolete, this should be in BScreen 92 unsigned int m_id; ///< id, obsolete, this should be in BScreen
93 93
94}; 94};