From 716bb32ec2999c1418ebd56d53b1ec43285a1b07 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 18 Mar 2006 22:02:21 +0000 Subject: Using WinButton enum for titlebar button type --- src/Resources.cc | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/Resources.cc b/src/Resources.cc index 1c9b456..c6ddf3c 100644 --- a/src/Resources.cc +++ b/src/Resources.cc @@ -26,13 +26,15 @@ #include "FbTk/StringUtil.hh" #include "FbTk/Resource.hh" +#include "WinButton.hh" + #include "fluxbox.hh" #include "Layer.hh" #include #include - +#include using namespace std; using namespace FbTk; @@ -62,7 +64,7 @@ setFromString(char const *strval) { } template<> -void FbTk::Resource:: +void FbTk::Resource >:: setFromString(char const *strval) { vector val; StringUtil::stringtok(val, strval); @@ -72,17 +74,17 @@ setFromString(char const *strval) { for (int i=0; i -std::string FbTk::Resource:: +std::string FbTk::Resource >:: getString() const { string retval; int size=m_value.size(); for (int i=0; i