resolved minor for compiling under win32/cygwin, multiple symbols
This commit is contained in:
parent
497ac82dc5
commit
28bf04cc13
1 changed files with 4 additions and 19 deletions
|
@ -41,7 +41,6 @@ void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) {
|
|||
*(*this) = BScreen::CASCADEPLACEMENT;
|
||||
else
|
||||
setDefaultValue();
|
||||
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@ -129,8 +128,7 @@ void FbTk::Resource<FbTk::MenuTheme::MenuMode>::setFromString(const char *str) {
|
|||
}
|
||||
|
||||
template<>
|
||||
std::string FbTk::Resource<BScreen::ResizeModel>::
|
||||
getString() {
|
||||
std::string FbTk::Resource<BScreen::ResizeModel>::getString() {
|
||||
switch (m_value) {
|
||||
case BScreen::QUADRANTRESIZE:
|
||||
return std::string("Quadrant");
|
||||
|
@ -153,8 +151,7 @@ setFromString(char const *strval) {
|
|||
}
|
||||
|
||||
template<>
|
||||
std::string FbTk::Resource<BScreen::FocusModel>::
|
||||
getString() {
|
||||
std::string FbTk::Resource<BScreen::FocusModel>::getString() {
|
||||
switch (m_value) {
|
||||
case BScreen::MOUSEFOCUS:
|
||||
return string("MouseFocus");
|
||||
|
@ -177,8 +174,7 @@ setFromString(char const *strval) {
|
|||
}
|
||||
|
||||
template<>
|
||||
std::string FbTk::Resource<BScreen::TabFocusModel>::
|
||||
getString() {
|
||||
std::string FbTk::Resource<BScreen::TabFocusModel>::getString() {
|
||||
switch (m_value) {
|
||||
case BScreen::MOUSETABFOCUS:
|
||||
return string("SloppyTabFocus");
|
||||
|
@ -201,8 +197,7 @@ setFromString(char const *strval) {
|
|||
}
|
||||
|
||||
template<>
|
||||
std::string FbTk::Resource<BScreen::FollowModel>::
|
||||
getString() {
|
||||
std::string FbTk::Resource<BScreen::FollowModel>::getString() {
|
||||
switch (m_value) {
|
||||
case BScreen::FOLLOW_ACTIVE_WINDOW:
|
||||
return std::string("Follow");
|
||||
|
@ -228,11 +223,6 @@ setFromString(char const *strval) {
|
|||
setDefaultValue();
|
||||
}
|
||||
|
||||
template<>
|
||||
void FbTk::Resource<FbTk::GContext::LineStyle>::setDefaultValue() {
|
||||
*(*this) = FbTk::GContext::LINESOLID;
|
||||
}
|
||||
|
||||
template<>
|
||||
std::string FbTk::Resource<FbTk::GContext::LineStyle>::getString() {
|
||||
switch(m_value) {
|
||||
|
@ -263,11 +253,6 @@ void FbTk::Resource<FbTk::GContext::LineStyle>
|
|||
setDefaultValue();
|
||||
}
|
||||
|
||||
template<>
|
||||
void FbTk::Resource<FbTk::GContext::JoinStyle>::setDefaultValue() {
|
||||
*(*this) = FbTk::GContext::JOINMITER;
|
||||
}
|
||||
|
||||
template<>
|
||||
std::string FbTk::Resource<FbTk::GContext::JoinStyle>::getString() {
|
||||
switch(m_value) {
|
||||
|
|
Loading…
Reference in a new issue