diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | data/styles/Artwiz | 2 | ||||
-rw-r--r-- | data/styles/BlueNight | 2 | ||||
-rw-r--r-- | data/styles/Carbondioxide | 2 | ||||
-rw-r--r-- | data/styles/Clean | 2 | ||||
-rw-r--r-- | data/styles/Cthulhain | 2 | ||||
-rw-r--r-- | data/styles/Flux | 2 | ||||
-rw-r--r-- | data/styles/LemonSpace | 2 | ||||
-rw-r--r-- | data/styles/Makro | 2 | ||||
-rw-r--r-- | data/styles/MerleyKay | 2 | ||||
-rw-r--r-- | data/styles/Meta | 2 | ||||
-rw-r--r-- | data/styles/Minimal | 2 | ||||
-rw-r--r-- | data/styles/Nyz | 2 | ||||
-rw-r--r-- | data/styles/Operation | 2 | ||||
-rw-r--r-- | data/styles/Outcomes | 2 | ||||
-rw-r--r-- | data/styles/Rampage | 2 | ||||
-rw-r--r-- | data/styles/Results | 2 | ||||
-rw-r--r-- | data/styles/Shade | 2 | ||||
-rw-r--r-- | data/styles/Spiff | 2 | ||||
-rw-r--r-- | data/styles/Twice | 2 | ||||
-rw-r--r-- | data/styles/qnx-photon | 2 | ||||
-rw-r--r-- | src/ScreenResources.cc | 25 |
22 files changed, 24 insertions, 45 deletions
@@ -1,4 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.15: | ||
3 | * Use fbsetroot in Default-Styles (Mathias) | ||
4 | data/styles/* | ||
5 | ------------------------------------------------------------- | ||
2 | Changes for 0.9.14: | 6 | Changes for 0.9.14: |
3 | *05/09/12: | 7 | *05/09/12: |
4 | * Fixes #1281708, MenuIcon doesnt scale properly (thanx Erik-Jan) | 8 | * Fixes #1281708, MenuIcon doesnt scale properly (thanx Erik-Jan) |
diff --git a/data/styles/Artwiz b/data/styles/Artwiz index 86819b9..5ef8ce7 100644 --- a/data/styles/Artwiz +++ b/data/styles/Artwiz | |||
@@ -104,7 +104,7 @@ bevelWidth: 2 | |||
104 | borderWidth: 1 | 104 | borderWidth: 1 |
105 | handleWidth: 5 | 105 | handleWidth: 5 |
106 | 106 | ||
107 | rootCommand: bsetroot -mod 4 4 -bg rgb:10/18/20 -fg rgb:30/38/40 | 107 | rootCommand: ffbsetroot -mod 4 4 -bg rgb:10/18/20 -fg rgb:30/38/40 |
108 | 108 | ||
109 | *Font: -*-lucidatypewriter-medium-r-*-*-*-100-*-*-*-*-*-* | 109 | *Font: -*-lucidatypewriter-medium-r-*-*-*-100-*-*-*-*-*-* |
110 | !*Font: vera-7 | 110 | !*Font: vera-7 |
diff --git a/data/styles/BlueNight b/data/styles/BlueNight index ee12564..3efbebd 100644 --- a/data/styles/BlueNight +++ b/data/styles/BlueNight | |||
@@ -5,7 +5,7 @@ style.credits: | |||
5 | style.comments: Modified/tweaked by skypher | 5 | style.comments: Modified/tweaked by skypher |
6 | 6 | ||
7 | 7 | ||
8 | rootCommand: bsetroot -solid rgb:6A/9A/AF | 8 | rootCommand: fbsetroot -solid rgb:6A/9A/AF |
9 | 9 | ||
10 | ! Toolbar settings... | 10 | ! Toolbar settings... |
11 | toolbar.button: Gradient Diagonal | 11 | toolbar.button: Gradient Diagonal |
diff --git a/data/styles/Carbondioxide b/data/styles/Carbondioxide index 288741a..5eb74e4 100644 --- a/data/styles/Carbondioxide +++ b/data/styles/Carbondioxide | |||
@@ -132,4 +132,4 @@ bevelWidth: 2 | |||
132 | borderWidth: 1 | 132 | borderWidth: 1 |
133 | handleWidth: 3 | 133 | handleWidth: 3 |
134 | 134 | ||
135 | rootCommand: bsetroot -gradient flatverticalgradient -from black -to white | 135 | rootCommand: fbsetroot -gradient flatverticalgradient -from black -to white |
diff --git a/data/styles/Clean b/data/styles/Clean index b0eb1b4..cfe6d32 100644 --- a/data/styles/Clean +++ b/data/styles/Clean | |||
@@ -114,4 +114,4 @@ bevelWidth: 1 | |||
114 | borderWidth: 1 | 114 | borderWidth: 1 |
115 | handleWidth: 2 | 115 | handleWidth: 2 |
116 | 116 | ||
117 | rootCommand: bsetroot -solid rgb:9A/9A/90 | 117 | rootCommand: fbsetroot -solid rgb:9A/9A/90 |
diff --git a/data/styles/Cthulhain b/data/styles/Cthulhain index 4c940c3..6278f75 100644 --- a/data/styles/Cthulhain +++ b/data/styles/Cthulhain | |||
@@ -117,7 +117,7 @@ bevelWidth: 2 | |||
117 | handleWidth: 4 | 117 | handleWidth: 4 |
118 | frameWidth: 0 | 118 | frameWidth: 0 |
119 | 119 | ||
120 | rootCommand: bsetroot -solid "#3a404b" | 120 | rootCommand: fbsetroot -solid "#3a404b" |
121 | 121 | ||
122 | ! ***** bbpager ***** | 122 | ! ***** bbpager ***** |
123 | bbpager.frame: sunken gradient crossdiagonal | 123 | bbpager.frame: sunken gradient crossdiagonal |
diff --git a/data/styles/Flux b/data/styles/Flux index 5bdca87..03d74c8 100644 --- a/data/styles/Flux +++ b/data/styles/Flux | |||
@@ -88,4 +88,4 @@ handleWidth: 3 | |||
88 | *textColor: grey20 | 88 | *textColor: grey20 |
89 | *Font: lucidasans-10 | 89 | *Font: lucidasans-10 |
90 | 90 | ||
91 | rootCommand: bsetroot -solid rgb:4/4/38 | 91 | rootCommand: fbsetroot -solid rgb:4/4/38 |
diff --git a/data/styles/LemonSpace b/data/styles/LemonSpace index 1dcd328..0eb306b 100644 --- a/data/styles/LemonSpace +++ b/data/styles/LemonSpace | |||
@@ -125,4 +125,4 @@ window.tab.label.unfocus.textColor: rgb:5a/5a/5a | |||
125 | window.tab.label.focus.textColor: rgb:1a/04/08 | 125 | window.tab.label.focus.textColor: rgb:1a/04/08 |
126 | ! - | 126 | ! - |
127 | 127 | ||
128 | rootCommand: bsetroot -solid rgb:db/bc/83 | 128 | rootCommand: fbsetroot -solid rgb:db/bc/83 |
diff --git a/data/styles/Makro b/data/styles/Makro index e360ffc..0b543e8 100644 --- a/data/styles/Makro +++ b/data/styles/Makro | |||
@@ -113,4 +113,4 @@ bevelWidth: 2 | |||
113 | borderWidth: 1 | 113 | borderWidth: 1 |
114 | handleWidth: 3 | 114 | handleWidth: 3 |
115 | 115 | ||
116 | rootCommand: bsetroot -solid rgb:9A/9A/90 | 116 | rootCommand: fbsetroot -solid rgb:9A/9A/90 |
diff --git a/data/styles/MerleyKay b/data/styles/MerleyKay index 63ceb60..c8d8e26 100644 --- a/data/styles/MerleyKay +++ b/data/styles/MerleyKay | |||
@@ -131,4 +131,4 @@ bevelWidth: 2 | |||
131 | borderWidth: 2 | 131 | borderWidth: 2 |
132 | handleWidth: 3 | 132 | handleWidth: 3 |
133 | 133 | ||
134 | rootCommand: bsetroot -mod 5 5 -fg rgb:62/70/85 -bg rgb:52/60/75 | 134 | rootCommand: fbsetroot -mod 5 5 -fg rgb:62/70/85 -bg rgb:52/60/75 |
diff --git a/data/styles/Meta b/data/styles/Meta index c5daa99..93e989c 100644 --- a/data/styles/Meta +++ b/data/styles/Meta | |||
@@ -124,5 +124,5 @@ bevelWidth: 1 | |||
124 | frameWidth: 1 | 124 | frameWidth: 1 |
125 | handleWidth: 4 | 125 | handleWidth: 4 |
126 | 126 | ||
127 | rootCommand: bsetroot -solid "#d6d7e7" | 127 | rootCommand: fbsetroot -solid "#d6d7e7" |
128 | *font: glisp | 128 | *font: glisp |
diff --git a/data/styles/Minimal b/data/styles/Minimal index ca0d2c1..7fb3b9a 100644 --- a/data/styles/Minimal +++ b/data/styles/Minimal | |||
@@ -76,4 +76,4 @@ handleWidth: 4 | |||
76 | 76 | ||
77 | *Font: -*-helvetica-*-r-*-*-12-*-*-*-*-*-*-* | 77 | *Font: -*-helvetica-*-r-*-*-12-*-*-*-*-*-*-* |
78 | 78 | ||
79 | rootCommand: bsetroot -solid SlateGrey | 79 | rootCommand: fbsetroot -solid SlateGrey |
diff --git a/data/styles/Nyz b/data/styles/Nyz index 0313abf..2c7fc4a 100644 --- a/data/styles/Nyz +++ b/data/styles/Nyz | |||
@@ -100,4 +100,4 @@ handleWidth: 4 | |||
100 | *textColor: grey85 | 100 | *textColor: grey85 |
101 | *Font: lucidasans-10 | 101 | *Font: lucidasans-10 |
102 | 102 | ||
103 | rootCommand: bsetroot -solid grey20 | 103 | rootCommand: fbsetroot -solid grey20 |
diff --git a/data/styles/Operation b/data/styles/Operation index affa806..bef9654 100644 --- a/data/styles/Operation +++ b/data/styles/Operation | |||
@@ -83,7 +83,7 @@ handleWidth: 4 | |||
83 | *textColor: grey85 | 83 | *textColor: grey85 |
84 | *Font: lucidasans-10 | 84 | *Font: lucidasans-10 |
85 | 85 | ||
86 | rootCommand: bsetroot -gradient flatcrossdiagonalgradient -from rgb:4/6/8 -to rgb:3/48/6 | 86 | rootCommand: fbsetroot -gradient flatcrossdiagonalgradient -from rgb:4/6/8 -to rgb:3/48/6 |
87 | 87 | ||
88 | bbpager.desktop.focus: flat interlaced crossdiagonal gradient | 88 | bbpager.desktop.focus: flat interlaced crossdiagonal gradient |
89 | bbpager.desktop.focus.color: rgb:6/9/c | 89 | bbpager.desktop.focus.color: rgb:6/9/c |
diff --git a/data/styles/Outcomes b/data/styles/Outcomes index b0ad159..de97c33 100644 --- a/data/styles/Outcomes +++ b/data/styles/Outcomes | |||
@@ -107,7 +107,7 @@ borderWidth: 1 | |||
107 | bevelWidth: 2 | 107 | bevelWidth: 2 |
108 | handleWidth: 4 | 108 | handleWidth: 4 |
109 | 109 | ||
110 | rootCommand: bsetroot -mod 4 4 -fg rgb:54/6/6 -bg grey20 | 110 | rootCommand: fbsetroot -mod 4 4 -fg rgb:54/6/6 -bg grey20 |
111 | 111 | ||
112 | ! for the bbtools | 112 | ! for the bbtools |
113 | menuFont: lucidasans-10 | 113 | menuFont: lucidasans-10 |
diff --git a/data/styles/Rampage b/data/styles/Rampage index b0704e7..4e363b6 100644 --- a/data/styles/Rampage +++ b/data/styles/Rampage | |||
@@ -99,4 +99,4 @@ handleWidth: 5 | |||
99 | *font: -b&h-lucida-medium-r-normal-*-*-100-*-*-p-*-iso8859-* | 99 | *font: -b&h-lucida-medium-r-normal-*-*-100-*-*-p-*-iso8859-* |
100 | *textColor: black | 100 | *textColor: black |
101 | 101 | ||
102 | rootCommand: bsetroot -mod 16 8 -bg rgb:0/8/8 -fg rgb:0/9/9 | 102 | rootCommand: fbsetroot -mod 16 8 -bg rgb:0/8/8 -fg rgb:0/9/9 |
diff --git a/data/styles/Results b/data/styles/Results index 8f06b6b..702a586 100644 --- a/data/styles/Results +++ b/data/styles/Results | |||
@@ -107,7 +107,7 @@ borderWidth: 1 | |||
107 | bevelWidth: 2 | 107 | bevelWidth: 2 |
108 | handleWidth: 4 | 108 | handleWidth: 4 |
109 | 109 | ||
110 | rootCommand: bsetroot -mod 4 4 -fg rgb:6/6/5c -bg grey20 | 110 | rootCommand: fbsetroot -mod 4 4 -fg rgb:6/6/5c -bg grey20 |
111 | 111 | ||
112 | ! for the bbtools | 112 | ! for the bbtools |
113 | menuFont: lucidasans-10 | 113 | menuFont: lucidasans-10 |
diff --git a/data/styles/Shade b/data/styles/Shade index 06e772e..579f37e 100644 --- a/data/styles/Shade +++ b/data/styles/Shade | |||
@@ -88,4 +88,4 @@ handleWidth: 3 | |||
88 | *textColor: grey20 | 88 | *textColor: grey20 |
89 | *Font: lucidasans-10 | 89 | *Font: lucidasans-10 |
90 | 90 | ||
91 | rootCommand: bsetroot -solid rgb:4/4/4 | 91 | rootCommand: fbsetroot -solid rgb:4/4/4 |
diff --git a/data/styles/Spiff b/data/styles/Spiff index 6a3b382..f0c5e34 100644 --- a/data/styles/Spiff +++ b/data/styles/Spiff | |||
@@ -104,6 +104,6 @@ bevelWidth: 1 | |||
104 | borderWidth: 1 | 104 | borderWidth: 1 |
105 | handleWidth: 3 | 105 | handleWidth: 3 |
106 | 106 | ||
107 | rootCommand: bsetroot -mod 2 2 -fg rgb:48/50/68 -bg rgb:50/58/70 | 107 | rootCommand: fbsetroot -mod 2 2 -fg rgb:48/50/68 -bg rgb:50/58/70 |
108 | 108 | ||
109 | *Font: lucidasans-10 | 109 | *Font: lucidasans-10 |
diff --git a/data/styles/Twice b/data/styles/Twice index 1d6fa01..ed190d2 100644 --- a/data/styles/Twice +++ b/data/styles/Twice | |||
@@ -100,4 +100,4 @@ handleWidth: 4 | |||
100 | *textColor: grey85 | 100 | *textColor: grey85 |
101 | *Font: lucidasans-10 | 101 | *Font: lucidasans-10 |
102 | 102 | ||
103 | rootCommand: bsetroot -solid grey20 | 103 | rootCommand: fbsetroot -solid grey20 |
diff --git a/data/styles/qnx-photon b/data/styles/qnx-photon index cde8970..096bc26 100644 --- a/data/styles/qnx-photon +++ b/data/styles/qnx-photon | |||
@@ -131,4 +131,4 @@ borderWidth: 1 | |||
131 | bevelWidth: 2 | 131 | bevelWidth: 2 |
132 | handleWidth: 4 | 132 | handleWidth: 4 |
133 | frameWidth: 0 | 133 | frameWidth: 0 |
134 | rootCommand: bsetroot -solid white | 134 | rootCommand: fbsetroot -solid white |
diff --git a/src/ScreenResources.cc b/src/ScreenResources.cc index db92b19..03514ad 100644 --- a/src/ScreenResources.cc +++ b/src/ScreenResources.cc | |||
@@ -30,11 +30,6 @@ | |||
30 | using namespace std; | 30 | using namespace std; |
31 | 31 | ||
32 | template <> | 32 | template <> |
33 | void FbTk::Resource<BScreen::PlacementPolicy>::setDefaultValue() { | ||
34 | *(*this) = BScreen::ROWSMARTPLACEMENT; | ||
35 | } | ||
36 | |||
37 | template <> | ||
38 | void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) { | 33 | void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) { |
39 | if (strcasecmp("RowSmartPlacement", str) == 0) | 34 | if (strcasecmp("RowSmartPlacement", str) == 0) |
40 | *(*this) = BScreen::ROWSMARTPLACEMENT; | 35 | *(*this) = BScreen::ROWSMARTPLACEMENT; |
@@ -66,11 +61,6 @@ string FbTk::Resource<BScreen::PlacementPolicy>::getString() { | |||
66 | } | 61 | } |
67 | 62 | ||
68 | template <> | 63 | template <> |
69 | void FbTk::Resource<BScreen::RowDirection>::setDefaultValue() { | ||
70 | *(*this) = BScreen::LEFTRIGHT; | ||
71 | } | ||
72 | |||
73 | template <> | ||
74 | void FbTk::Resource<BScreen::RowDirection>::setFromString(const char *str) { | 64 | void FbTk::Resource<BScreen::RowDirection>::setFromString(const char *str) { |
75 | if (strcasecmp("LeftToRight", str) == 0) | 65 | if (strcasecmp("LeftToRight", str) == 0) |
76 | *(*this) = BScreen::LEFTRIGHT; | 66 | *(*this) = BScreen::LEFTRIGHT; |
@@ -95,11 +85,6 @@ string FbTk::Resource<BScreen::RowDirection>::getString() { | |||
95 | 85 | ||
96 | 86 | ||
97 | template <> | 87 | template <> |
98 | void FbTk::Resource<BScreen::ColumnDirection>::setDefaultValue() { | ||
99 | *(*this) = BScreen::TOPBOTTOM; | ||
100 | } | ||
101 | |||
102 | template <> | ||
103 | void FbTk::Resource<BScreen::ColumnDirection>::setFromString(const char *str) { | 88 | void FbTk::Resource<BScreen::ColumnDirection>::setFromString(const char *str) { |
104 | if (strcasecmp("TopToBottom", str) == 0) | 89 | if (strcasecmp("TopToBottom", str) == 0) |
105 | *(*this) = BScreen::TOPBOTTOM; | 90 | *(*this) = BScreen::TOPBOTTOM; |
@@ -123,11 +108,6 @@ string FbTk::Resource<BScreen::ColumnDirection>::getString() { | |||
123 | } | 108 | } |
124 | 109 | ||
125 | template <> | 110 | template <> |
126 | void FbTk::Resource<FbTk::MenuTheme::MenuMode>::setDefaultValue() { | ||
127 | *(*this) = FbTk::MenuTheme::DELAY_OPEN; | ||
128 | } | ||
129 | |||
130 | template <> | ||
131 | string FbTk::Resource<FbTk::MenuTheme::MenuMode>::getString() { | 111 | string FbTk::Resource<FbTk::MenuTheme::MenuMode>::getString() { |
132 | switch (*(*this)) { | 112 | switch (*(*this)) { |
133 | case FbTk::MenuTheme::DELAY_OPEN: | 113 | case FbTk::MenuTheme::DELAY_OPEN: |
@@ -319,11 +299,6 @@ void FbTk::Resource<FbTk::GContext::JoinStyle> | |||
319 | } | 299 | } |
320 | 300 | ||
321 | template<> | 301 | template<> |
322 | void FbTk::Resource<FbTk::GContext::CapStyle>::setDefaultValue() { | ||
323 | *(*this) = FbTk::GContext::CAPNOTLAST; | ||
324 | } | ||
325 | |||
326 | template<> | ||
327 | std::string FbTk::Resource<FbTk::GContext::CapStyle>::getString() { | 302 | std::string FbTk::Resource<FbTk::GContext::CapStyle>::getString() { |
328 | switch(m_value) { | 303 | switch(m_value) { |
329 | case FbTk::GContext::CAPNOTLAST: | 304 | case FbTk::GContext::CAPNOTLAST: |