summaryrefslogtreecommitdiff
path: root/data/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-06 13:37:54 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-06 13:37:54 +0900
commitd0732ec3f1d7ae5f244cd4bc910ec910fc91c42e (patch)
tree1d512b659ffffa008c06e8894b3afa8f2463f1c8 /data/themes
parent4780a4b07acf90301667f5ca93e13fbf466fd4a3 (diff)
rage browser mode and ui - slicken between desktop and fullscreen mode
so now sizing and count and spacing of items change, header sizes/style change and more when switching to/from fullscreen mode. fullscreen == "i want to be a media cener now on a big screen tv" vs "i'm a video collection browser in a window on your desktop". far nicer now. i think this is getting close to another release. maybe after 1.18
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/default.edc70
1 files changed, 62 insertions, 8 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 9a15762..ec037b4 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -1953,26 +1953,49 @@ collections {
1953 description { state: "default" 0.0; 1953 description { state: "default" 0.0;
1954 fixed: 0 1; 1954 fixed: 0 1;
1955 align: 0.0 0.0; 1955 align: 0.0 0.0;
1956 rel1.offset: 0 40; 1956 rel1.offset: 0 10;
1957 rel2.offset: -1 40; 1957 rel2.offset: -1 10;
1958 rel2.relative: 1.0 0.0; 1958 rel2.relative: 1.0 0.0;
1959 color: 255 255 255 255; 1959 color: 255 255 255 255;
1960 text { font: "Sans:style=Bold"; size: 40; 1960 text { font: "Sans:style=Bold"; size: 10;
1961 align: 0.0 0.0; 1961 align: 0.0 0.0;
1962 min: 0 1; 1962 min: 0 1;
1963 elipsis: 0; 1963 elipsis: 0;
1964 } 1964 }
1965 } 1965 }
1966 description { state: "fullscreen" 0.0;
1967 inherit: "default" 0.0;
1968 rel1.offset: 0 40;
1969 rel2.offset: -1 40;
1970 text.size: 40;
1971 }
1966 } 1972 }
1967 part { name: "rage.content"; type: SWALLOW; 1973 part { name: "rage.content"; type: SWALLOW;
1968 description { state: "default" 0.0; 1974 description { state: "default" 0.0;
1969 rel1.to_y: "rage.title"; 1975 rel1.to_y: "rage.title";
1970 rel1.relative: 0.0 1.0; 1976 rel1.relative: 0.0 1.0;
1977 rel1.offset: 0 10;
1978 rel2.offset: -1 -1;
1979 }
1980 description { state: "fullscreen" 0.0;
1981 inherit: "default" 0.0;
1971 rel1.offset: 0 40; 1982 rel1.offset: 0 40;
1972 rel2.offset: -1 -41; 1983 rel2.offset: -1 -11;
1973 } 1984 }
1974 } 1985 }
1975 } 1986 }
1987 programs {
1988 program { signal: "state,fullscreen"; source: "rage";
1989 action: STATE_SET "fullscreen" 0.0;
1990 target: "rage.title";
1991 target: "rage.content";
1992 }
1993 program { signal: "state,normal"; source: "rage";
1994 action: STATE_SET "default" 0.0;
1995 target: "rage.title";
1996 target: "rage.content";
1997 }
1998 }
1976 } 1999 }
1977 2000
1978 group { name: "rage/browser/item"; 2001 group { name: "rage/browser/item";
@@ -1981,6 +2004,9 @@ collections {
1981 2004
1982 styles { 2005 styles {
1983 style { name: "browser_item_label"; 2006 style { name: "browser_item_label";
2007 base: "font=Sans font_size=10 color=#ffffffff wrap=mixed ellipsis=1.0";
2008 }
2009 style { name: "browser_item_label_fullscreen";
1984 base: "font=Sans font_size=20 color=#ffffffff wrap=mixed ellipsis=1.0"; 2010 base: "font=Sans font_size=20 color=#ffffffff wrap=mixed ellipsis=1.0";
1985 } 2011 }
1986 } 2012 }
@@ -2044,18 +2070,26 @@ collections {
2044 description { state: "default" 0.0; 2070 description { state: "default" 0.0;
2045 rel2.relative: 0.0 0.0; 2071 rel2.relative: 0.0 0.0;
2046 align: 0.0 0.0; 2072 align: 0.0 0.0;
2047 min: 16 16; 2073 min: 8 8;
2048 fixed: 1 1; 2074 fixed: 1 1;
2049 } 2075 }
2076 description { state: "fullscreen" 0.0;
2077 inherit: "default" 0.0;
2078 min: 16 16;
2079 }
2050 } 2080 }
2051 part { name: "p2"; type: SPACER; 2081 part { name: "p2"; type: SPACER;
2052 scale: 1; 2082 scale: 1;
2053 description { state: "default" 0.0; 2083 description { state: "default" 0.0;
2054 rel1.relative: 1.0 1.0; 2084 rel1.relative: 1.0 1.0;
2055 align: 1.0 1.0; 2085 align: 1.0 1.0;
2056 min: 16 16; 2086 min: 8 8;
2057 fixed: 1 1; 2087 fixed: 1 1;
2058 } 2088 }
2089 description { state: "fullscreen" 0.0;
2090 inherit: "default" 0.0;
2091 min: 16 16;
2092 }
2059 } 2093 }
2060 part { name: "clip"; type: RECT; 2094 part { name: "clip"; type: RECT;
2061 description { state: "default" 0.0; 2095 description { state: "default" 0.0;
@@ -2092,9 +2126,9 @@ collections {
2092 description { state: "default" 0.0; 2126 description { state: "default" 0.0;
2093 fixed: 1 1; 2127 fixed: 1 1;
2094 align: 0.0 1.0; 2128 align: 0.0 1.0;
2095 rel1.offset: 8 8; 2129 rel1.offset: 2 2;
2096 rel1.to: "clip"; 2130 rel1.to: "clip";
2097 rel2.offset: -9 -9; 2131 rel2.offset: -3 -3;
2098 rel2.to: "clip"; 2132 rel2.to: "clip";
2099 color: 255 255 255 255; 2133 color: 255 255 255 255;
2100 text { font: "Sans"; size: 20; 2134 text { font: "Sans"; size: 20;
@@ -2104,6 +2138,12 @@ collections {
2104 elipsis: 0; 2138 elipsis: 0;
2105 } 2139 }
2106 } 2140 }
2141 description { state: "fullscreen" 0.0;
2142 inherit: "default" 0.0;
2143 rel1.offset: 8 8;
2144 rel2.offset: -9 -9;
2145 text.style: "browser_item_label_fullscreen";
2146 }
2107 } 2147 }
2108 part { name: "event"; type: RECT; 2148 part { name: "event"; type: RECT;
2109 ignore_flags: ON_HOLD; 2149 ignore_flags: ON_HOLD;
@@ -2116,5 +2156,19 @@ collections {
2116 action: SIGNAL_EMIT "rage,selected" "rage"; 2156 action: SIGNAL_EMIT "rage,selected" "rage";
2117 } 2157 }
2118 } 2158 }
2159 programs {
2160 program { signal: "state,fullscreen"; source: "rage";
2161 action: STATE_SET "fullscreen" 0.0;
2162 target: "rage.title";
2163 target: "p1";
2164 target: "p2";
2165 }
2166 program { signal: "state,normal"; source: "rage";
2167 action: STATE_SET "default" 0.0;
2168 target: "rage.title";
2169 target: "p1";
2170 target: "p2";
2171 }
2172 }
2119 } 2173 }
2120} 2174}