summaryrefslogtreecommitdiff
path: root/data/themes/default.edc
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/default.edc')
-rw-r--r--data/themes/default.edc257
1 files changed, 245 insertions, 12 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index fd7f214..af1f8e9 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -629,15 +629,19 @@ collections {
629 } 629 }
630 program { 630 program {
631 signal: "mouse,clicked,1"; source: "tabcount_ev"; 631 signal: "mouse,clicked,1"; source: "tabcount_ev";
632 action: SIGNAL_EMIT "tabcount,go" "terminology"; 632 action: SIGNAL_EMIT "tab,go" "terminology";
633 }
634 program {
635 signal: "mouse,clicked,3"; source: "tabcount_ev";
636 action: SIGNAL_EMIT "tab,new" "terminology";
633 } 637 }
634 program { 638 program {
635 signal: "mouse,wheel,0,1"; source: "tabcount_ev"; 639 signal: "mouse,wheel,0,1"; source: "tabcount_ev";
636 action: SIGNAL_EMIT "tabcount,prev" "terminology"; 640 action: SIGNAL_EMIT "tab,prev" "terminology";
637 } 641 }
638 program { 642 program {
639 signal: "mouse,wheel,0,-1"; source: "tabcount_ev"; 643 signal: "mouse,wheel,0,-1"; source: "tabcount_ev";
640 action: SIGNAL_EMIT "tabcount,next" "terminology"; 644 action: SIGNAL_EMIT "tab,next" "terminology";
641 } 645 }
642 program { 646 program {
643 signal: "tabcount,off"; source: "terminology"; 647 signal: "tabcount,off"; source: "terminology";
@@ -1287,7 +1291,6 @@ collections {
1287 target: "tableft"; 1291 target: "tableft";
1288 target: "tabmiddle"; 1292 target: "tabmiddle";
1289 target: "tabright"; 1293 target: "tabright";
1290 target: "tab_btn";
1291 target: "bevel"; 1294 target: "bevel";
1292 target: "glintclip"; 1295 target: "glintclip";
1293 target: "tab_bevel_bottom"; 1296 target: "tab_bevel_bottom";
@@ -1314,7 +1317,6 @@ collections {
1314 target: "tableft"; 1317 target: "tableft";
1315 target: "tabmiddle"; 1318 target: "tabmiddle";
1316 target: "tabright"; 1319 target: "tabright";
1317 target: "tab_btn";
1318 target: "bevel"; 1320 target: "bevel";
1319 target: "glintclip"; 1321 target: "glintclip";
1320 target: "tab_bevel_bottom"; 1322 target: "tab_bevel_bottom";
@@ -1334,21 +1336,253 @@ collections {
1334 target: "tabtitle"; 1336 target: "tabtitle";
1335 target: "tabclose"; 1337 target: "tabclose";
1336 } 1338 }
1337 part { name: "tab_btn"; type: RECT; 1339 program {
1340 signal: "tab_btn,on"; source: "terminology";
1341 action: STATE_SET "on" 0.0;
1342 target: "tab_btn_clip";
1343 target: "tab_btn_bg";
1344 target: "terminology.tab_btn";
1345 }
1346 program {
1347 signal: "tab_btn,off"; source: "terminology";
1348 action: STATE_SET "default" 0.0;
1349 target: "tab_btn_clip";
1350 target: "tab_btn_bg";
1351 target: "terminology.tab_btn";
1352 }
1353 part { name: "tab_btn_clip"; type: RECT;
1354 description { state: "default" 0.0;
1355 color: 255 255 255 0;
1356 visible: 0;
1357 }
1358 description { state: "on" 0.0;
1359 inherit: "default" 0.0;
1360 visible: 1;
1361 color: 255 255 255 255;
1362 }
1363 }
1364 part { name: "tab_btn_bg";
1365 mouse_events: 0;
1366 clip_to: "tab_btn_clip";
1367 description { state: "default" 0.0;
1368 fixed: 1 1;
1369 rel1.to: "terminology.tab_btn";
1370 rel2.to: "terminology.tab_btn";
1371 image.normal: "tab_bg_r0.png";
1372 image.border: 0 2 4 4;
1373 fill.smooth: 0;
1374 visible: 0;
1375 fixed: 1 1;
1376 }
1377 description { state: "on" 0.0;
1378 inherit: "default" 0.0;
1379 visible: 1;
1380 }
1381 }
1382 part { name: "tab_btn_glow_r0";
1383 clip_to: "tab_btn_clip";
1384 description { state: "default" 0.0;
1385 fixed: 1 1;
1386 rel1.to: "tab_btn_r0";
1387 rel2.to: "tab_btn_r0";
1388 rel1.offset: -4 -4;
1389 rel2.offset: 3 3;
1390 image {
1391 normal: "cr_glow.png";
1392 border: 9 9 9 9;
1393 }
1394 color: 51 153 255 32;
1395 }
1396 description { state: "over" 0.0;
1397 inherit: "default" 0.0;
1398 color: 51 153 255 255;
1399 }
1400 }
1401 part { name: "tab_btn_glow_r1";
1402 clip_to: "tab_btn_clip";
1403 description { state: "default" 0.0;
1404 fixed: 1 1;
1405 rel1.to: "tab_btn_r1";
1406 rel2.to: "tab_btn_r1";
1407 rel1.offset: -4 -4;
1408 rel2.offset: 3 3;
1409 image {
1410 normal: "cr_glow.png";
1411 border: 9 9 9 9;
1412 }
1413 color: 51 153 255 32;
1414 }
1415 description { state: "over" 0.0;
1416 inherit: "default" 0.0;
1417 color: 51 153 255 255;
1418 }
1419 }
1420 part { name: "tab_btn_glow_r2";
1421 clip_to: "tab_btn_clip";
1422 description { state: "default" 0.0;
1423 fixed: 1 1;
1424 rel1.to: "tab_btn_r2";
1425 rel2.to: "tab_btn_r2";
1426 rel1.offset: -4 -4;
1427 rel2.offset: 3 3;
1428 image {
1429 normal: "cr_glow.png";
1430 border: 9 9 9 9;
1431 }
1432 color: 51 153 255 32;
1433 }
1434 description { state: "over" 0.0;
1435 inherit: "default" 0.0;
1436 color: 51 153 255 255;
1437 }
1438 }
1439 part { name: "tab_btn_glow_r3";
1440 clip_to: "tab_btn_clip";
1441 description { state: "default" 0.0;
1442 fixed: 1 1;
1443 rel1.to: "tab_btn_r3";
1444 rel2.to: "tab_btn_r3";
1445 rel1.offset: -4 -4;
1446 rel2.offset: 3 3;
1447 image {
1448 normal: "cr_glow.png";
1449 border: 9 9 9 9;
1450 }
1451 color: 51 153 255 32;
1452 }
1453 description { state: "over" 0.0;
1454 inherit: "default" 0.0;
1455 color: 51 153 255 255;
1456 }
1457 }
1458 part { name: "tab_btn_r0"; type: RECT;
1459 clip_to: "tab_btn_clip";
1460 description { state: "default" 0.0;
1461 fixed: 1 1;
1462 rel1.to: "terminology.tab_btn";
1463 rel2.to: "terminology.tab_btn";
1464 rel1.relative: 0.05 0.05;
1465 rel2.relative: 0.45 0.45;
1466 color: 255 255 255 32;
1467 }
1468 description { state: "over" 0.0;
1469 inherit: "default" 0.0;
1470 color: 255 255 255 255;
1471 }
1472 }
1473 part { name: "tab_btn_r1"; type: RECT;
1474 clip_to: "tab_btn_clip";
1475 description { state: "default" 0.0;
1476 fixed: 1 1;
1477 rel1.to: "terminology.tab_btn";
1478 rel2.to: "terminology.tab_btn";
1479 rel1.relative: 0.55 0.05;
1480 rel2.relative: 0.95 0.45;
1481 color: 255 255 255 32;
1482 }
1483 description { state: "over" 0.0;
1484 inherit: "default" 0.0;
1485 color: 255 255 255 255;
1486 }
1487 }
1488 part { name: "tab_btn_r2"; type: RECT;
1489 clip_to: "tab_btn_clip";
1490 description { state: "default" 0.0;
1491 fixed: 1 1;
1492 rel1.to: "terminology.tab_btn";
1493 rel2.to: "terminology.tab_btn";
1494 rel1.relative: 0.05 0.55;
1495 rel2.relative: 0.45 0.95;
1496 color: 255 255 255 32;
1497 }
1498 description { state: "over" 0.0;
1499 inherit: "default" 0.0;
1500 color: 255 255 255 255;
1501 }
1502 }
1503 part { name: "tab_btn_r3"; type: RECT;
1504 clip_to: "tab_btn_clip";
1505 description { state: "default" 0.0;
1506 fixed: 1 1;
1507 rel1.to: "terminology.tab_btn";
1508 rel2.to: "terminology.tab_btn";
1509 rel1.relative: 0.55 0.55;
1510 rel2.relative: 0.95 0.95;
1511 color: 255 255 255 32;
1512 }
1513 description { state: "over" 0.0;
1514 inherit: "default" 0.0;
1515 color: 255 255 255 255;
1516 }
1517 }
1518 part { name: "terminology.tab_btn"; type: SWALLOW;
1519 clip_to: "tab_btn_clip";
1338 mouse_events: 0; 1520 mouse_events: 0;
1339 description { state: "default" 0.0; 1521 description { state: "default" 0.0;
1340 rel1.relative: 1.0 0.0; 1522 rel1.relative: 1.0 0.0;
1341 rel2.to_y: "tabmiddle"; 1523 rel2.to_y: "tabmiddle";
1342 color: 250 0 250 255; 1524 color: 250 0 250 255;
1343 visible: 0; 1525 visible: 0;
1344 min: 64 16; 1526 align: 1.0 0.0;
1345 fixed: 1 1; 1527 fixed: 1 1;
1346 } 1528 }
1347 description { state: "tab" 0.0; 1529 description { state: "on" 0.0;
1348 inherit: "default" 0.0; 1530 inherit: "default" 0.0;
1531 min: 16 16;
1349 visible: 1; 1532 visible: 1;
1350 } 1533 }
1351 } 1534 }
1535 part { name: "tab_btn_ev"; type: RECT; repeat_events: 1;
1536 clip_to: "tab_btn_clip";
1537 description { state: "default" 0.0;
1538 fixed: 1 1;
1539 rel1.to: "terminology.tab_btn";
1540 rel2.to: "terminology.tab_btn";
1541 color: 0 0 0 0;
1542 }
1543 }
1544 program {
1545 signal: "mouse,in"; source: "tab_btn_ev";
1546 action: STATE_SET "over" 0.0;
1547 transition: DECELERATE 0.5;
1548 target: "tab_btn_r0";
1549 target: "tab_btn_r1";
1550 target: "tab_btn_r2";
1551 target: "tab_btn_r3";
1552 target: "tab_btn_glow_r0";
1553 target: "tab_btn_glow_r1";
1554 target: "tab_btn_glow_r2";
1555 target: "tab_btn_glow_r3";
1556 }
1557 program {
1558 signal: "mouse,out"; source: "tab_btn_ev";
1559 action: STATE_SET "default" 0.0;
1560 transition: DECELERATE 2.0;
1561 target: "tab_btn_r0";
1562 target: "tab_btn_r1";
1563 target: "tab_btn_r2";
1564 target: "tab_btn_r3";
1565 target: "tab_btn_glow_r0";
1566 target: "tab_btn_glow_r1";
1567 target: "tab_btn_glow_r2";
1568 target: "tab_btn_glow_r3";
1569 }
1570 program {
1571 signal: "mouse,clicked,1"; source: "tab_btn_ev";
1572 action: SIGNAL_EMIT "tab,go" "terminology";
1573 }
1574 program {
1575 signal: "mouse,clicked,3"; source: "tab_btn_ev";
1576 action: SIGNAL_EMIT "tab,new" "terminology";
1577 }
1578 program {
1579 signal: "mouse,wheel,0,1"; source: "tab_btn_ev";
1580 action: SIGNAL_EMIT "tab,prev" "terminology";
1581 }
1582 program {
1583 signal: "mouse,wheel,0,-1"; source: "tab_btn_ev";
1584 action: SIGNAL_EMIT "tab,next" "terminology";
1585 }
1352 1586
1353 part { name: "terminology.tab"; type: SWALLOW; 1587 part { name: "terminology.tab"; type: SWALLOW;
1354 mouse_events: 0; 1588 mouse_events: 0;
@@ -1366,7 +1600,7 @@ collections {
1366 part { name: "tabdrag"; type: SPACER; 1600 part { name: "tabdrag"; type: SPACER;
1367 description { state: "default" 0.0; 1601 description { state: "default" 0.0;
1368 rel2.relative: 0.0 0.0; 1602 rel2.relative: 0.0 0.0;
1369 rel2.to_x: "tab_btn"; 1603 rel2.to_x: "terminology.tab_btn";
1370 fixed: 1 1; 1604 fixed: 1 1;
1371 } 1605 }
1372 } 1606 }
@@ -1386,7 +1620,7 @@ collections {
1386 dragable.confine: "tabdrag"; 1620 dragable.confine: "tabdrag";
1387 description { state: "default" 0.0; 1621 description { state: "default" 0.0;
1388 rel2.relative: 0.0 0.0; 1622 rel2.relative: 0.0 0.0;
1389 rel2.to_x: "tab_btn"; 1623 rel2.to_x: "terminology.tab_btn";
1390 max: 1 1; 1624 max: 1 1;
1391 fixed: 1 1; 1625 fixed: 1 1;
1392 } 1626 }
@@ -1480,13 +1714,12 @@ collections {
1480 visible: 1; 1714 visible: 1;
1481 } 1715 }
1482 } 1716 }
1483 /*TODO boris */
1484 part { name: "tabright"; type: RECT; 1717 part { name: "tabright"; type: RECT;
1485 mouse_events: 0; 1718 mouse_events: 0;
1486 description { state: "default" 0.0; 1719 description { state: "default" 0.0;
1487 rel1.to: "terminology.tab"; 1720 rel1.to: "terminology.tab";
1488 rel1.relative: 1.0 0.0; 1721 rel1.relative: 1.0 0.0;
1489 rel2.to_x: "tab_btn"; 1722 rel2.to_x: "terminology.tab_btn";
1490 rel2.to_y: "tabmiddle"; 1723 rel2.to_y: "tabmiddle";
1491 rel2.relative: 0.0 1.0; 1724 rel2.relative: 0.0 1.0;
1492 color: 0 0 0 0; 1725 color: 0 0 0 0;