View | Details | Raw Unified
Collapse All | Expand All

(-) /var/tmp/portage/fluxbox-0.9.14/src/ClockTool.cc (-1 / +1 lines)
 Lines 50-56    Link Here 
class ClockMenuItem: public FbTk::MenuItem {
class ClockMenuItem: public FbTk::MenuItem {
public:
public:
    explicit ClockMenuItem::ClockMenuItem(ClockTool &tool):
    explicit ClockMenuItem(ClockTool &tool):
        FbTk::MenuItem(""), m_tool(tool) { 
        FbTk::MenuItem(""), m_tool(tool) { 
        // determine 12/24 hour format
        // determine 12/24 hour format
        _FB_USES_NLS;
        _FB_USES_NLS;
(-) /var/tmp/portage/fluxbox-0.9.14/src/IconbarTool.cc (+4 lines)
 Lines 49-54    Link Here 
#include <iterator>
#include <iterator>
using namespace std;
using namespace std;
namespace FbTk {
template<>
template<>
void FbTk::Resource<IconbarTool::Mode>::setFromString(const char *strval) {
void FbTk::Resource<IconbarTool::Mode>::setFromString(const char *strval) {
    if (strcasecmp(strval, "None") == 0) 
    if (strcasecmp(strval, "None") == 0) 
 Lines 191-196    Link Here 
    return string("Icons");
    return string("Icons");
}
}
}
namespace {
namespace {
class ToolbarModeMenuItem : public FbTk::MenuItem {
class ToolbarModeMenuItem : public FbTk::MenuItem {
(-) /var/tmp/portage/fluxbox-0.9.14/src/MenuTheme.cc (-1 / +3 lines)
 Lines 26-31    Link Here 
#include <iostream>
#include <iostream>
using namespace std;
using namespace std;
namespace FbTk {
template <>
template <>
void FbTk::ThemeItem<Shape::ShapePlace>::load(const std::string *name, const std::string *altname) { }
void FbTk::ThemeItem<Shape::ShapePlace>::load(const std::string *name, const std::string *altname) { }
 Lines 49-55    Link Here 
    *(*this) = static_cast<Shape::ShapePlace>(places);
    *(*this) = static_cast<Shape::ShapePlace>(places);
}
}
} // end namespace FbTk
MenuTheme::MenuTheme(int screen_num):FbTk::MenuTheme(screen_num),
MenuTheme::MenuTheme(int screen_num):FbTk::MenuTheme(screen_num),
                                     m_shapeplace(*this, "menu.roundCorners", "Menu.RoundCorners") {
                                     m_shapeplace(*this, "menu.roundCorners", "Menu.RoundCorners") {
    *m_shapeplace = Shape::NONE;
    *m_shapeplace = Shape::NONE;
(-) /var/tmp/portage/fluxbox-0.9.14/src/Resources.cc (+2 lines)
 Lines 36-41    Link Here 
//-----------------------------------------------------------------
//-----------------------------------------------------------------
//---- accessors for int, bool, and some enums with Resource ------
//---- accessors for int, bool, and some enums with Resource ------
//-----------------------------------------------------------------
//-----------------------------------------------------------------
namespace FbTk {
template<>
template<>
void FbTk::Resource<int>::
void FbTk::Resource<int>::
 Lines 250-252    Link Here 
    sprintf(tmpstr, "%ld", m_value);
    sprintf(tmpstr, "%ld", m_value);
    return string(tmpstr);
    return string(tmpstr);
}
}
} // end namespace FbTk
(-) /var/tmp/portage/fluxbox-0.9.14/src/ScreenResources.cc (-4 / +5 lines)
 Lines 21-33    Link Here 
// $Id: ScreenResources.cc 4084 2005-07-20 18:29:01Z mathias $
// $Id: ScreenResources.cc 4084 2005-07-20 18:29:01Z mathias $
#include "Screen.hh"
#include <string>
using namespace std;
namespace FbTk {
// holds screen resource handling
// holds screen resource handling
#include "Screen.hh"
#include <string>
using namespace std;
template <>
template <>
void FbTk::Resource<BScreen::PlacementPolicy>::setDefaultValue() {
void FbTk::Resource<BScreen::PlacementPolicy>::setDefaultValue() {
 Lines 357-360    Link Here 
    else
    else
        setDefaultValue();
        setDefaultValue();
}
}
} // end namespace FbTk
(-) /var/tmp/portage/fluxbox-0.9.14/src/Slit.cc (+4 lines)
 Lines 80-85    Link Here 
#include <algorithm>
#include <algorithm>
using namespace std;
using namespace std;
namespace FbTk {
template<>
template<>
void FbTk::Resource<Slit::Placement>::setFromString(const char *strval) {
void FbTk::Resource<Slit::Placement>::setFromString(const char *strval) {
    if (strcasecmp(strval, "TopLeft")==0)
    if (strcasecmp(strval, "TopLeft")==0)
 Lines 160-165    Link Here 
    return string("Vertical");
    return string("Vertical");
}
}
}
namespace { 
namespace { 
class SlitClientMenuItem: public FbTk::MenuItem{
class SlitClientMenuItem: public FbTk::MenuItem{
(-) /var/tmp/portage/fluxbox-0.9.14/src/Toolbar.cc (+3 lines)
 Lines 73-78    Link Here 
using namespace std;
using namespace std;
namespace FbTk {
template<>
template<>
void FbTk::Resource<Toolbar::Placement>::
void FbTk::Resource<Toolbar::Placement>::
setFromString(const char *strval) {
setFromString(const char *strval) {
 Lines 149-154    Link Here 
    return string("BottomCenter");
    return string("BottomCenter");
}
}
}
namespace {
namespace {
class SetToolbarPlacementCmd: public FbTk::Command {
class SetToolbarPlacementCmd: public FbTk::Command {