aboutsummaryrefslogtreecommitdiffstats
path: root/data
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
parentrage videothubm - use sh explicitly for thumbnailer tool (diff)
downloadrage-d0732ec3f1d7ae5f244cd4bc910ec910fc91c42e.tar.gz
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')
-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 {
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 0.0;
- rel1.offset: 0 40;
- rel2.offset: -1 40;
+ rel1.offset: 0 10;
+ rel2.offset: -1 10;
rel2.relative: 1.0 0.0;
color: 255 255 255 255;
- text { font: "Sans:style=Bold"; size: 40;
+ text { font: "Sans:style=Bold"; size: 10;
align: 0.0 0.0;
min: 0 1;
elipsis: 0;
}
}
+ description { state: "fullscreen" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 40;
+ rel2.offset: -1 40;
+ text.size: 40;
+ }
}
part { name: "rage.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to_y: "rage.title";
rel1.relative: 0.0 1.0;
+ rel1.offset: 0 10;
+ rel2.offset: -1 -1;
+ }
+ description { state: "fullscreen" 0.0;
+ inherit: "default" 0.0;
rel1.offset: 0 40;
- rel2.offset: -1 -41;
+ rel2.offset: -1 -11;
}
}
}
+ programs {
+ program { signal: "state,fullscreen"; source: "rage";
+ action: STATE_SET "fullscreen" 0.0;
+ target: "rage.title";
+ target: "rage.content";
+ }
+ program { signal: "state,normal"; source: "rage";
+ action: STATE_SET "default" 0.0;
+ target: "rage.title";
+ target: "rage.content";
+ }
+ }
}
group { name: "rage/browser/item";
@@ -1981,6 +2004,9 @@ collections {
styles {
style { name: "browser_item_label";
+ base: "font=Sans font_size=10 color=#ffffffff wrap=mixed ellipsis=1.0";
+ }
+ style { name: "browser_item_label_fullscreen";
base: "font=Sans font_size=20 color=#ffffffff wrap=mixed ellipsis=1.0";
}
}
@@ -2044,18 +2070,26 @@ collections {
description { state: "default" 0.0;
rel2.relative: 0.0 0.0;
align: 0.0 0.0;
- min: 16 16;
+ min: 8 8;
fixed: 1 1;
}
+ description { state: "fullscreen" 0.0;
+ inherit: "default" 0.0;
+ min: 16 16;
+ }
}
part { name: "p2"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1.0 1.0;
align: 1.0 1.0;
- min: 16 16;
+ min: 8 8;
fixed: 1 1;
}
+ description { state: "fullscreen" 0.0;
+ inherit: "default" 0.0;
+ min: 16 16;
+ }
}
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
@@ -2092,9 +2126,9 @@ collections {
description { state: "default" 0.0;
fixed: 1 1;
align: 0.0 1.0;
- rel1.offset: 8 8;
+ rel1.offset: 2 2;
rel1.to: "clip";
- rel2.offset: -9 -9;
+ rel2.offset: -3 -3;
rel2.to: "clip";
color: 255 255 255 255;
text { font: "Sans"; size: 20;
@@ -2104,6 +2138,12 @@ collections {
elipsis: 0;
}
}
+ description { state: "fullscreen" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 8 8;
+ rel2.offset: -9 -9;
+ text.style: "browser_item_label_fullscreen";
+ }
}
part { name: "event"; type: RECT;
ignore_flags: ON_HOLD;
@@ -2116,5 +2156,19 @@ collections {
action: SIGNAL_EMIT "rage,selected" "rage";
}
}
+ programs {
+ program { signal: "state,fullscreen"; source: "rage";
+ action: STATE_SET "fullscreen" 0.0;
+ target: "rage.title";
+ target: "p1";
+ target: "p2";
+ }
+ program { signal: "state,normal"; source: "rage";
+ action: STATE_SET "default" 0.0;
+ target: "rage.title";
+ target: "p1";
+ target: "p2";
+ }
+ }
}
}