summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorcodewarrior <codewarrior>2005-11-03 15:26:46 +0000
committercodewarrior <codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-11-03 15:26:46 +0000
commit9f6d2b667c13a810582ea957c1be171d26827cd7 (patch)
treeb1f0fd9bb8088354ad007995c69fbe52147acdc6 /data
parenta8476f0a304267cfc5398e7e224b7d5810f9221f (diff)
- work on icon thumbs, give them their own theme part.
SVN revision: 18254
Diffstat (limited to 'data')
-rw-r--r--data/themes/default_fileman.edc332
-rw-r--r--data/themes/images/Makefile.am1
-rw-r--r--data/themes/images/e17_fileman_thumb_bg.pngbin0 -> 291 bytes
3 files changed, 333 insertions, 0 deletions
diff --git a/data/themes/default_fileman.edc b/data/themes/default_fileman.edc
index 59c3b9b2e..aa829229e 100644
--- a/data/themes/default_fileman.edc
+++ b/data/themes/default_fileman.edc
@@ -152,6 +152,8 @@ images
152 image: "e17_logo.png" COMP; 152 image: "e17_logo.png" COMP;
153 153
154 image: "e17_button.png" COMP; 154 image: "e17_button.png" COMP;
155 image: "e17_fileman_thumb_bg.png" COMP;
156 image: "e17_mini_button_shadow2.png" COMP;
155} 157}
156 158
157styles 159styles
@@ -1065,6 +1067,336 @@ group {
1065 } 1067 }
1066} 1068}
1067 1069
1070
1071group {
1072 name: "fileman/icon_thumb";
1073 parts {
1074 part {
1075 name: "icon_box_shadow";
1076 mouse_events: 0;
1077 description {
1078 state: "default" 0.0;
1079 rel1 {
1080 to: "icon_box";
1081 relative: 0.0 0.0;
1082 offset: 3 3;
1083 }
1084 rel2 {
1085 to: "icon_box";
1086 relative: 1.0 1.0;
1087 offset: 3 3;
1088 }
1089 image {
1090 normal: "e17_mini_button_shadow2.png";
1091 border: 6 6 6 6;
1092 }
1093 }
1094 }
1095 part {
1096 name: "icon_box";
1097 type: RECT;
1098 mouse_events: 0;
1099 description {
1100 state: "default" 0.0;
1101 align: 0.5 0.5;
1102 rel1 {
1103 relative: 0.0 0.0;
1104 offset: 0 0;
1105 }
1106 rel2 {
1107 relative: 1.0 1.0;
1108 offset: -6 -6;
1109 }
1110 color: 0 0 0 255;
1111 }
1112 }
1113 part {
1114 name: "icon_box_bg";
1115 mouse_events: 0;
1116 description {
1117 state: "default" 0.0;
1118 rel1 {
1119 to: "icon_box";
1120 relative: 0.0 0.0;
1121 offset: 1 1;
1122 }
1123 rel2 {
1124 to: "icon_box";
1125 relative: 1.0 1.0;
1126 offset: -2 -2;
1127 }
1128 image {
1129 normal: "e17_fileman_thumb_bg.png";
1130 }
1131 fill {
1132 smooth: 0;
1133 size {
1134 relative: 0 0;
1135 offset: 32 32;
1136 }
1137 }
1138 }
1139 }
1140 part {
1141 name: "icon_swallow";
1142 type: SWALLOW;
1143 mouse_events: 0;
1144 description {
1145 state: "default" 0.0;
1146 rel1 {
1147 to: "icon_box_bg";
1148 }
1149 rel2 {
1150 to: "icon_box_bg";
1151 }
1152 }
1153 }
1154 }
1155}
1156
1157group {
1158 name: "fileman/icon_thumb_normal2";
1159 min: 48 48;
1160 max: 128 9999;
1161 parts {
1162 part {
1163 /* this is used for debugging */
1164 name: "ghost";
1165 type: RECT;
1166 description {
1167 state: "default" 0.0;
1168 visible: 0;
1169 color: 128 128 128 128;
1170 }
1171 }
1172/*
1173 part {
1174 name: "icon_bg";
1175 mouse_events: 0;
1176 description {
1177 min: 48 48;
1178 max: 48 48;
1179 align: 0.5 0.0;
1180 state: "default" 0.0;
1181 rel1 {
1182 to: "icon_swallow";
1183 offset: 5 5;
1184 }
1185 image {
1186 normal: "e17_fileman_thumb_bg.png";
1187 }
1188 }
1189 }
1190*/
1191 part {
1192 name: "icon_box_shadow";
1193 mouse_events: 0;
1194 description {
1195 min: 56 56;
1196 max: 56 56;
1197 state: "default" 0.0;
1198 rel1 {
1199 to: "icon_box";
1200 relative: 0.0 0.0;
1201 offset: 2 2;
1202 }
1203 rel2 {
1204 to: "icon_box";
1205 relative: 1.0 1.0;
1206 offset: 3 3;
1207 }
1208 image {
1209 normal: "e17_mini_button_shadow2.png";
1210 border: 6 6 6 6;
1211 }
1212 }
1213 }
1214 part {
1215 name: "icon_box";
1216 type: RECT;
1217 mouse_events: 0;
1218 description {
1219 min: 52 52;
1220 max: 52 52;
1221 state: "default" 0.0;
1222 rel1 {
1223 to: "icon_swallow";
1224 relative: 0.0 0.0;
1225 offset: -2 -2;
1226 }
1227 rel2 {
1228 to: "icon_swallow";
1229 relative: 1.0 1.0;
1230 offset: 2 2;
1231 }
1232 color: 0 0 0 255;
1233 }
1234 }
1235 part {
1236 name: "icon_box_bg";
1237 mouse_events: 0;
1238 description {
1239 min: 50 50;
1240 max: 50 50;
1241 state: "default" 0.0;
1242 rel1 {
1243 to: "icon_swallow";
1244 relative: 0.0 0.0;
1245 offset: -1 -1;
1246 }
1247 rel2 {
1248 to: "icon_swallow";
1249 relative: 1.0 1.0;
1250 offset: 1 1;
1251 }
1252 image {
1253 normal: "e17_fileman_thumb_bg.png";
1254 }
1255 fill {
1256 smooth: 0;
1257 size {
1258 relative: 0 0;
1259 offset: 32 32;
1260 }
1261 }
1262 }
1263 }
1264 part {
1265 name: "icon_swallow";
1266 type: SWALLOW;
1267 mouse_events: 0;
1268 description {
1269 min: 48 48;
1270 max: 48 48;
1271 align: 0.5 0.0;
1272 state: "default" 0.0;
1273 }
1274 }
1275 part {
1276 name: "icon_overlay";
1277 mouse_events: 1;
1278 description {
1279 state: "default" 0.0;
1280 visible: 0;
1281 rel1 {
1282 relative: 0.0 0.0;
1283 offset: -3 -4;
1284 }
1285 rel2 {
1286 relative: 1.0 1.0;
1287 offset: 3 6;
1288 }
1289 image {
1290 normal: "e17_button.png";
1291 }
1292 color: 255 255 255 128;
1293 }
1294 description {
1295 state: "clicked" 0.0;
1296 inherit: "default" 0.0;
1297 visible: 1;
1298 }
1299 }
1300 part {
1301 name: "icon_title";
1302 type: SWALLOW;
1303 description {
1304 fixed: 1 1;
1305 align: 0.5 0.0;
1306 state: "default" 0.0;
1307 rel1 {
1308 to: "icon_box";
1309 relative: 0.0 1.0;
1310 offset: 1 2;
1311 }
1312 rel2 {
1313 to: "icon_box";
1314 relative: 1.0 1.0;
1315 offset: -1 2;
1316 }
1317 }
1318 description {
1319 state: "clicked" 0.0;
1320 inherit: "default" 0.0;
1321 }
1322 }
1323 part {
1324 name: "icon_event";
1325 type: RECT;
1326 mouse_events: 1;
1327 description {
1328 state: "default" 0.0;
1329 rel1 {
1330 relative: 0.0 0.0;
1331 offset: -3 -4;
1332 }
1333 rel2 {
1334 relative: 1.0 1.0;
1335 offset: 3 6;
1336 }
1337 color: 0 0 0 0;
1338 }
1339 }
1340/*
1341 part {
1342 name: "icon_title";
1343 type: TEXTBLOCK;
1344 effect: NONE;
1345 description {
1346 rel1 {
1347 relative: 0.0 1.0;
1348 offset: 5 -20;
1349 }
1350 rel2 {
1351 relative: 1.0 1.0;
1352 offset: -6 1000;
1353 }
1354 color: 0 0 0 255;
1355 //color3: 0 0 0 32;
1356 text {
1357 text: "No Title";
1358 style: "fileman_icon_style";
1359 min: 1 1;
1360 }
1361 }
1362 }
1363*/
1364 part {
1365 name: "icon_title_edit_swallow";
1366 type: SWALLOW;
1367 effect: NONE;
1368 description {
1369 rel1 {
1370 relative: 0.0 1.0;
1371 offset: 5 -20;
1372 }
1373 rel2 {
1374 relative: 1.0 1.0;
1375 offset: -6 -6;
1376 }
1377 }
1378 }
1379 }
1380 programs {
1381 program {
1382 name: "clicked";
1383 signal: "clicked";
1384 source: "";
1385 action: STATE_SET "clicked" 0.0;
1386 target: "icon_title";
1387 target: "icon_overlay";
1388 }
1389 program {
1390 name: "unclicked";
1391 signal: "unclicked";
1392 source: "";
1393 action: STATE_SET "default" 0.0;
1394 target: "icon_title";
1395 target: "icon_overlay";
1396 }
1397 }
1398}
1399
1068group { 1400group {
1069 name: "fileman/icon_list"; 1401 name: "fileman/icon_list";
1070// min: 12 12; 1402// min: 12 12;
diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am
index aaa46a346..06edda4cd 100644
--- a/data/themes/images/Makefile.am
+++ b/data/themes/images/Makefile.am
@@ -331,6 +331,7 @@ e17_scrollbar_vdrag_thumb.png \
331e17_fileman_bg.png \ 331e17_fileman_bg.png \
332e17_fileman_bg_shadow.png \ 332e17_fileman_bg_shadow.png \
333e17_fileman_rubberband.png \ 333e17_fileman_rubberband.png \
334e17_fileman_thumb_bg.png \
334e17_icon_fileman_c.png \ 335e17_icon_fileman_c.png \
335e17_icon_fileman_file.png \ 336e17_icon_fileman_file.png \
336e17_icon_fileman_file_clicked.png \ 337e17_icon_fileman_file_clicked.png \
diff --git a/data/themes/images/e17_fileman_thumb_bg.png b/data/themes/images/e17_fileman_thumb_bg.png
new file mode 100644
index 000000000..4ce387be8
--- /dev/null
+++ b/data/themes/images/e17_fileman_thumb_bg.png
Binary files differ