use fbsetroot in default styles

This commit is contained in:
mathias 2005-09-16 05:39:12 +00:00
parent 4684693f3c
commit 94acb4a27e
22 changed files with 24 additions and 45 deletions

View file

@ -1,4 +1,8 @@
(Format: Year/Month/Day)
Changes for 0.9.15:
* Use fbsetroot in Default-Styles (Mathias)
data/styles/*
-------------------------------------------------------------
Changes for 0.9.14:
*05/09/12:
* Fixes #1281708, MenuIcon doesnt scale properly (thanx Erik-Jan)

View file

@ -104,7 +104,7 @@ bevelWidth: 2
borderWidth: 1
handleWidth: 5
rootCommand: bsetroot -mod 4 4 -bg rgb:10/18/20 -fg rgb:30/38/40
rootCommand: ffbsetroot -mod 4 4 -bg rgb:10/18/20 -fg rgb:30/38/40
*Font: -*-lucidatypewriter-medium-r-*-*-*-100-*-*-*-*-*-*
!*Font: vera-7

View file

@ -5,7 +5,7 @@ style.credits:
style.comments: Modified/tweaked by skypher
rootCommand: bsetroot -solid rgb:6A/9A/AF
rootCommand: fbsetroot -solid rgb:6A/9A/AF
! Toolbar settings...
toolbar.button: Gradient Diagonal

View file

@ -132,4 +132,4 @@ bevelWidth: 2
borderWidth: 1
handleWidth: 3
rootCommand: bsetroot -gradient flatverticalgradient -from black -to white
rootCommand: fbsetroot -gradient flatverticalgradient -from black -to white

View file

@ -114,4 +114,4 @@ bevelWidth: 1
borderWidth: 1
handleWidth: 2
rootCommand: bsetroot -solid rgb:9A/9A/90
rootCommand: fbsetroot -solid rgb:9A/9A/90

View file

@ -117,7 +117,7 @@ bevelWidth: 2
handleWidth: 4
frameWidth: 0
rootCommand: bsetroot -solid "#3a404b"
rootCommand: fbsetroot -solid "#3a404b"
! ***** bbpager *****
bbpager.frame: sunken gradient crossdiagonal

View file

@ -88,4 +88,4 @@ handleWidth: 3
*textColor: grey20
*Font: lucidasans-10
rootCommand: bsetroot -solid rgb:4/4/38
rootCommand: fbsetroot -solid rgb:4/4/38

View file

@ -125,4 +125,4 @@ window.tab.label.unfocus.textColor: rgb:5a/5a/5a
window.tab.label.focus.textColor: rgb:1a/04/08
! -
rootCommand: bsetroot -solid rgb:db/bc/83
rootCommand: fbsetroot -solid rgb:db/bc/83

View file

@ -113,4 +113,4 @@ bevelWidth: 2
borderWidth: 1
handleWidth: 3
rootCommand: bsetroot -solid rgb:9A/9A/90
rootCommand: fbsetroot -solid rgb:9A/9A/90

View file

@ -131,4 +131,4 @@ bevelWidth: 2
borderWidth: 2
handleWidth: 3
rootCommand: bsetroot -mod 5 5 -fg rgb:62/70/85 -bg rgb:52/60/75
rootCommand: fbsetroot -mod 5 5 -fg rgb:62/70/85 -bg rgb:52/60/75

View file

@ -124,5 +124,5 @@ bevelWidth: 1
frameWidth: 1
handleWidth: 4
rootCommand: bsetroot -solid "#d6d7e7"
rootCommand: fbsetroot -solid "#d6d7e7"
*font: glisp

View file

@ -76,4 +76,4 @@ handleWidth: 4
*Font: -*-helvetica-*-r-*-*-12-*-*-*-*-*-*-*
rootCommand: bsetroot -solid SlateGrey
rootCommand: fbsetroot -solid SlateGrey

View file

@ -100,4 +100,4 @@ handleWidth: 4
*textColor: grey85
*Font: lucidasans-10
rootCommand: bsetroot -solid grey20
rootCommand: fbsetroot -solid grey20

View file

@ -83,7 +83,7 @@ handleWidth: 4
*textColor: grey85
*Font: lucidasans-10
rootCommand: bsetroot -gradient flatcrossdiagonalgradient -from rgb:4/6/8 -to rgb:3/48/6
rootCommand: fbsetroot -gradient flatcrossdiagonalgradient -from rgb:4/6/8 -to rgb:3/48/6
bbpager.desktop.focus: flat interlaced crossdiagonal gradient
bbpager.desktop.focus.color: rgb:6/9/c

View file

@ -107,7 +107,7 @@ borderWidth: 1
bevelWidth: 2
handleWidth: 4
rootCommand: bsetroot -mod 4 4 -fg rgb:54/6/6 -bg grey20
rootCommand: fbsetroot -mod 4 4 -fg rgb:54/6/6 -bg grey20
! for the bbtools
menuFont: lucidasans-10

View file

@ -99,4 +99,4 @@ handleWidth: 5
*font: -b&h-lucida-medium-r-normal-*-*-100-*-*-p-*-iso8859-*
*textColor: black
rootCommand: bsetroot -mod 16 8 -bg rgb:0/8/8 -fg rgb:0/9/9
rootCommand: fbsetroot -mod 16 8 -bg rgb:0/8/8 -fg rgb:0/9/9

View file

@ -107,7 +107,7 @@ borderWidth: 1
bevelWidth: 2
handleWidth: 4
rootCommand: bsetroot -mod 4 4 -fg rgb:6/6/5c -bg grey20
rootCommand: fbsetroot -mod 4 4 -fg rgb:6/6/5c -bg grey20
! for the bbtools
menuFont: lucidasans-10

View file

@ -88,4 +88,4 @@ handleWidth: 3
*textColor: grey20
*Font: lucidasans-10
rootCommand: bsetroot -solid rgb:4/4/4
rootCommand: fbsetroot -solid rgb:4/4/4

View file

@ -104,6 +104,6 @@ bevelWidth: 1
borderWidth: 1
handleWidth: 3
rootCommand: bsetroot -mod 2 2 -fg rgb:48/50/68 -bg rgb:50/58/70
rootCommand: fbsetroot -mod 2 2 -fg rgb:48/50/68 -bg rgb:50/58/70
*Font: lucidasans-10

View file

@ -100,4 +100,4 @@ handleWidth: 4
*textColor: grey85
*Font: lucidasans-10
rootCommand: bsetroot -solid grey20
rootCommand: fbsetroot -solid grey20

View file

@ -131,4 +131,4 @@ borderWidth: 1
bevelWidth: 2
handleWidth: 4
frameWidth: 0
rootCommand: bsetroot -solid white
rootCommand: fbsetroot -solid white

View file

@ -29,11 +29,6 @@
#include <string>
using namespace std;
template <>
void FbTk::Resource<BScreen::PlacementPolicy>::setDefaultValue() {
*(*this) = BScreen::ROWSMARTPLACEMENT;
}
template <>
void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) {
if (strcasecmp("RowSmartPlacement", str) == 0)
@ -65,11 +60,6 @@ string FbTk::Resource<BScreen::PlacementPolicy>::getString() {
return "RowSmartPlacement";
}
template <>
void FbTk::Resource<BScreen::RowDirection>::setDefaultValue() {
*(*this) = BScreen::LEFTRIGHT;
}
template <>
void FbTk::Resource<BScreen::RowDirection>::setFromString(const char *str) {
if (strcasecmp("LeftToRight", str) == 0)
@ -94,11 +84,6 @@ string FbTk::Resource<BScreen::RowDirection>::getString() {
}
template <>
void FbTk::Resource<BScreen::ColumnDirection>::setDefaultValue() {
*(*this) = BScreen::TOPBOTTOM;
}
template <>
void FbTk::Resource<BScreen::ColumnDirection>::setFromString(const char *str) {
if (strcasecmp("TopToBottom", str) == 0)
@ -122,11 +107,6 @@ string FbTk::Resource<BScreen::ColumnDirection>::getString() {
return "TopToBottom";
}
template <>
void FbTk::Resource<FbTk::MenuTheme::MenuMode>::setDefaultValue() {
*(*this) = FbTk::MenuTheme::DELAY_OPEN;
}
template <>
string FbTk::Resource<FbTk::MenuTheme::MenuMode>::getString() {
switch (*(*this)) {
@ -318,11 +298,6 @@ void FbTk::Resource<FbTk::GContext::JoinStyle>
setDefaultValue();
}
template<>
void FbTk::Resource<FbTk::GContext::CapStyle>::setDefaultValue() {
*(*this) = FbTk::GContext::CAPNOTLAST;
}
template<>
std::string FbTk::Resource<FbTk::GContext::CapStyle>::getString() {
switch(m_value) {