summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/desktop/meson.build14
-rw-r--r--data/desktop/terminology.desktop.in (renamed from data/desktop/terminology.desktop)2
-rw-r--r--data/themes/default.edc257
-rw-r--r--data/themes/mild.edc272
4 files changed, 525 insertions, 20 deletions
diff --git a/data/desktop/meson.build b/data/desktop/meson.build
index 1eb4019..8c16dbe 100644
--- a/data/desktop/meson.build
+++ b/data/desktop/meson.build
@@ -1,2 +1,12 @@
1install_data('terminology.desktop', 1icon_sed = 's~%ICON_PATH%~@0@~'.format(join_paths(get_option('prefix'),
2 install_dir: join_paths(get_option('datadir'), 'applications')) 2 get_option('datadir'),
3 'icons/hicolor/128x128/apps'))
4
5custom_target(
6 'terminology.desktop',
7 input : 'terminology.desktop.in',
8 output: 'terminology.desktop',
9 command : [sed, icon_sed, '@INPUT@'],
10 capture : true,
11 install : true,
12 install_dir : join_paths(get_option('datadir'), 'applications'))
diff --git a/data/desktop/terminology.desktop b/data/desktop/terminology.desktop.in
index 020891d..6d57027 100644
--- a/data/desktop/terminology.desktop
+++ b/data/desktop/terminology.desktop.in
@@ -19,6 +19,6 @@ Comment[ru]=Эмулятор терминала
19Comment[ko]=터미널 에뮬레이터 19Comment[ko]=터미널 에뮬레이터
20Keywords=shell;prompt;command;commandline; 20Keywords=shell;prompt;command;commandline;
21Exec=terminology 21Exec=terminology
22Icon=terminology 22Icon=%ICON_PATH%/terminology.png
23Categories=System;TerminalEmulator; 23Categories=System;TerminalEmulator;
24StartupWMClass=terminology 24StartupWMClass=terminology
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;
diff --git a/data/themes/mild.edc b/data/themes/mild.edc
index f8a79d0..bd5f63c 100644
--- a/data/themes/mild.edc
+++ b/data/themes/mild.edc
@@ -442,7 +442,19 @@ collections {
442 } 442 }
443 program { 443 program {
444 signal: "mouse,clicked,1"; source: "tabcount_ev"; 444 signal: "mouse,clicked,1"; source: "tabcount_ev";
445 action: SIGNAL_EMIT "tabcount,go" "terminology"; 445 action: SIGNAL_EMIT "tab,go" "terminology";
446 }
447 program {
448 signal: "mouse,clicked,3"; source: "tabcount_ev";
449 action: SIGNAL_EMIT "tab,new" "terminology";
450 }
451 program {
452 signal: "mouse,wheel,0,1"; source: "tabcount_ev";
453 action: SIGNAL_EMIT "tab,prev" "terminology";
454 }
455 program {
456 signal: "mouse,wheel,0,-1"; source: "tabcount_ev";
457 action: SIGNAL_EMIT "tab,next" "terminology";
446 } 458 }
447 program { 459 program {
448 signal: "tabcount,off"; source: "terminology"; 460 signal: "tabcount,off"; source: "terminology";
@@ -635,6 +647,254 @@ collections {
635 target: "tabtitle"; 647 target: "tabtitle";
636 } 648 }
637 649
650 program {
651 signal: "tab_btn,on"; source: "terminology";
652 action: STATE_SET "on" 0.0;
653 target: "tab_btn_clip";
654 target: "tab_btn_bg";
655 target: "terminology.tab_btn";
656 }
657 program {
658 signal: "tab_btn,off"; source: "terminology";
659 action: STATE_SET "default" 0.0;
660 target: "tab_btn_clip";
661 target: "tab_btn_bg";
662 target: "terminology.tab_btn";
663 }
664 part { name: "tab_btn_clip"; type: RECT;
665 description { state: "default" 0.0;
666 color: 255 255 255 0;
667 visible: 0;
668 }
669 description { state: "on" 0.0;
670 inherit: "default" 0.0;
671 visible: 1;
672 color: 255 255 255 255;
673 }
674 }
675 part { name: "tab_btn_bg";
676 mouse_events: 0;
677 clip_to: "tab_btn_clip";
678 description { state: "default" 0.0;
679 fixed: 1 1;
680 rel1.to: "terminology.tab_btn";
681 rel2.to: "terminology.tab_btn";
682 image.normal: "tab_bg_r0.png";
683 image.border: 0 2 4 4;
684 fill.smooth: 0;
685 visible: 0;
686 fixed: 1 1;
687 }
688 description { state: "on" 0.0;
689 inherit: "default" 0.0;
690 visible: 1;
691 }
692 }
693 part { name: "tab_btn_glow_r0";
694 clip_to: "tab_btn_clip";
695 description { state: "default" 0.0;
696 fixed: 1 1;
697 rel1.to: "tab_btn_r0";
698 rel2.to: "tab_btn_r0";
699 rel1.offset: -4 -4;
700 rel2.offset: 3 3;
701 image {
702 normal: "cr_glow.png";
703 border: 9 9 9 9;
704 }
705 color: 51 153 255 32;
706 }
707 description { state: "over" 0.0;
708 inherit: "default" 0.0;
709 color: 51 153 255 255;
710 }
711 }
712 part { name: "tab_btn_glow_r1";
713 clip_to: "tab_btn_clip";
714 description { state: "default" 0.0;
715 fixed: 1 1;
716 rel1.to: "tab_btn_r1";
717 rel2.to: "tab_btn_r1";
718 rel1.offset: -4 -4;
719 rel2.offset: 3 3;
720 image {
721 normal: "cr_glow.png";
722 border: 9 9 9 9;
723 }
724 color: 51 153 255 32;
725 }
726 description { state: "over" 0.0;
727 inherit: "default" 0.0;
728 color: 51 153 255 255;
729 }
730 }
731 part { name: "tab_btn_glow_r2";
732 clip_to: "tab_btn_clip";
733 description { state: "default" 0.0;
734 fixed: 1 1;
735 rel1.to: "tab_btn_r2";
736 rel2.to: "tab_btn_r2";
737 rel1.offset: -4 -4;
738 rel2.offset: 3 3;
739 image {
740 normal: "cr_glow.png";
741 border: 9 9 9 9;
742 }
743 color: 51 153 255 32;
744 }
745 description { state: "over" 0.0;
746 inherit: "default" 0.0;
747 color: 51 153 255 255;
748 }
749 }
750 part { name: "tab_btn_glow_r3";
751 clip_to: "tab_btn_clip";
752 description { state: "default" 0.0;
753 fixed: 1 1;
754 rel1.to: "tab_btn_r3";
755 rel2.to: "tab_btn_r3";
756 rel1.offset: -4 -4;
757 rel2.offset: 3 3;
758 image {
759 normal: "cr_glow.png";
760 border: 9 9 9 9;
761 }
762 color: 51 153 255 32;
763 }
764 description { state: "over" 0.0;
765 inherit: "default" 0.0;
766 color: 51 153 255 255;
767 }
768 }
769 part { name: "tab_btn_r0"; type: RECT;
770 clip_to: "tab_btn_clip";
771 description { state: "default" 0.0;
772 fixed: 1 1;
773 rel1.to: "terminology.tab_btn";
774 rel2.to: "terminology.tab_btn";
775 rel1.relative: 0.05 0.05;
776 rel2.relative: 0.45 0.45;
777 color: 255 255 255 32;
778 }
779 description { state: "over" 0.0;
780 inherit: "default" 0.0;
781 color: 255 255 255 255;
782 }
783 }
784 part { name: "tab_btn_r1"; type: RECT;
785 clip_to: "tab_btn_clip";
786 description { state: "default" 0.0;
787 fixed: 1 1;
788 rel1.to: "terminology.tab_btn";
789 rel2.to: "terminology.tab_btn";
790 rel1.relative: 0.55 0.05;
791 rel2.relative: 0.95 0.45;
792 color: 255 255 255 32;
793 }
794 description { state: "over" 0.0;
795 inherit: "default" 0.0;
796 color: 255 255 255 255;
797 }
798 }
799 part { name: "tab_btn_r2"; type: RECT;
800 clip_to: "tab_btn_clip";
801 description { state: "default" 0.0;
802 fixed: 1 1;
803 rel1.to: "terminology.tab_btn";
804 rel2.to: "terminology.tab_btn";
805 rel1.relative: 0.05 0.55;
806 rel2.relative: 0.45 0.95;
807 color: 255 255 255 32;
808 }
809 description { state: "over" 0.0;
810 inherit: "default" 0.0;
811 color: 255 255 255 255;
812 }
813 }
814 part { name: "tab_btn_r3"; type: RECT;
815 clip_to: "tab_btn_clip";
816 description { state: "default" 0.0;
817 fixed: 1 1;
818 rel1.to: "terminology.tab_btn";
819 rel2.to: "terminology.tab_btn";
820 rel1.relative: 0.55 0.55;
821 rel2.relative: 0.95 0.95;
822 color: 255 255 255 32;
823 }
824 description { state: "over" 0.0;
825 inherit: "default" 0.0;
826 color: 255 255 255 255;
827 }
828 }
829 part { name: "terminology.tab_btn"; type: SWALLOW;
830 clip_to: "tab_btn_clip";
831 mouse_events: 0;
832 description { state: "default" 0.0;
833 rel1.relative: 1.0 0.0;
834 rel2.to_y: "tabmiddle";
835 color: 250 0 250 255;
836 visible: 0;
837 align: 1.0 0.0;
838 fixed: 1 1;
839 }
840 description { state: "on" 0.0;
841 inherit: "default" 0.0;
842 min: 16 16;
843 visible: 1;
844 }
845 }
846 part { name: "tab_btn_ev"; type: RECT; repeat_events: 1;
847 clip_to: "tab_btn_clip";
848 description { state: "default" 0.0;
849 fixed: 1 1;
850 rel1.to: "terminology.tab_btn";
851 rel2.to: "terminology.tab_btn";
852 color: 0 0 0 0;
853 }
854 }
855 program {
856 signal: "mouse,in"; source: "tab_btn_ev";
857 action: STATE_SET "over" 0.0;
858 transition: DECELERATE 0.5;
859 target: "tab_btn_r0";
860 target: "tab_btn_r1";
861 target: "tab_btn_r2";
862 target: "tab_btn_r3";
863 target: "tab_btn_glow_r0";
864 target: "tab_btn_glow_r1";
865 target: "tab_btn_glow_r2";
866 target: "tab_btn_glow_r3";
867 }
868 program {
869 signal: "mouse,out"; source: "tab_btn_ev";
870 action: STATE_SET "default" 0.0;
871 transition: DECELERATE 2.0;
872 target: "tab_btn_r0";
873 target: "tab_btn_r1";
874 target: "tab_btn_r2";
875 target: "tab_btn_r3";
876 target: "tab_btn_glow_r0";
877 target: "tab_btn_glow_r1";
878 target: "tab_btn_glow_r2";
879 target: "tab_btn_glow_r3";
880 }
881 program {
882 signal: "mouse,clicked,1"; source: "tab_btn_ev";
883 action: SIGNAL_EMIT "tab,go" "terminology";
884 }
885 program {
886 signal: "mouse,clicked,3"; source: "tab_btn_ev";
887 action: SIGNAL_EMIT "tab,new" "terminology";
888 }
889 program {
890 signal: "mouse,wheel,0,1"; source: "tab_btn_ev";
891 action: SIGNAL_EMIT "tab,prev" "terminology";
892 }
893 program {
894 signal: "mouse,wheel,0,-1"; source: "tab_btn_ev";
895 action: SIGNAL_EMIT "tab,next" "terminology";
896 }
897
638 part { name: "terminology.tab"; type: SWALLOW; 898 part { name: "terminology.tab"; type: SWALLOW;
639 mouse_events: 0; 899 mouse_events: 0;
640 description { state: "default" 0.0; 900 description { state: "default" 0.0;
@@ -650,11 +910,12 @@ collections {
650 // some slot for dragable parts to stayt in along top edge of bg 910 // some slot for dragable parts to stayt in along top edge of bg
651 part { name: "tabdrag"; type: SPACER; 911 part { name: "tabdrag"; type: SPACER;
652 description { state: "default" 0.0; 912 description { state: "default" 0.0;
653 rel2.relative: 1.0 0.0; 913 rel2.relative: 0.0 0.0;
914 rel2.to_x: "terminology.tab_btn";
654 fixed: 1 1; 915 fixed: 1 1;
655 } 916 }
656 } 917 }
657 // left boundary of the active tab (ragable 0.0 -> 1.0) 918 // left boundary of the active tab (dragable 0.0 -> 1.0)
658 part { name: "terminology.tabl"; type: SPACER; 919 part { name: "terminology.tabl"; type: SPACER;
659 dragable.x: 1 1 0; 920 dragable.x: 1 1 0;
660 dragable.confine: "tabdrag"; 921 dragable.confine: "tabdrag";
@@ -664,12 +925,13 @@ collections {
664 fixed: 1 1; 925 fixed: 1 1;
665 } 926 }
666 } 927 }
667 // right boundary of the active tab (ragable 0.0 -> 1.0) 928 // right boundary of the active tab (dragable 0.0 -> 1.0)
668 part { name: "terminology.tabr"; type: SPACER; 929 part { name: "terminology.tabr"; type: SPACER;
669 dragable.x: 1 1 0; 930 dragable.x: 1 1 0;
670 dragable.confine: "tabdrag"; 931 dragable.confine: "tabdrag";
671 description { state: "default" 0.0; 932 description { state: "default" 0.0;
672 rel2.relative: 1.0 0.0; 933 rel2.relative: 0.0 0.0;
934 rel2.to_x: "terminology.tab_btn";
673 max: 1 1; 935 max: 1 1;
674 fixed: 1 1; 936 fixed: 1 1;
675 } 937 }