diff options
author | grubert <grubert> | 2004-05-18 08:35:22 (GMT) |
---|---|---|
committer | grubert <grubert> | 2004-05-18 08:35:22 (GMT) |
commit | b13f59e753de9b8f69c35f325afe3d3603272701 (patch) | |
tree | 0f43986c5daa57040001d2b336407c11c4e9c7b8 /src/ToolFactory.cc | |
parent | 0583166a150d06e1281392ec65821eb06fa0a374 (diff) | |
download | fluxbox_pavel-b13f59e753de9b8f69c35f325afe3d3603272701.zip fluxbox_pavel-b13f59e753de9b8f69c35f325afe3d3603272701.tar.bz2 |
Make arrows in buttons half the size of the button.
Add UP and DOWN arrows.
Diffstat (limited to 'src/ToolFactory.cc')
-rw-r--r-- | src/ToolFactory.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc index 5383ed2..f3c66eb 100644 --- a/src/ToolFactory.cc +++ b/src/ToolFactory.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: ToolFactory.cc,v 1.3 2004/01/11 16:09:50 fluxgen Exp $ | 22 | // $Id: ToolFactory.cc,v 1.4 2004/05/18 08:35:22 grubert Exp $ |
23 | 23 | ||
24 | #include "ToolFactory.hh" | 24 | #include "ToolFactory.hh" |
25 | 25 | ||
@@ -108,6 +108,7 @@ ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow & | |||
108 | if (*cmd == 0) // we need a command | 108 | if (*cmd == 0) // we need a command |
109 | return 0; | 109 | return 0; |
110 | 110 | ||
111 | // TODO maybe direction of arrows should depend on toolbar layout ? | ||
111 | ArrowButton::Type arrow_type = ArrowButton::LEFT; | 112 | ArrowButton::Type arrow_type = ArrowButton::LEFT; |
112 | if (name == "nextworkspace") | 113 | if (name == "nextworkspace") |
113 | arrow_type = ArrowButton::RIGHT; | 114 | arrow_type = ArrowButton::RIGHT; |