summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2006-01-06 13:56:46 +0000
committerCarsten Haitzler <raster@rasterman.com>2006-01-06 13:56:46 +0000
commiteff5eeeac7164e71f3156553fc7bec9ea4c697e0 (patch)
tree1ae6ac7a81bd7f0f2a7cd387df76838d27ba838f /data
parent1625201009dc574c4af5d62a0a3bf4a59fe18197 (diff)
fix several bugs (cursors for example)... found some more... :)
SVN revision: 19555
Diffstat (limited to 'data')
-rw-r--r--data/themes/default_border.edc3295
-rw-r--r--data/themes/images/Makefile.am6
-rw-r--r--data/themes/images/e17_border1b.pngbin0 -> 367 bytes
-rw-r--r--data/themes/images/e17_border3b.pngbin0 -> 212 bytes
-rw-r--r--data/themes/images/e17_border5b.pngbin0 -> 185 bytes
-rw-r--r--data/themes/images/e17_border7b.pngbin0 -> 200 bytes
6 files changed, 3296 insertions, 5 deletions
diff --git a/data/themes/default_border.edc b/data/themes/default_border.edc
index 05765babf..de44d48de 100644
--- a/data/themes/default_border.edc
+++ b/data/themes/default_border.edc
@@ -242,9 +242,16 @@ images {
242 image: "e17_mini_button.png" COMP; 242 image: "e17_mini_button.png" COMP;
243 image: "e17_mini_button_shadow1.png" COMP; 243 image: "e17_mini_button_shadow1.png" COMP;
244 image: "e17_mini_button_shadow2.png" COMP; 244 image: "e17_mini_button_shadow2.png" COMP;
245 image: "e17_border1b.png" COMP;
246 image: "e17_border3b.png" COMP;
247 image: "e17_border5b.png" COMP;
248 image: "e17_border7b.png" COMP;
245} 249}
250
246group { 251group {
247 name: "widgets/border/default/border"; 252 name: "widgets/border/default/border";
253 // ALSO:
254 // borderless, noresize, shaped, nofocus, urgent, dialog, modal, skipped
248 data { 255 data {
249// this tells e the border is shaped 256// this tells e the border is shaped
250// item: "shaped" "1"; 257// item: "shaped" "1";
@@ -315,6 +322,13 @@ group {
315 smooth: 0; 322 smooth: 0;
316 } 323 }
317 } 324 }
325 description {
326 state: "hidden" 0.0;
327 inherit: "default" 0.0;
328 image {
329 normal: "e17_border1b.png";
330 }
331 }
318 } 332 }
319 part { 333 part {
320 name: "t2"; 334 name: "t2";
@@ -364,6 +378,13 @@ group {
364 smooth: 0; 378 smooth: 0;
365 } 379 }
366 } 380 }
381 description {
382 state: "hidden" 0.0;
383 inherit: "default" 0.0;
384 image {
385 normal: "e17_border3b.png";
386 }
387 }
367 } 388 }
368 part { 389 part {
369 name: "b1"; 390 name: "b1";
@@ -1452,14 +1473,12 @@ group {
1452 signal: "maximize,fullscreen"; 1473 signal: "maximize,fullscreen";
1453 source: ""; 1474 source: "";
1454 action: STATE_SET "hidden" 0.0; 1475 action: STATE_SET "hidden" 0.0;
1476 target: "t1";
1477 target: "t3";
1455 target: "b1"; 1478 target: "b1";
1456 action: STATE_SET "hidden" 0.0;
1457 target: "b2"; 1479 target: "b2";
1458 action: STATE_SET "hidden" 0.0;
1459 target: "b3"; 1480 target: "b3";
1460 action: STATE_SET "hidden" 0.0;
1461 target: "b4"; 1481 target: "b4";
1462 action: STATE_SET "hidden" 0.0;
1463 target: "b5"; 1482 target: "b5";
1464 } 1483 }
1465 program { 1484 program {
@@ -1467,14 +1486,3271 @@ group {
1467 signal: "unmaximize,fullscreen"; 1486 signal: "unmaximize,fullscreen";
1468 source: ""; 1487 source: "";
1469 action: STATE_SET "default" 0.0; 1488 action: STATE_SET "default" 0.0;
1489 target: "t1";
1490 target: "t3";
1470 target: "b1"; 1491 target: "b1";
1492 target: "b2";
1493 target: "b3";
1494 target: "b4";
1495 target: "b5";
1496 }
1497
1498 program {
1499 name: "go_hung";
1500 signal: "hung";
1501 source: "";
1502 action: STATE_SET "hung" 0.0;
1503 target: "title_hung";
1504 transition: DECELERATE 0.5;
1505 after: "go_hung2";
1506 }
1507 program {
1508 name: "go_hung2";
1509 action: STATE_SET "default" 0.0;
1510 target: "title_hung";
1511 transition: SINUSOIDAL 1.0;
1512 after: "go_hung";
1513 }
1514 program {
1515 name: "go_unhung";
1516 signal: "unhung";
1517 source: "";
1518 action: ACTION_STOP;
1519 target: "go_hung";
1520 target: "go_hung2";
1521 after: "go_unhung2";
1522 }
1523 program {
1524 name: "go_unhung2";
1525 action: STATE_SET "default" 0.0;
1526 target: "title_hung";
1527 }
1528 }
1529}
1530
1531group {
1532 name: "widgets/border/shaped/border";
1533 // ALSO:
1534 // borderless, noresize, shaped, nofocus, urgent, dialog, modal, skipped
1535 data {
1536// this tells e the border is shaped
1537 item: "shaped" "1";
1538 }
1539 parts {
1540 part {
1541 name: "whole";
1542 type: RECT;
1543 description {
1544 state: "default" 0.0;
1545 visible: 0;
1546 rel1 {
1547 relative: 0.0 0.0;
1548 offset: 0 0;
1549 }
1550 rel2 {
1551 relative: 1.0 1.0;
1552 offset: -1 -1;
1553 }
1554 }
1555 }
1556 part {
1557 name: "title2";
1558 type: TEXT;
1559 mouse_events: 0;
1560 description {
1561 state: "default" 0.0;
1562 align: 1.0 0.0;
1563 visible: 0;
1564 rel1 {
1565 relative: 0.0 0.0;
1566 offset: 0 7;
1567 }
1568 rel2 {
1569 relative: 0.0 0.0;
1570 offset: 0 7;
1571 }
1572 text {
1573 text_source: "title_text";
1574 source: "title_text";
1575 min: 0 1;
1576 text_class: "title_bar";
1577 }
1578 }
1579 }
1580 part {
1581 name: "t1";
1582 mouse_events: 0;
1583 description {
1584 state: "default" 0.0;
1585 align: 0.0 0.0;
1586 aspect: 1.0 1.0;
1587 aspect_preference: VERTICAL;
1588 rel1 {
1589 relative: 0.0 0.0;
1590 offset: 0 0;
1591 }
1592 rel2 {
1593 relative: 0.0 1.0;
1594 offset: 0 5;
1595 to_y: "title2";
1596 }
1597 image {
1598 normal: "e17_border1b.png";
1599 border: 6 2 3 3;
1600 }
1601 fill {
1602 smooth: 0;
1603 }
1604 }
1605 }
1606 part {
1607 name: "t2";
1608 mouse_events: 0;
1609 description {
1610 state: "default" 0.0;
1611 min: 0 1;
1612 rel1 {
1613 relative: 1.0 0.0;
1614 offset: 0 0;
1615 to: "t1";
1616 }
1617 rel2 {
1618 relative: 0.0 1.0;
1619 offset: -1 -1;
1620 to: "t3";
1621 }
1622 image {
1623 normal: "e17_border2.png";
1624 border: 2 2 3 3;
1625 }
1626 fill {
1627 smooth: 0;
1628 }
1629 }
1630 }
1631 part {
1632 name: "t3";
1633 mouse_events: 0;
1634 description {
1635 state: "default" 0.0;
1636 rel1 {
1637 relative: 0.0 0.0;
1638 offset: 0 0;
1639 to_x: "minimize";
1640 }
1641 rel2 {
1642 relative: 1.0 1.0;
1643 offset: -1 5;
1644 to_y: "title2";
1645 }
1646 image {
1647 normal: "e17_border3b.png";
1648 border: 3 6 3 3;
1649 }
1650 fill {
1651 smooth: 0;
1652 }
1653 }
1654 }
1655 part {
1656 name: "resize_br";
1657 description {
1658 state: "default" 0.0;
1659 rel1 {
1660 relative: 1.0 1.0;
1661 offset: -24 -24;
1662 }
1663 rel2 {
1664 relative: 1.0 1.0;
1665 offset: -1 -1;
1666 }
1667 image {
1668 normal: "e17_border5b.png";
1669 }
1670 fill {
1671 smooth: 0;
1672 }
1673 }
1674 description {
1675 state: "hidden" 0.0;
1676 visible: 0;
1677 rel1 {
1678 relative: 1.0 1.0;
1679 offset: 0 0;
1680 }
1681 rel2 {
1682 relative: 1.0 1.0;
1683 offset: -1 -1;
1684 }
1685 image {
1686 normal: "e17_border5b.png";
1687 }
1688 fill {
1689 smooth: 0;
1690 }
1691 }
1692 }
1693 part {
1694 name: "resize_bl";
1695 description {
1696 state: "default" 0.0;
1697 rel1 {
1698 relative: 0.0 1.0;
1699 offset: 0 -24;
1700 }
1701 rel2 {
1702 relative: 0.0 1.0;
1703 offset: 23 -1;
1704 }
1705 image {
1706 normal: "e17_border7b.png";
1707 }
1708 fill {
1709 smooth: 0;
1710 }
1711 }
1712 description {
1713 state: "hidden" 0.0;
1714 visible: 0;
1715 rel1 {
1716 relative: 0.0 1.0;
1717 offset: 0 0;
1718 }
1719 rel2 {
1720 relative: 0.0 1.0;
1721 offset: -1 -1;
1722 }
1723 image {
1724 normal: "e17_border7b.png";
1725 }
1726 fill {
1727 smooth: 0;
1728 }
1729 }
1730 }
1731 part {
1732 name: "title_outline";
1733 mouse_events: 0;
1734 description {
1735 state: "default" 0.0;
1736 min: 14 14;
1737 visible: 1;
1738 rel1 {
1739 relative: 1.0 0.0;
1740 offset: 0 -7;
1741 to_x: "t1";
1742 to_y: "title2";
1743 }
1744 rel2 {
1745 relative: 0.0 1.0;
1746 offset: -2 4;
1747 to_x: "t3";
1748 to_y: "title2";
1749 }
1750 image {
1751 normal: "e17_titlebar_outline.png";
1752 border: 8 8 8 8;
1753 middle: 0;
1754 }
1755 fill {
1756 smooth: 0;
1757 }
1758 color: 255 255 255 255;
1759 }
1760 description {
1761 state: "active" 0.0;
1762 min: 14 14;
1763 visible: 0;
1764 rel1 {
1765 relative: 1.0 0.0;
1766 offset: 0 -7;
1767 to_x: "t1";
1768 to_y: "title2";
1769 }
1770 rel2 {
1771 relative: 0.0 1.0;
1772 offset: -2 4;
1773 to_x: "t3";
1774 to_y: "title2";
1775 }
1776 image {
1777 normal: "e17_titlebar_outline.png";
1778 border: 8 8 8 8;
1779 middle: 0;
1780 }
1781 fill {
1782 smooth: 0;
1783 }
1784 color: 255 255 255 0;
1785 }
1786 }
1787 part {
1788 name: "title_shadow2";
1789 mouse_events: 0;
1790 description {
1791 state: "default" 0.0;
1792 visible: 0;
1793 rel1 {
1794 relative: 0.0 0.0;
1795 offset: 0 0;
1796 to: "title_outline";
1797 }
1798 rel2 {
1799 relative: 1.0 1.0;
1800 offset: -1 -1;
1801 to: "title_outline";
1802 }
1803 image {
1804 normal: "e17_titlebar_shadow2.png";
1805 border: 8 8 8 8;
1806 }
1807 fill {
1808 smooth: 0;
1809 }
1810 color: 255 255 255 0;
1811 }
1812 description {
1813 state: "active" 0.0;
1814 visible: 1;
1815 rel1 {
1816 relative: 0.0 0.0;
1817 offset: 0 0;
1818 to: "title_outline";
1819 }
1820 rel2 {
1821 relative: 1.0 1.0;
1822 offset: -1 -1;
1823 to: "title_outline";
1824 }
1825 image {
1826 normal: "e17_titlebar_shadow2.png";
1827 border: 8 8 8 8;
1828 }
1829 fill {
1830 smooth: 0;
1831 }
1832 color: 255 255 255 255;
1833 }
1834 }
1835 part {
1836 name: "title_shadow1";
1837 mouse_events: 0;
1838 description {
1839 state: "default" 0.0;
1840 visible: 0;
1841 rel1 {
1842 relative: 0.0 0.0;
1843 offset: 0 0;
1844 to: "title_outline";
1845 }
1846 rel2 {
1847 relative: 1.0 1.0;
1848 offset: -1 -1;
1849 to: "title_outline";
1850 }
1851 image {
1852 normal: "e17_titlebar_shadow1.png";
1853 border: 8 8 8 8;
1854 }
1855 fill {
1856 smooth: 0;
1857 }
1858 color: 255 255 255 0;
1859 }
1860 description {
1861 state: "active" 0.0;
1862 visible: 1;
1863 rel1 {
1864 relative: 0.0 0.0;
1865 offset: 0 0;
1866 to: "title_outline";
1867 }
1868 rel2 {
1869 relative: 1.0 1.0;
1870 offset: -1 -1;
1871 to: "title_outline";
1872 }
1873 image {
1874 normal: "e17_titlebar_shadow1.png";
1875 border: 8 8 8 8;
1876 }
1877 fill {
1878 smooth: 0;
1879 }
1880 color: 255 255 255 255;
1881 }
1882 }
1883 part {
1884 name: "title_bar";
1885 mouse_events: 0;
1886 description {
1887 state: "default" 0.0;
1888 visible: 0;
1889 rel1 {
1890 relative: 0.0 0.0;
1891 offset: 0 0;
1892 to: "title_outline";
1893 }
1894 rel2 {
1895 relative: 1.0 1.0;
1896 offset: -1 -1;
1897 to: "title_outline";
1898 }
1899 image {
1900 normal: "e17_titlebar.png";
1901 border: 8 8 8 8;
1902 }
1903 color: 255 255 255 0;
1904 }
1905 description {
1906 state: "active" 0.0;
1907 visible: 1;
1908 rel1 {
1909 relative: 0.0 0.0;
1910 offset: 0 0;
1911 to: "title_outline";
1912 }
1913 rel2 {
1914 relative: 1.0 1.0;
1915 offset: -1 -1;
1916 to: "title_outline";
1917 }
1918 image {
1919 normal: "e17_titlebar.png";
1920 border: 8 8 8 8;
1921 }
1922 color: 255 255 255 255;
1923 }
1924 }
1925 part {
1926 name: "title_text";
1927 type: TEXT;
1928 effect: SHADOW;
1929 mouse_events: 0;
1930 description {
1931 state: "default" 0.0;
1932 align: 1.0 0.0;
1933 rel1 {
1934 relative: 1.0 0.0;
1935 offset: 9 7;
1936 to_x: "t1";
1937 }
1938 rel2 {
1939 relative: 0.0 0.0;
1940 offset: -10 7;
1941 to_x: "t3";
1942 }
1943 color: 0 0 0 255;
1944 color3: 255 255 255 128;
1945 text {
1946 text: "";
1947 font: "Edje-Vera";
1948 size: 10;
1949 min: 0 1;
1950 align: 0.0 0.5;
1951 text_class: "title_bar";
1952 }
1953 }
1954 }
1955 part {
1956 name: "title_glint_clip";
1957 type: RECT;
1958 mouse_events: 0;
1959 description {
1960 state: "default" 0.0;
1961 rel1 {
1962 offset: 3 3;
1963 to: "title_bar";
1964 }
1965 rel2 {
1966 offset: -4 -4;
1967 to: "title_bar";
1968 }
1969 color: 255 255 255 255;
1970 }
1971 }
1972 part {
1973 name: "title_glint_1";
1974 mouse_events: 0;
1975 description {
1976 state: "default" 0.0;
1977 visible: 0;
1978 color: 255 255 255 0;
1979 align: 0.0 0.0;
1980 max: 34 13;
1981 rel1 {
1982 relative: 0.0 0.0;
1983 offset: 2 2;
1984 to: "title_bar";
1985 }
1986 rel2 {
1987 relative: 1.0 1.0;
1988 offset: -3 -3;
1989 to: "title_bar";
1990 }
1991 image {
1992 normal: "e17_titlebar_glint1.png";
1993 border: 5 0 5 0;
1994 }
1995 fill {
1996 smooth: 0;
1997 }
1998 }
1999 description {
2000 state: "active" 0.0;
2001 inherit: "default" 0.0;
2002 visible: 1;
2003 color: 255 255 255 255;
2004 }
2005 }
2006 part {
2007 name: "title_glint_2";
2008 mouse_events: 0;
2009 clip_to: "title_glint_clip";
2010 description {
2011 state: "default" 0.0;
2012 visible: 0;
2013 color: 255 255 255 0;
2014 max: 0 0;
2015 align: 1.0 0.5;
2016 rel1 {
2017 relative: 0.0 0.0;
2018 offset: 3 3;
2019 to: "title_bar";
2020 }
2021 rel2 {
2022 relative: 0.0 1.0;
2023 offset: 0 -4;
2024 to: "title_bar";
2025 }
2026 image {
2027 normal: "e17_titlebar_glint2.png";
2028 border: 0 0 5 5;
2029 }
2030 fill {
2031 smooth: 0;
2032 }
2033 }
2034 description {
2035 state: "active" 0.0;
2036 inherit: "default" 0.0;
2037 visible: 1;
2038 color: 255 255 255 255;
2039 max: 169 9999;
2040 min: 169 8;
2041 align: 0.5 0.5;
2042 rel1 {
2043 relative: 0.0 0.0;
2044 offset: 3 3;
2045 }
2046 rel2 {
2047 relative: 0.0 1.0;
2048 offset: 3 -4;
2049 }
2050 }
2051 description {
2052 state: "active2" 0.0;
2053 inherit: "default" 0.0;
2054 visible: 1;
2055 color: 255 255 255 128;
2056 max: 169 9999;
2057 min: 169 8;
2058 align: 0.5 0.5;
2059 rel1 {
2060 relative: 1.0 0.0;
2061 offset: -4 3;
2062 }
2063 rel2 {
2064 relative: 1.0 1.0;
2065 offset: -4 -4;
2066 }
2067 }
2068 description {
2069 state: "active3" 0.0;
2070 inherit: "default" 0.0;
2071 visible: 0;
2072 color: 255 255 255 0;
2073 max: 169 9999;
2074 min: 169 8;
2075 align: 0.0 0.5;
2076 rel1 {
2077 relative: 1.0 0.0;
2078 offset: -4 3;
2079 }
2080 rel2 {
2081 relative: 1.0 1.0;
2082 offset: -4 -4;
2083 }
2084 }
2085 }
2086 part {
2087 name: "title_glint_3";
2088 mouse_events: 0;
2089 description {
2090 state: "default" 0.0;
2091 visible: 0;
2092 color: 255 255 255 0;
2093 align: 1.0 1.0;
2094 max: 34 13;
2095 rel1 {
2096 relative: 0.0 0.0;
2097 offset: 2 2;
2098 to: "title_bar";
2099 }
2100 rel2 {
2101 relative: 1.0 1.0;
2102 offset: -3 -3;
2103 to: "title_bar";
2104 }
2105 image {
2106 normal: "e17_titlebar_glint3.png";
2107 border: 0 5 0 5;
2108 }
2109 fill {
2110 smooth: 0;
2111 }
2112 }
2113 description {
2114 state: "active" 0.0;
2115 inherit: "default" 0.0;
2116 visible: 1;
2117 color: 255 255 255 255;
2118 }
2119 }
2120 part {
2121 name: "title_hung";
2122 mouse_events: 0;
2123 description {
2124 state: "default" 0.0;
2125 visible: 0;
2126 rel1 {
2127 relative: 0.0 0.0;
2128 offset: 0 0;
2129 to: "title_outline";
2130 }
2131 rel2 {
2132 relative: 1.0 1.0;
2133 offset: -1 -1;
2134 to: "title_outline";
2135 }
2136 image {
2137 normal: "e17_titlebar_hung.png";
2138 border: 10 10 10 10;
2139 }
2140 color: 255 255 255 0;
2141 }
2142 description {
2143 state: "hung" 0.0;
2144 inherit: "default" 0.0;
2145 visible: 1;
2146 color: 255 255 255 255;
2147 }
2148 }
2149 part {
2150 name: "icon_swallow";
2151 type: SWALLOW;
2152 description {
2153 state: "default" 0.0;
2154 rel1 {
2155 relative: 0.0 0.0;
2156 offset: 2 2;
2157 to: "t1";
2158 }
2159 rel2 {
2160 relative: 1.0 1.0;
2161 offset: -2 -3;
2162 to: "t1";
2163 }
2164 color: 0 0 0 0;
2165 }
2166 }
2167 part {
2168 name: "client";
2169 type: SWALLOW;
2170 description {
2171 state: "default" 0.0;
2172 rel1 {
2173 relative: 0.0 1.0;
2174 offset: 4 0;
2175 to_x: "resize_bl";
2176 to_y: "t1";
2177 }
2178 rel2 {
2179 relative: 1.0 1.0;
2180 offset: -5 -5;
2181 to: "resize_br";
2182 }
2183 }
2184 }
2185
2186 BORDER_BUTTON_ADV("close","close",0.0,0.0, 0,0,"whole", "whole",1.0,1.0,-1,5,"whole", "title2")
2187 BORDER_BUTTON("maximize","maximize",0.0,0.0,3,0,"close",0.0,1.0,3,-1,"close")
2188 BORDER_BUTTON("minimize","minimize",0.0,0.0,3,0,"maximize",0.0,1.0,3,-1,"maximize")
2189
2190 part {
2191 name: "icon";
2192 type: RECT;
2193 description {
2194 state: "default" 0.0;
2195 rel1 {
2196 to: "icon_swallow";
2197 }
2198 rel2 {
2199 to: "icon_swallow";
2200 }
2201 color: 0 0 0 0;
2202 }
2203 }
2204 part {
2205 name: "title";
2206 type: RECT;
2207 description {
2208 state: "default" 0.0;
2209 rel1 {
2210 to: "title_bar";
2211 }
2212 rel2 {
2213 to: "title_bar";
2214 }
2215 color: 0 0 0 0;
2216 }
2217 }
2218 }
2219 programs {
2220 program {
2221 name: "go_active_pre";
2222 signal: "active";
2223 source: "";
2224 action: STATE_SET "default" 0.0;
2225 target: "title_outline";
2226 target: "title_bar";
2227 target: "title_shadow1";
2228 target: "title_shadow2";
2229 after: "go_active";
2230 }
2231 program {
2232 name: "go_active";
2233 action: STATE_SET "active" 0.0;
2234 target: "title_outline";
2235 target: "title_bar";
2236 transition: LINEAR 0.05;
2237 after: "go_active2";
2238 }
2239 program {
2240 name: "go_active2";
2241 action: STATE_SET "active" 0.0;
2242 target: "title_shadow1";
2243 transition: LINEAR 0.05;
2244 after: "go_active3";
2245 after: "go_active3b";
2246 }
2247 program {
2248 name: "go_active3";
2249 action: STATE_SET "active" 0.0;
2250 target: "title_shadow2";
2251 transition: LINEAR 0.05;
2252 }
2253 program {
2254 name: "go_active3b";
2255 action: STATE_SET "active" 0.0;
2256 target: "title_glint_1";
2257 target: "title_glint_2";
2258 transition: LINEAR 0.05;
2259 after: "go_active4";
2260 after: "go_active4b";
2261 }
2262 program {
2263 name: "go_active4";
2264 action: STATE_SET "active2" 0.0;
2265 target: "title_glint_2";
2266 transition: LINEAR 0.2;
2267 after: "go_active5";
2268 after: "go_active5b";
2269 }
2270 program {
2271 name: "go_active4b";
2272 action: STATE_SET "active" 0.0;
2273 target: "title_glint_3";
2274 transition: LINEAR 0.2;
2275 }
2276 program {
2277 name: "go_active5";
2278 action: STATE_SET "active3" 0.0;
2279 target: "title_glint_2";
2280 transition: LINEAR 0.05;
2281 }
2282 program {
2283 name: "go_active5b";
2284 action: STATE_SET "default" 0.0;
2285 target: "title_glint_3";
2286 transition: LINEAR 0.1;
2287 after: "go_active6";
2288 }
2289 program {
2290 name: "go_active6";
2291 action: STATE_SET "default" 0.0;
2292 target: "title_glint_1";
2293 target: "title_glint_2";
2294 target: "title_glint_3";
2295 }
2296
2297 program {
2298 name: "go_passive_pre";
2299 signal: "passive";
2300 source: "";
2301 action: STATE_SET "active" 0.0;
2302 target: "title_outline";
2303 target: "title_bar";
2304 target: "title_shadow1";
2305 target: "title_shadow2";
2306 after: "go_passive";
2307 }
2308 program {
2309 name: "go_passive";
2310 action: STATE_SET "default" 0.0;
2311 target: "title_shadow2";
2312 transition: LINEAR 0.1;
2313 after: "go_passive2";
2314 }
2315 program {
2316 name: "go_passive2";
2317 action: STATE_SET "default" 0.0;
2318 target: "title_shadow1";
2319 transition: LINEAR 0.1;
2320 after: "go_passive3";
2321 }
2322 program {
2323 name: "go_passive3";
2324 action: STATE_SET "default" 0.0;
2325 target: "title_outline";
2326 target: "title_bar";
2327 transition: LINEAR 0.1;
2328 }
2329
2330 program {
2331 name: "close_active_pre";
2332 signal: "mouse,down,1";
2333 source: "close";
2334 action: STATE_SET "default" 0.0;
2335 target: "close_shadow1";
2336 target: "close_shadow2";
2337 target: "close_bg";
2338 target: "close_detail";
2339 after: "close_active";
2340 after: "close_active_p";
2341 }
2342 program {
2343 name: "close_active";
2344 action: STATE_SET "active" 0.0;
2345 target: "close_shadow2";
2346 transition: LINEAR 0.05;
2347 after: "close_active2";
2348 }
2349 program {
2350 name: "close_active2";
2351 action: STATE_SET "active" 0.0;
2352 target: "close_shadow1";
2353 transition: LINEAR 0.05;
2354 }
2355 program {
2356 name: "close_active_p";
2357 action: STATE_SET "active" 0.0;
2358 target: "close_bg";
2359 target: "close_detail";
2360 transition: LINEAR 0.1;
2361 }
2362 program {
2363 name: "close_passive_pre";
2364 signal: "mouse,up,1";
2365 source: "close";
2366 action: STATE_SET "active" 0.0;
2367 target: "close_shadow1";
2368 target: "close_shadow2";
2369 target: "close_bg";
2370 target: "close_detail";
2371 after: "close_passive";
2372 after: "close_passive_p";
2373 }
2374 program {
2375 name: "close_passive";
1471 action: STATE_SET "default" 0.0; 2376 action: STATE_SET "default" 0.0;
2377 target: "close_shadow2";
2378 transition: LINEAR 0.1;
2379 after: "close_passive2";
2380 }
2381 program {
2382 name: "close_passive2";
2383 action: STATE_SET "default" 0.0;
2384 target: "close_shadow1";
2385 transition: LINEAR 0.1;
2386 }
2387 program {
2388 name: "close_passive_p";
2389 action: STATE_SET "default" 0.0;
2390 target: "close_bg";
2391 target: "close_detail";
2392 transition: LINEAR 0.2;
2393 }
2394
2395 program {
2396 name: "maximize_active_pre";
2397 signal: "mouse,down,1";
2398 source: "maximize";
2399 action: STATE_SET "default" 0.0;
2400 target: "maximize_shadow1";
2401 target: "maximize_shadow2";
2402 target: "maximize_bg";
2403 target: "maximize_detail";
2404 after: "maximize_active";
2405 after: "maximize_active_p";
2406 }
2407 program {
2408 name: "maximize_active";
2409 action: STATE_SET "active" 0.0;
2410 target: "maximize_shadow2";
2411 transition: LINEAR 0.05;
2412 after: "maximize_active2";
2413 }
2414 program {
2415 name: "maximize_active2";
2416 action: STATE_SET "active" 0.0;
2417 target: "maximize_shadow1";
2418 transition: LINEAR 0.05;
2419 }
2420 program {
2421 name: "maximize_active_p";
2422 action: STATE_SET "active" 0.0;
2423 target: "maximize_bg";
2424 target: "maximize_detail";
2425 transition: LINEAR 0.1;
2426 }
2427 program {
2428 name: "maximize_passive_pre";
2429 signal: "mouse,up,1";
2430 source: "maximize";
2431 action: STATE_SET "active" 0.0;
2432 target: "maximize_shadow1";
2433 target: "maximize_shadow2";
2434 target: "maximize_bg";
2435 target: "maximize_detail";
2436 after: "maximize_passive";
2437 after: "maximize_passive_p";
2438 }
2439 program {
2440 name: "maximize_passive";
2441 action: STATE_SET "default" 0.0;
2442 target: "maximize_shadow2";
2443 transition: LINEAR 0.1;
2444 after: "maximize_passive2";
2445 }
2446 program {
2447 name: "maximize_passive2";
2448 action: STATE_SET "default" 0.0;
2449 target: "maximize_shadow1";
2450 transition: LINEAR 0.1;
2451 }
2452 program {
2453 name: "maximize_passive_p";
2454 action: STATE_SET "default" 0.0;
2455 target: "maximize_bg";
2456 target: "maximize_detail";
2457 transition: LINEAR 0.2;
2458 }
2459
2460 program {
2461 name: "minimize_active_pre";
2462 signal: "mouse,down,1";
2463 source: "minimize";
2464 action: STATE_SET "default" 0.0;
2465 target: "minimize_shadow1";
2466 target: "minimize_shadow2";
2467 target: "minimize_bg";
2468 target: "minimize_detail";
2469 after: "minimize_active";
2470 after: "minimize_active_p";
2471 }
2472 program {
2473 name: "minimize_active";
2474 action: STATE_SET "active" 0.0;
2475 target: "minimize_shadow2";
2476 transition: LINEAR 0.05;
2477 after: "minimize_active2";
2478 }
2479 program {
2480 name: "minimize_active2";
2481 action: STATE_SET "active" 0.0;
2482 target: "minimize_shadow1";
2483 transition: LINEAR 0.05;
2484 }
2485 program {
2486 name: "minimize_active_p";
2487 action: STATE_SET "active" 0.0;
2488 target: "minimize_bg";
2489 target: "minimize_detail";
2490 transition: LINEAR 0.1;
2491 }
2492 program {
2493 name: "minimize_passive_pre";
2494 signal: "mouse,up,1";
2495 source: "minimize";
2496 action: STATE_SET "active" 0.0;
2497 target: "minimize_shadow1";
2498 target: "minimize_shadow2";
2499 target: "minimize_bg";
2500 target: "minimize_detail";
2501 after: "minimize_passive";
2502 after: "minimize_passive_p";
2503 }
2504 program {
2505 name: "minimize_passive";
2506 action: STATE_SET "default" 0.0;
2507 target: "minimize_shadow2";
2508 transition: LINEAR 0.1;
2509 after: "minimize_passive2";
2510 }
2511 program {
2512 name: "minimize_passive2";
2513 action: STATE_SET "default" 0.0;
2514 target: "minimize_shadow1";
2515 transition: LINEAR 0.1;
2516 }
2517 program {
2518 name: "minimize_passive_p";
2519 action: STATE_SET "default" 0.0;
2520 target: "minimize_bg";
2521 target: "minimize_detail";
2522 transition: LINEAR 0.2;
2523 }
2524 program {
2525 name: "maximize_fullscreen";
2526 signal: "maximize,fullscreen";
2527 source: "";
2528 action: STATE_SET "hidden" 0.0;
2529 target: "resize_bl";
2530 target: "resize_br";
2531 }
2532 program {
2533 name: "unmaximize_fullscreen";
2534 signal: "unmaximize,fullscreen";
2535 source: "";
2536 action: STATE_SET "default" 0.0;
2537 target: "resize_bl";
2538 target: "resize_br";
2539 }
2540
2541 program {
2542 name: "go_hung";
2543 signal: "hung";
2544 source: "";
2545 action: STATE_SET "hung" 0.0;
2546 target: "title_hung";
2547 transition: DECELERATE 0.5;
2548 after: "go_hung2";
2549 }
2550 program {
2551 name: "go_hung2";
2552 action: STATE_SET "default" 0.0;
2553 target: "title_hung";
2554 transition: SINUSOIDAL 1.0;
2555 after: "go_hung";
2556 }
2557 program {
2558 name: "go_unhung";
2559 signal: "unhung";
2560 source: "";
2561 action: ACTION_STOP;
2562 target: "go_hung";
2563 target: "go_hung2";
2564 after: "go_unhung2";
2565 }
2566 program {
2567 name: "go_unhung2";
2568 action: STATE_SET "default" 0.0;
2569 target: "title_hung";
2570 }
2571 }
2572}
2573
2574group {
2575 name: "widgets/border/dialog/border";
2576 // ALSO:
2577 // borderless, noresize, shaped, nofocus, urgent, dialog, modal, skipped
2578 data {
2579// this tells e the border is shaped
2580// item: "shaped" "1";
2581 }
2582 parts {
2583 part {
2584 name: "whole";
2585 type: RECT;
2586 description {
2587 state: "default" 0.0;
2588 visible: 0;
2589 rel1 {
2590 relative: 0.0 0.0;
2591 offset: 0 0;
2592 }
2593 rel2 {
2594 relative: 1.0 1.0;
2595 offset: -1 -1;
2596 }
2597 }
2598 }
2599 part {
2600 name: "title2";
2601 type: TEXT;
2602 mouse_events: 0;
2603 description {
2604 state: "default" 0.0;
2605 align: 1.0 0.0;
2606 visible: 0;
2607 rel1 {
2608 relative: 0.0 0.0;
2609 offset: 0 7;
2610 }
2611 rel2 {
2612 relative: 0.0 0.0;
2613 offset: 0 7;
2614 }
2615 text {
2616 text_source: "title_text";
2617 source: "title_text";
2618 min: 0 1;
2619 text_class: "title_bar";
2620 }
2621 }
2622 }
2623 part {
2624 name: "t1";
2625 mouse_events: 0;
2626 description {
2627 state: "default" 0.0;
2628 align: 0.0 0.0;
2629 aspect: 1.0 1.0;
2630 aspect_preference: VERTICAL;
2631 rel1 {
2632 relative: 0.0 0.0;
2633 offset: 0 0;
2634 }
2635 rel2 {
2636 relative: 0.0 1.0;
2637 offset: 0 5;
2638 to_y: "title2";
2639 }
2640 image {
2641 normal: "e17_border1.png";
2642 border: 6 2 3 3;
2643 }
2644 fill {
2645 smooth: 0;
2646 }
2647 }
2648 description {
2649 state: "hidden" 0.0;
2650 inherit: "default" 0.0;
2651 image {
2652 normal: "e17_border1b.png";
2653 }
2654 }
2655 }
2656 part {
2657 name: "t2";
2658 mouse_events: 0;
2659 description {
2660 state: "default" 0.0;
2661 min: 0 1;
2662 rel1 {
2663 relative: 1.0 0.0;
2664 offset: 0 0;
2665 to: "t1";
2666 }
2667 rel2 {
2668 relative: 0.0 1.0;
2669 offset: -1 -1;
2670 to: "t3";
2671 }
2672 image {
2673 normal: "e17_border2.png";
2674 border: 2 2 3 3;
2675 }
2676 fill {
2677 smooth: 0;
2678 }
2679 }
2680 }
2681 part {
2682 name: "t3";
2683 mouse_events: 0;
2684 description {
2685 state: "default" 0.0;
2686 rel1 {
2687 relative: 0.0 0.0;
2688 offset: 0 0;
2689 to_x: "close";
2690 }
2691 rel2 {
2692 relative: 1.0 1.0;
2693 offset: -1 5;
2694 to_y: "title2";
2695 }
2696 image {
2697 normal: "e17_border3.png";
2698 border: 3 6 3 3;
2699 }
2700 fill {
2701 smooth: 0;
2702 }
2703 }
2704 description {
2705 state: "hidden" 0.0;
2706 inherit: "default" 0.0;
2707 image {
2708 normal: "e17_border3b.png";
2709 }
2710 }
2711 }
2712 part {
2713 name: "b1";
2714 mouse_events: 0;
2715 description {
2716 state: "default" 0.0;
2717 rel1 {
2718 relative: 1.0 1.0;
2719 offset: -4 0;
2720 to_y: "t3";
2721 }
2722 rel2 {
2723 relative: 1.0 0.0;
2724 offset: -1 -1;
2725 to_y: "b2";
2726 }
2727 image {
2728 normal: "e17_border4.png";
2729 }
2730 fill {
2731 smooth: 0;
2732 }
2733 }
2734 description {
2735 state: "hidden" 0.0;
2736 visible: 0;
2737 rel1 {
2738 relative: 1.0 1.0;
2739 offset: 0 0;
2740 to_y: "t3";
2741 }
2742 rel2 {
2743 relative: 1.0 0.0;
2744 offset: -1 -1;
2745 to_y: "b2";
2746 }
2747 image {
2748 normal: "e17_border4.png";
2749 }
2750 fill {
2751 smooth: 0;
2752 }
2753 }
2754 }
2755 part {
2756 name: "b2";
2757 mouse_events: 0;
2758 description {
2759 state: "default" 0.0;
2760 rel1 {
2761 relative: 1.0 1.0;
2762 offset: -4 -4;
2763 }
2764 rel2 {
2765 relative: 1.0 1.0;
2766 offset: -1 -1;
2767 }
2768 image {
2769 normal: "e17_border5.png";
2770 }
2771 fill {
2772 smooth: 0;
2773 }
2774 }
2775 description {
2776 state: "hidden" 0.0;
2777 visible: 0;
2778 rel1 {
2779 relative: 1.0 1.0;
2780 offset: 0 0;
2781 }
2782 rel2 {
2783 relative: 1.0 1.0;
2784 offset: -1 -1;
2785 }
2786 image {
2787 normal: "e17_border5.png";
2788 }
2789 fill {
2790 smooth: 0;
2791 }
2792 }
2793 }
2794 part {
2795 name: "b3";
2796 mouse_events: 0;
2797 description {
2798 state: "default" 0.0;
2799 rel1 {
2800 relative: 1.0 0.0;
2801 offset: 0 0;
2802 to: "b4";
2803 }
2804 rel2 {
2805 relative: 0.0 1.0;
2806 offset: -1 -1;
2807 to: "b2";
2808 }
2809 image {
2810 normal: "e17_border6.png";
2811 }
2812 fill {
2813 smooth: 0;
2814 }
2815 }
2816 description {
2817 state: "hidden" 0.0;
2818 visible: 0;
2819 rel1 {
2820 relative: 1.0 0.0;
2821 offset: 0 0;
2822 to: "b4";
2823 }
2824 rel2 {
2825 relative: 0.0 1.0;
2826 offset: -1 -1;
2827 to: "b2";
2828 }
2829 image {
2830 normal: "e17_border6.png";
2831 }
2832 fill {
2833 smooth: 0;
2834 }
2835 }
2836 }
2837 part {
2838 name: "b4";
2839 mouse_events: 0;
2840 description {
2841 state: "default" 0.0;
2842 rel1 {
2843 relative: 0.0 1.0;
2844 offset: 0 -4;
2845 }
2846 rel2 {
2847 relative: 0.0 1.0;
2848 offset: 3 -1;
2849 }
2850 image {
2851 normal: "e17_border7.png";
2852 }
2853 fill {
2854 smooth: 0;
2855 }
2856 }
2857 description {
2858 state: "hidden" 0.0;
2859 visible: 0;
2860 rel1 {
2861 relative: 0.0 1.0;
2862 offset: 0 0;
2863 }
2864 rel2 {
2865 relative: 0.0 1.0;
2866 offset: -1 -1;
2867 }
2868 image {
2869 normal: "e17_border7.png";
2870 }
2871 fill {
2872 smooth: 0;
2873 }
2874 }
2875 }
2876 part {
2877 name: "b5";
2878 mouse_events: 0;
2879 description {
2880 state: "default" 0.0;
2881 rel1 {
2882 relative: 0.0 1.0;
2883 offset: 0 0;
2884 to_y: "t1";
2885 }
2886 rel2 {
2887 relative: 0.0 0.0;
2888 offset: 3 -1;
2889 to_y: "b4";
2890 }
2891 image {
2892 normal: "e17_border4.png";
2893 }
2894 fill {
2895 smooth: 0;
2896 }
2897 }
2898 description {
2899 state: "hidden" 0.0;
2900 visible: 0;
2901 rel1 {
2902 relative: 0.0 1.0;
2903 offset: 0 0;
2904 to_y: "t1";
2905 }
2906 rel2 {
2907 relative: 0.0 0.0;
2908 offset: -1 -1;
2909 to_y: "b4";
2910 }
2911 image {
2912 normal: "e17_border4.png";
2913 }
2914 fill {
2915 smooth: 0;
2916 }
2917 }
2918 }
2919 part {
2920 name: "title_outline";
2921 mouse_events: 0;
2922 description {
2923 state: "default" 0.0;
2924 min: 14 14;
2925 visible: 1;
2926 rel1 {
2927 relative: 1.0 0.0;
2928 offset: 0 -7;
2929 to_x: "t1";
2930 to_y: "title2";
2931 }
2932 rel2 {
2933 relative: 0.0 1.0;
2934 offset: -2 4;
2935 to_x: "t3";
2936 to_y: "title2";
2937 }
2938 image {
2939 normal: "e17_titlebar_outline.png";
2940 border: 8 8 8 8;
2941 middle: 0;
2942 }
2943 fill {
2944 smooth: 0;
2945 }
2946 color: 255 255 255 255;
2947 }
2948 description {
2949 state: "active" 0.0;
2950 min: 14 14;
2951 visible: 0;
2952 rel1 {
2953 relative: 1.0 0.0;
2954 offset: 0 -7;
2955 to_x: "t1";
2956 to_y: "title2";
2957 }
2958 rel2 {
2959 relative: 0.0 1.0;
2960 offset: -2 4;
2961 to_x: "t3";
2962 to_y: "title2";
2963 }
2964 image {
2965 normal: "e17_titlebar_outline.png";
2966 border: 8 8 8 8;
2967 middle: 0;
2968 }
2969 fill {
2970 smooth: 0;
2971 }
2972 color: 255 255 255 0;
2973 }
2974 }
2975 part {
2976 name: "title_shadow2";
2977 mouse_events: 0;
2978 description {
2979 state: "default" 0.0;
2980 visible: 0;
2981 rel1 {
2982 relative: 0.0 0.0;
2983 offset: 0 0;
2984 to: "title_outline";
2985 }
2986 rel2 {
2987 relative: 1.0 1.0;
2988 offset: -1 -1;
2989 to: "title_outline";
2990 }
2991 image {
2992 normal: "e17_titlebar_shadow2.png";
2993 border: 8 8 8 8;
2994 }
2995 fill {
2996 smooth: 0;
2997 }
2998 color: 255 255 255 0;
2999 }
3000 description {
3001 state: "active" 0.0;
3002 visible: 1;
3003 rel1 {
3004 relative: 0.0 0.0;
3005 offset: 0 0;
3006 to: "title_outline";
3007 }
3008 rel2 {
3009 relative: 1.0 1.0;
3010 offset: -1 -1;
3011 to: "title_outline";
3012 }
3013 image {
3014 normal: "e17_titlebar_shadow2.png";
3015 border: 8 8 8 8;
3016 }
3017 fill {
3018 smooth: 0;
3019 }
3020 color: 255 255 255 255;
3021 }
3022 }
3023 part {
3024 name: "title_shadow1";
3025 mouse_events: 0;
3026 description {
3027 state: "default" 0.0;
3028 visible: 0;
3029 rel1 {
3030 relative: 0.0 0.0;
3031 offset: 0 0;
3032 to: "title_outline";
3033 }
3034 rel2 {
3035 relative: 1.0 1.0;
3036 offset: -1 -1;
3037 to: "title_outline";
3038 }
3039 image {
3040 normal: "e17_titlebar_shadow1.png";
3041 border: 8 8 8 8;
3042 }
3043 fill {
3044 smooth: 0;
3045 }
3046 color: 255 255 255 0;
3047 }
3048 description {
3049 state: "active" 0.0;
3050 visible: 1;
3051 rel1 {
3052 relative: 0.0 0.0;
3053 offset: 0 0;
3054 to: "title_outline";
3055 }
3056 rel2 {
3057 relative: 1.0 1.0;
3058 offset: -1 -1;
3059 to: "title_outline";
3060 }
3061 image {
3062 normal: "e17_titlebar_shadow1.png";
3063 border: 8 8 8 8;
3064 }
3065 fill {
3066 smooth: 0;
3067 }
3068 color: 255 255 255 255;
3069 }
3070 }
3071 part {
3072 name: "title_bar";
3073 mouse_events: 0;
3074 description {
3075 state: "default" 0.0;
3076 visible: 0;
3077 rel1 {
3078 relative: 0.0 0.0;
3079 offset: 0 0;
3080 to: "title_outline";
3081 }
3082 rel2 {
3083 relative: 1.0 1.0;
3084 offset: -1 -1;
3085 to: "title_outline";
3086 }
3087 image {
3088 normal: "e17_titlebar.png";
3089 border: 8 8 8 8;
3090 }
3091 color: 255 255 255 0;
3092 }
3093 description {
3094 state: "active" 0.0;
3095 visible: 1;
3096 rel1 {
3097 relative: 0.0 0.0;
3098 offset: 0 0;
3099 to: "title_outline";
3100 }
3101 rel2 {
3102 relative: 1.0 1.0;
3103 offset: -1 -1;
3104 to: "title_outline";
3105 }
3106 image {
3107 normal: "e17_titlebar.png";
3108 border: 8 8 8 8;
3109 }
3110 color: 255 255 255 255;
3111 }
3112 }
3113 part {
3114 name: "title_text";
3115 type: TEXT;
3116 effect: SHADOW;
3117 mouse_events: 0;
3118 description {
3119 state: "default" 0.0;
3120 align: 1.0 0.0;
3121 rel1 {
3122 relative: 1.0 0.0;
3123 offset: 9 7;
3124 to_x: "t1";
3125 }
3126 rel2 {
3127 relative: 0.0 0.0;
3128 offset: -10 7;
3129 to_x: "t3";
3130 }
3131 color: 0 0 0 255;
3132 color3: 255 255 255 128;
3133 text {
3134 text: "";
3135 font: "Edje-Vera";
3136 size: 10;
3137 min: 0 1;
3138 align: 0.0 0.5;
3139 text_class: "title_bar";
3140 }
3141 }
3142 }
3143 part {
3144 name: "title_glint_clip";
3145 type: RECT;
3146 mouse_events: 0;
3147 description {
3148 state: "default" 0.0;
3149 rel1 {
3150 offset: 3 3;
3151 to: "title_bar";
3152 }
3153 rel2 {
3154 offset: -4 -4;
3155 to: "title_bar";
3156 }
3157 color: 255 255 255 255;
3158 }
3159 }
3160 part {
3161 name: "title_glint_1";
3162 mouse_events: 0;
3163 description {
3164 state: "default" 0.0;
3165 visible: 0;
3166 color: 255 255 255 0;
3167 align: 0.0 0.0;
3168 max: 34 13;
3169 rel1 {
3170 relative: 0.0 0.0;
3171 offset: 2 2;
3172 to: "title_bar";
3173 }
3174 rel2 {
3175 relative: 1.0 1.0;
3176 offset: -3 -3;
3177 to: "title_bar";
3178 }
3179 image {
3180 normal: "e17_titlebar_glint1.png";
3181 border: 5 0 5 0;
3182 }
3183 fill {
3184 smooth: 0;
3185 }
3186 }
3187 description {
3188 state: "active" 0.0;
3189 inherit: "default" 0.0;
3190 visible: 1;
3191 color: 255 255 255 255;
3192 }
3193 }
3194 part {
3195 name: "title_glint_2";
3196 mouse_events: 0;
3197 clip_to: "title_glint_clip";
3198 description {
3199 state: "default" 0.0;
3200 visible: 0;
3201 color: 255 255 255 0;
3202 max: 0 0;
3203 align: 1.0 0.5;
3204 rel1 {
3205 relative: 0.0 0.0;
3206 offset: 3 3;
3207 to: "title_bar";
3208 }
3209 rel2 {
3210 relative: 0.0 1.0;
3211 offset: 0 -4;
3212 to: "title_bar";
3213 }
3214 image {
3215 normal: "e17_titlebar_glint2.png";
3216 border: 0 0 5 5;
3217 }
3218 fill {
3219 smooth: 0;
3220 }
3221 }
3222 description {
3223 state: "active" 0.0;
3224 inherit: "default" 0.0;
3225 visible: 1;
3226 color: 255 255 255 255;
3227 max: 169 9999;
3228 min: 169 8;
3229 align: 0.5 0.5;
3230 rel1 {
3231 relative: 0.0 0.0;
3232 offset: 3 3;
3233 }
3234 rel2 {
3235 relative: 0.0 1.0;
3236 offset: 3 -4;
3237 }
3238 }
3239 description {
3240 state: "active2" 0.0;
3241 inherit: "default" 0.0;
3242 visible: 1;
3243 color: 255 255 255 128;
3244 max: 169 9999;
3245 min: 169 8;
3246 align: 0.5 0.5;
3247 rel1 {
3248 relative: 1.0 0.0;
3249 offset: -4 3;
3250 }
3251 rel2 {
3252 relative: 1.0 1.0;
3253 offset: -4 -4;
3254 }
3255 }
3256 description {
3257 state: "active3" 0.0;
3258 inherit: "default" 0.0;
3259 visible: 0;
3260 color: 255 255 255 0;
3261 max: 169 9999;
3262 min: 169 8;
3263 align: 0.0 0.5;
3264 rel1 {
3265 relative: 1.0 0.0;
3266 offset: -4 3;
3267 }
3268 rel2 {
3269 relative: 1.0 1.0;
3270 offset: -4 -4;
3271 }
3272 }
3273 }
3274 part {
3275 name: "title_glint_3";
3276 mouse_events: 0;
3277 description {
3278 state: "default" 0.0;
3279 visible: 0;
3280 color: 255 255 255 0;
3281 align: 1.0 1.0;
3282 max: 34 13;
3283 rel1 {
3284 relative: 0.0 0.0;
3285 offset: 2 2;
3286 to: "title_bar";
3287 }
3288 rel2 {
3289 relative: 1.0 1.0;
3290 offset: -3 -3;
3291 to: "title_bar";
3292 }
3293 image {
3294 normal: "e17_titlebar_glint3.png";
3295 border: 0 5 0 5;
3296 }
3297 fill {
3298 smooth: 0;
3299 }
3300 }
3301 description {
3302 state: "active" 0.0;
3303 inherit: "default" 0.0;
3304 visible: 1;
3305 color: 255 255 255 255;
3306 }
3307 }
3308 part {
3309 name: "title_hung";
3310 mouse_events: 0;
3311 description {
3312 state: "default" 0.0;
3313 visible: 0;
3314 rel1 {
3315 relative: 0.0 0.0;
3316 offset: 0 0;
3317 to: "title_outline";
3318 }
3319 rel2 {
3320 relative: 1.0 1.0;
3321 offset: -1 -1;
3322 to: "title_outline";
3323 }
3324 image {
3325 normal: "e17_titlebar_hung.png";
3326 border: 10 10 10 10;
3327 }
3328 color: 255 255 255 0;
3329 }
3330 description {
3331 state: "hung" 0.0;
3332 inherit: "default" 0.0;
3333 visible: 1;
3334 color: 255 255 255 255;
3335 }
3336 }
3337 part {
3338 name: "icon_swallow";
3339 type: SWALLOW;
3340 description {
3341 state: "default" 0.0;
3342 rel1 {
3343 relative: 0.0 0.0;
3344 offset: 2 2;
3345 to: "t1";
3346 }
3347 rel2 {
3348 relative: 1.0 1.0;
3349 offset: -2 -3;
3350 to: "t1";
3351 }
3352 color: 0 0 0 0;
3353 }
3354 }
3355 part {
3356 name: "resize_l";
3357 type: RECT;
3358 description {
3359 state: "default" 0.0;
3360 rel1 {
3361 relative: 0.0 1.0;
3362 offset: 0 0;
3363 to_y: "t1";
3364 }
3365 rel2 {
3366 relative: 0.0 1.0;
3367 offset: 3 -1;
3368 }
3369 color: 0 0 0 0;
3370 }
3371 }
3372 part {
3373 name: "resize_r";
3374 type: RECT;
3375 description {
3376 state: "default" 0.0;
3377 rel1 {
3378 relative: 1.0 1.0;
3379 offset: -4 0;
3380 to_y: "t3";
3381 }
3382 rel2 {
3383 relative: 1.0 1.0;
3384 offset: -1 -1;
3385 }
3386 color: 0 0 0 0;
3387 }
3388 }
3389 part {
3390 name: "resize_b";
3391 type: RECT;
3392 description {
3393 state: "default" 0.0;
3394 rel1 {
3395 relative: 0.0 1.0;
3396 offset: 0 -4;
3397 }
3398 rel2 {
3399 relative: 1.0 1.0;
3400 offset: -1 -1;
3401 }
3402 color: 0 0 0 0;
3403 }
3404 }
3405 part {
3406 name: "resize_bl";
3407 type: RECT;
3408 description {
3409 state: "default" 0.0;
3410 rel1 {
3411 relative: 0.0 1.0;
3412 offset: 0 -24;
3413 }
3414 rel2 {
3415 relative: 0.0 1.0;
3416 offset: 23 -1;
3417 }
3418 color: 0 0 0 0;
3419 }
3420 }
3421 part {
3422 name: "resize_br";
3423 type: RECT;
3424 description {
3425 state: "default" 0.0;
3426 rel1 {
3427 relative: 1.0 1.0;
3428 offset: -24 -24;
3429 }
3430 rel2 {
3431 relative: 1.0 1.0;
3432 offset: -1 -1;
3433 }
3434 color: 0 0 0 0;
3435 }
3436 }
3437 part {
3438 name: "client";
3439 type: SWALLOW;
3440 description {
3441 state: "default" 0.0;
3442 rel1 {
3443 relative: 1.0 1.0;
3444 offset: 0 0;
3445 to_x: "b5";
3446 to_y: "t1";
3447 }
3448 rel2 {
3449 relative: 0.0 0.0;
3450 offset: -1 -1;
3451 to: "b2";
3452 }
3453 }
3454 }
3455
3456 BORDER_BUTTON_ADV("close","close",0.0,0.0, 0,0,"whole", "whole",1.0,1.0,-1,5,"whole", "title2")
3457
3458 part {
3459 name: "icon";
3460 type: RECT;
3461 description {
3462 state: "default" 0.0;
3463 rel1 {
3464 to: "icon_swallow";
3465 }
3466 rel2 {
3467 to: "icon_swallow";
3468 }
3469 color: 0 0 0 0;
3470 }
3471 }
3472 part {
3473 name: "title";
3474 type: RECT;
3475 description {
3476 state: "default" 0.0;
3477 rel1 {
3478 to: "title_bar";
3479 }
3480 rel2 {
3481 to: "title_bar";
3482 }
3483 color: 0 0 0 0;
3484 }
3485 }
3486 }
3487 programs {
3488 program {
3489 name: "go_active_pre";
3490 signal: "active";
3491 source: "";
3492 action: STATE_SET "default" 0.0;
3493 target: "title_outline";
3494 target: "title_bar";
3495 target: "title_shadow1";
3496 target: "title_shadow2";
3497 after: "go_active";
3498 }
3499 program {
3500 name: "go_active";
3501 action: STATE_SET "active" 0.0;
3502 target: "title_outline";
3503 target: "title_bar";
3504 transition: LINEAR 0.05;
3505 after: "go_active2";
3506 }
3507 program {
3508 name: "go_active2";
3509 action: STATE_SET "active" 0.0;
3510 target: "title_shadow1";
3511 transition: LINEAR 0.05;
3512 after: "go_active3";
3513 after: "go_active3b";
3514 }
3515 program {
3516 name: "go_active3";
3517 action: STATE_SET "active" 0.0;
3518 target: "title_shadow2";
3519 transition: LINEAR 0.05;
3520 }
3521 program {
3522 name: "go_active3b";
3523 action: STATE_SET "active" 0.0;
3524 target: "title_glint_1";
3525 target: "title_glint_2";
3526 transition: LINEAR 0.05;
3527 after: "go_active4";
3528 after: "go_active4b";
3529 }
3530 program {
3531 name: "go_active4";
3532 action: STATE_SET "active2" 0.0;
3533 target: "title_glint_2";
3534 transition: LINEAR 0.2;
3535 after: "go_active5";
3536 after: "go_active5b";
3537 }
3538 program {
3539 name: "go_active4b";
3540 action: STATE_SET "active" 0.0;
3541 target: "title_glint_3";
3542 transition: LINEAR 0.2;
3543 }
3544 program {
3545 name: "go_active5";
3546 action: STATE_SET "active3" 0.0;
3547 target: "title_glint_2";
3548 transition: LINEAR 0.05;
3549 }
3550 program {
3551 name: "go_active5b";
3552 action: STATE_SET "default" 0.0;
3553 target: "title_glint_3";
3554 transition: LINEAR 0.1;
3555 after: "go_active6";
3556 }
3557 program {
3558 name: "go_active6";
3559 action: STATE_SET "default" 0.0;
3560 target: "title_glint_1";
3561 target: "title_glint_2";
3562 target: "title_glint_3";
3563 }
3564
3565 program {
3566 name: "go_passive_pre";
3567 signal: "passive";
3568 source: "";
3569 action: STATE_SET "active" 0.0;
3570 target: "title_outline";
3571 target: "title_bar";
3572 target: "title_shadow1";
3573 target: "title_shadow2";
3574 after: "go_passive";
3575 }
3576 program {
3577 name: "go_passive";
3578 action: STATE_SET "default" 0.0;
3579 target: "title_shadow2";
3580 transition: LINEAR 0.1;
3581 after: "go_passive2";
3582 }
3583 program {
3584 name: "go_passive2";
3585 action: STATE_SET "default" 0.0;
3586 target: "title_shadow1";
3587 transition: LINEAR 0.1;
3588 after: "go_passive3";
3589 }
3590 program {
3591 name: "go_passive3";
3592 action: STATE_SET "default" 0.0;
3593 target: "title_outline";
3594 target: "title_bar";
3595 transition: LINEAR 0.1;
3596 }
3597
3598 program {
3599 name: "close_active_pre";
3600 signal: "mouse,down,1";
3601 source: "close";
3602 action: STATE_SET "default" 0.0;
3603 target: "close_shadow1";
3604 target: "close_shadow2";
3605 target: "close_bg";
3606 target: "close_detail";
3607 after: "close_active";
3608 after: "close_active_p";
3609 }
3610 program {
3611 name: "close_active";
3612 action: STATE_SET "active" 0.0;
3613 target: "close_shadow2";
3614 transition: LINEAR 0.05;
3615 after: "close_active2";
3616 }
3617 program {
3618 name: "close_active2";
3619 action: STATE_SET "active" 0.0;
3620 target: "close_shadow1";
3621 transition: LINEAR 0.05;
3622 }
3623 program {
3624 name: "close_active_p";
3625 action: STATE_SET "active" 0.0;
3626 target: "close_bg";
3627 target: "close_detail";
3628 transition: LINEAR 0.1;
3629 }
3630 program {
3631 name: "close_passive_pre";
3632 signal: "mouse,up,1";
3633 source: "close";
3634 action: STATE_SET "active" 0.0;
3635 target: "close_shadow1";
3636 target: "close_shadow2";
3637 target: "close_bg";
3638 target: "close_detail";
3639 after: "close_passive";
3640 after: "close_passive_p";
3641 }
3642 program {
3643 name: "close_passive";
3644 action: STATE_SET "default" 0.0;
3645 target: "close_shadow2";
3646 transition: LINEAR 0.1;
3647 after: "close_passive2";
3648 }
3649 program {
3650 name: "close_passive2";
3651 action: STATE_SET "default" 0.0;
3652 target: "close_shadow1";
3653 transition: LINEAR 0.1;
3654 }
3655 program {
3656 name: "close_passive_p";
3657 action: STATE_SET "default" 0.0;
3658 target: "close_bg";
3659 target: "close_detail";
3660 transition: LINEAR 0.2;
3661 }
3662
3663 program {
3664 name: "maximize_fullscreen";
3665 signal: "maximize,fullscreen";
3666 source: "";
3667 action: STATE_SET "hidden" 0.0;
3668 target: "t1";
3669 target: "t3";
3670 target: "b1";
1472 target: "b2"; 3671 target: "b2";
3672 target: "b3";
3673 target: "b4";
3674 target: "b5";
3675 }
3676 program {
3677 name: "unmaximize_fullscreen";
3678 signal: "unmaximize,fullscreen";
3679 source: "";
1473 action: STATE_SET "default" 0.0; 3680 action: STATE_SET "default" 0.0;
3681 target: "t1";
3682 target: "t3";
3683 target: "b1";
3684 target: "b2";
1474 target: "b3"; 3685 target: "b3";
3686 target: "b4";
3687 target: "b5";
3688 }
3689
3690 program {
3691 name: "go_hung";
3692 signal: "hung";
3693 source: "";
3694 action: STATE_SET "hung" 0.0;
3695 target: "title_hung";
3696 transition: DECELERATE 0.5;
3697 after: "go_hung2";
3698 }
3699 program {
3700 name: "go_hung2";
3701 action: STATE_SET "default" 0.0;
3702 target: "title_hung";
3703 transition: SINUSOIDAL 1.0;
3704 after: "go_hung";
3705 }
3706 program {
3707 name: "go_unhung";
3708 signal: "unhung";
3709 source: "";
3710 action: ACTION_STOP;
3711 target: "go_hung";
3712 target: "go_hung2";
3713 after: "go_unhung2";
3714 }
3715 program {
3716 name: "go_unhung2";
1475 action: STATE_SET "default" 0.0; 3717 action: STATE_SET "default" 0.0;
3718 target: "title_hung";
3719 }
3720 }
3721}
3722
3723group {
3724 name: "widgets/border/noresize_dialog/border";
3725 // ALSO:
3726 // borderless, noresize, shaped, nofocus, urgent, dialog, modal, skipped
3727 data {
3728// this tells e the border is shaped
3729// item: "shaped" "1";
3730 }
3731 parts {
3732 part {
3733 name: "whole";
3734 type: RECT;
3735 description {
3736 state: "default" 0.0;
3737 visible: 0;
3738 rel1 {
3739 relative: 0.0 0.0;
3740 offset: 0 0;
3741 }
3742 rel2 {
3743 relative: 1.0 1.0;
3744 offset: -1 -1;
3745 }
3746 }
3747 }
3748 part {
3749 name: "title2";
3750 type: TEXT;
3751 mouse_events: 0;
3752 description {
3753 state: "default" 0.0;
3754 align: 1.0 0.0;
3755 visible: 0;
3756 rel1 {
3757 relative: 0.0 0.0;
3758 offset: 0 7;
3759 }
3760 rel2 {
3761 relative: 0.0 0.0;
3762 offset: 0 7;
3763 }
3764 text {
3765 text_source: "title_text";
3766 source: "title_text";
3767 min: 0 1;
3768 text_class: "title_bar";
3769 }
3770 }
3771 }
3772 part {
3773 name: "t1";
3774 mouse_events: 0;
3775 description {
3776 state: "default" 0.0;
3777 align: 0.0 0.0;
3778 aspect: 1.0 1.0;
3779 aspect_preference: VERTICAL;
3780 rel1 {
3781 relative: 0.0 0.0;
3782 offset: 0 0;
3783 }
3784 rel2 {
3785 relative: 0.0 1.0;
3786 offset: 0 5;
3787 to_y: "title2";
3788 }
3789 image {
3790 normal: "e17_border1.png";
3791 border: 6 2 3 3;
3792 }
3793 fill {
3794 smooth: 0;
3795 }
3796 }
3797 description {
3798 state: "hidden" 0.0;
3799 inherit: "default" 0.0;
3800 image {
3801 normal: "e17_border1b.png";
3802 }
3803 }
3804 }
3805 part {
3806 name: "t2";
3807 mouse_events: 0;
3808 description {
3809 state: "default" 0.0;
3810 min: 0 1;
3811 rel1 {
3812 relative: 1.0 0.0;
3813 offset: 0 0;
3814 to: "t1";
3815 }
3816 rel2 {
3817 relative: 0.0 1.0;
3818 offset: -1 -1;
3819 to: "t3";
3820 }
3821 image {
3822 normal: "e17_border2.png";
3823 border: 2 2 3 3;
3824 }
3825 fill {
3826 smooth: 0;
3827 }
3828 }
3829 }
3830 part {
3831 name: "t3";
3832 mouse_events: 0;
3833 description {
3834 state: "default" 0.0;
3835 rel1 {
3836 relative: 0.0 0.0;
3837 offset: 0 0;
3838 to_x: "close";
3839 }
3840 rel2 {
3841 relative: 1.0 1.0;
3842 offset: -1 5;
3843 to_y: "title2";
3844 }
3845 image {
3846 normal: "e17_border3.png";
3847 border: 3 6 3 3;
3848 }
3849 fill {
3850 smooth: 0;
3851 }
3852 }
3853 description {
3854 state: "hidden" 0.0;
3855 inherit: "default" 0.0;
3856 image {
3857 normal: "e17_border3b.png";
3858 }
3859 }
3860 }
3861 part {
3862 name: "b1";
3863 mouse_events: 0;
3864 description {
3865 state: "default" 0.0;
3866 rel1 {
3867 relative: 1.0 1.0;
3868 offset: -4 0;
3869 to_y: "t3";
3870 }
3871 rel2 {
3872 relative: 1.0 0.0;
3873 offset: -1 -1;
3874 to_y: "b2";
3875 }
3876 image {
3877 normal: "e17_border4.png";
3878 }
3879 fill {
3880 smooth: 0;
3881 }
3882 }
3883 description {
3884 state: "hidden" 0.0;
3885 visible: 0;
3886 rel1 {
3887 relative: 1.0 1.0;
3888 offset: 0 0;
3889 to_y: "t3";
3890 }
3891 rel2 {
3892 relative: 1.0 0.0;
3893 offset: -1 -1;
3894 to_y: "b2";
3895 }
3896 image {
3897 normal: "e17_border4.png";
3898 }
3899 fill {
3900 smooth: 0;
3901 }
3902 }
3903 }
3904 part {
3905 name: "b2";
3906 mouse_events: 0;
3907 description {
3908 state: "default" 0.0;
3909 rel1 {
3910 relative: 1.0 1.0;
3911 offset: -4 -4;
3912 }
3913 rel2 {
3914 relative: 1.0 1.0;
3915 offset: -1 -1;
3916 }
3917 image {
3918 normal: "e17_border5.png";
3919 }
3920 fill {
3921 smooth: 0;
3922 }
3923 }
3924 description {
3925 state: "hidden" 0.0;
3926 visible: 0;
3927 rel1 {
3928 relative: 1.0 1.0;
3929 offset: 0 0;
3930 }
3931 rel2 {
3932 relative: 1.0 1.0;
3933 offset: -1 -1;
3934 }
3935 image {
3936 normal: "e17_border5.png";
3937 }
3938 fill {
3939 smooth: 0;
3940 }
3941 }
3942 }
3943 part {
3944 name: "b3";
3945 mouse_events: 0;
3946 description {
3947 state: "default" 0.0;
3948 rel1 {
3949 relative: 1.0 0.0;
3950 offset: 0 0;
3951 to: "b4";
3952 }
3953 rel2 {
3954 relative: 0.0 1.0;
3955 offset: -1 -1;
3956 to: "b2";
3957 }
3958 image {
3959 normal: "e17_border6.png";
3960 }
3961 fill {
3962 smooth: 0;
3963 }
3964 }
3965 description {
3966 state: "hidden" 0.0;
3967 visible: 0;
3968 rel1 {
3969 relative: 1.0 0.0;
3970 offset: 0 0;
3971 to: "b4";
3972 }
3973 rel2 {
3974 relative: 0.0 1.0;
3975 offset: -1 -1;
3976 to: "b2";
3977 }
3978 image {
3979 normal: "e17_border6.png";
3980 }
3981 fill {
3982 smooth: 0;
3983 }
3984 }
3985 }
3986 part {
3987 name: "b4";
3988 mouse_events: 0;
3989 description {
3990 state: "default" 0.0;
3991 rel1 {
3992 relative: 0.0 1.0;
3993 offset: 0 -4;
3994 }
3995 rel2 {
3996 relative: 0.0 1.0;
3997 offset: 3 -1;
3998 }
3999 image {
4000 normal: "e17_border7.png";
4001 }
4002 fill {
4003 smooth: 0;
4004 }
4005 }
4006 description {
4007 state: "hidden" 0.0;
4008 visible: 0;
4009 rel1 {
4010 relative: 0.0 1.0;
4011 offset: 0 0;
4012 }
4013 rel2 {
4014 relative: 0.0 1.0;
4015 offset: -1 -1;
4016 }
4017 image {
4018 normal: "e17_border7.png";
4019 }
4020 fill {
4021 smooth: 0;
4022 }
4023 }
4024 }
4025 part {
4026 name: "b5";
4027 mouse_events: 0;
4028 description {
4029 state: "default" 0.0;
4030 rel1 {
4031 relative: 0.0 1.0;
4032 offset: 0 0;
4033 to_y: "t1";
4034 }
4035 rel2 {
4036 relative: 0.0 0.0;
4037 offset: 3 -1;
4038 to_y: "b4";
4039 }
4040 image {
4041 normal: "e17_border4.png";
4042 }
4043 fill {
4044 smooth: 0;
4045 }
4046 }
4047 description {
4048 state: "hidden" 0.0;
4049 visible: 0;
4050 rel1 {
4051 relative: 0.0 1.0;
4052 offset: 0 0;
4053 to_y: "t1";
4054 }
4055 rel2 {
4056 relative: 0.0 0.0;
4057 offset: -1 -1;
4058 to_y: "b4";
4059 }
4060 image {
4061 normal: "e17_border4.png";
4062 }
4063 fill {
4064 smooth: 0;
4065 }
4066 }
4067 }
4068 part {
4069 name: "title_outline";
4070 mouse_events: 0;
4071 description {
4072 state: "default" 0.0;
4073 min: 14 14;
4074 visible: 1;
4075 rel1 {
4076 relative: 1.0 0.0;
4077 offset: 0 -7;
4078 to_x: "t1";
4079 to_y: "title2";
4080 }
4081 rel2 {
4082 relative: 0.0 1.0;
4083 offset: -2 4;
4084 to_x: "t3";
4085 to_y: "title2";
4086 }
4087 image {
4088 normal: "e17_titlebar_outline.png";
4089 border: 8 8 8 8;
4090 middle: 0;
4091 }
4092 fill {
4093 smooth: 0;
4094 }
4095 color: 255 255 255 255;
4096 }
4097 description {
4098 state: "active" 0.0;
4099 min: 14 14;
4100 visible: 0;
4101 rel1 {
4102 relative: 1.0 0.0;
4103 offset: 0 -7;
4104 to_x: "t1";
4105 to_y: "title2";
4106 }
4107 rel2 {
4108 relative: 0.0 1.0;
4109 offset: -2 4;
4110 to_x: "t3";
4111 to_y: "title2";
4112 }
4113 image {
4114 normal: "e17_titlebar_outline.png";
4115 border: 8 8 8 8;
4116 middle: 0;
4117 }
4118 fill {
4119 smooth: 0;
4120 }
4121 color: 255 255 255 0;
4122 }
4123 }
4124 part {
4125 name: "title_shadow2";
4126 mouse_events: 0;
4127 description {
4128 state: "default" 0.0;
4129 visible: 0;
4130 rel1 {
4131 relative: 0.0 0.0;
4132 offset: 0 0;
4133 to: "title_outline";
4134 }
4135 rel2 {
4136 relative: 1.0 1.0;
4137 offset: -1 -1;
4138 to: "title_outline";
4139 }
4140 image {
4141 normal: "e17_titlebar_shadow2.png";
4142 border: 8 8 8 8;
4143 }
4144 fill {
4145 smooth: 0;
4146 }
4147 color: 255 255 255 0;
4148 }
4149 description {
4150 state: "active" 0.0;
4151 visible: 1;
4152 rel1 {
4153 relative: 0.0 0.0;
4154 offset: 0 0;
4155 to: "title_outline";
4156 }
4157 rel2 {
4158 relative: 1.0 1.0;
4159 offset: -1 -1;
4160 to: "title_outline";
4161 }
4162 image {
4163 normal: "e17_titlebar_shadow2.png";
4164 border: 8 8 8 8;
4165 }
4166 fill {
4167 smooth: 0;
4168 }
4169 color: 255 255 255 255;
4170 }
4171 }
4172 part {
4173 name: "title_shadow1";
4174 mouse_events: 0;
4175 description {
4176 state: "default" 0.0;
4177 visible: 0;
4178 rel1 {
4179 relative: 0.0 0.0;
4180 offset: 0 0;
4181 to: "title_outline";
4182 }
4183 rel2 {
4184 relative: 1.0 1.0;
4185 offset: -1 -1;
4186 to: "title_outline";
4187 }
4188 image {
4189 normal: "e17_titlebar_shadow1.png";
4190 border: 8 8 8 8;
4191 }
4192 fill {
4193 smooth: 0;
4194 }
4195 color: 255 255 255 0;
4196 }
4197 description {
4198 state: "active" 0.0;
4199 visible: 1;
4200 rel1 {
4201 relative: 0.0 0.0;
4202 offset: 0 0;
4203 to: "title_outline";
4204 }
4205 rel2 {
4206 relative: 1.0 1.0;
4207 offset: -1 -1;
4208 to: "title_outline";
4209 }
4210 image {
4211 normal: "e17_titlebar_shadow1.png";
4212 border: 8 8 8 8;
4213 }
4214 fill {
4215 smooth: 0;
4216 }
4217 color: 255 255 255 255;
4218 }
4219 }
4220 part {
4221 name: "title_bar";
4222 mouse_events: 0;
4223 description {
4224 state: "default" 0.0;
4225 visible: 0;
4226 rel1 {
4227 relative: 0.0 0.0;
4228 offset: 0 0;
4229 to: "title_outline";
4230 }
4231 rel2 {
4232 relative: 1.0 1.0;
4233 offset: -1 -1;
4234 to: "title_outline";
4235 }
4236 image {
4237 normal: "e17_titlebar.png";
4238 border: 8 8 8 8;
4239 }
4240 color: 255 255 255 0;
4241 }
4242 description {
4243 state: "active" 0.0;
4244 visible: 1;
4245 rel1 {
4246 relative: 0.0 0.0;
4247 offset: 0 0;
4248 to: "title_outline";
4249 }
4250 rel2 {
4251 relative: 1.0 1.0;
4252 offset: -1 -1;
4253 to: "title_outline";
4254 }
4255 image {
4256 normal: "e17_titlebar.png";
4257 border: 8 8 8 8;
4258 }
4259 color: 255 255 255 255;
4260 }
4261 }
4262 part {
4263 name: "title_text";
4264 type: TEXT;
4265 effect: SHADOW;
4266 mouse_events: 0;
4267 description {
4268 state: "default" 0.0;
4269 align: 1.0 0.0;
4270 rel1 {
4271 relative: 1.0 0.0;
4272 offset: 9 7;
4273 to_x: "t1";
4274 }
4275 rel2 {
4276 relative: 0.0 0.0;
4277 offset: -10 7;
4278 to_x: "t3";
4279 }
4280 color: 0 0 0 255;
4281 color3: 255 255 255 128;
4282 text {
4283 text: "";
4284 font: "Edje-Vera";
4285 size: 10;
4286 min: 0 1;
4287 align: 0.0 0.5;
4288 text_class: "title_bar";
4289 }
4290 }
4291 }
4292 part {
4293 name: "title_glint_clip";
4294 type: RECT;
4295 mouse_events: 0;
4296 description {
4297 state: "default" 0.0;
4298 rel1 {
4299 offset: 3 3;
4300 to: "title_bar";
4301 }
4302 rel2 {
4303 offset: -4 -4;
4304 to: "title_bar";
4305 }
4306 color: 255 255 255 255;
4307 }
4308 }
4309 part {
4310 name: "title_glint_1";
4311 mouse_events: 0;
4312 description {
4313 state: "default" 0.0;
4314 visible: 0;
4315 color: 255 255 255 0;
4316 align: 0.0 0.0;
4317 max: 34 13;
4318 rel1 {
4319 relative: 0.0 0.0;
4320 offset: 2 2;
4321 to: "title_bar";
4322 }
4323 rel2 {
4324 relative: 1.0 1.0;
4325 offset: -3 -3;
4326 to: "title_bar";
4327 }
4328 image {
4329 normal: "e17_titlebar_glint1.png";
4330 border: 5 0 5 0;
4331 }
4332 fill {
4333 smooth: 0;
4334 }
4335 }
4336 description {
4337 state: "active" 0.0;
4338 inherit: "default" 0.0;
4339 visible: 1;
4340 color: 255 255 255 255;
4341 }
4342 }
4343 part {
4344 name: "title_glint_2";
4345 mouse_events: 0;
4346 clip_to: "title_glint_clip";
4347 description {
4348 state: "default" 0.0;
4349 visible: 0;
4350 color: 255 255 255 0;
4351 max: 0 0;
4352 align: 1.0 0.5;
4353 rel1 {
4354 relative: 0.0 0.0;
4355 offset: 3 3;
4356 to: "title_bar";
4357 }
4358 rel2 {
4359 relative: 0.0 1.0;
4360 offset: 0 -4;
4361 to: "title_bar";
4362 }
4363 image {
4364 normal: "e17_titlebar_glint2.png";
4365 border: 0 0 5 5;
4366 }
4367 fill {
4368 smooth: 0;
4369 }
4370 }
4371 description {
4372 state: "active" 0.0;
4373 inherit: "default" 0.0;
4374 visible: 1;
4375 color: 255 255 255 255;
4376 max: 169 9999;
4377 min: 169 8;
4378 align: 0.5 0.5;
4379 rel1 {
4380 relative: 0.0 0.0;
4381 offset: 3 3;
4382 }
4383 rel2 {
4384 relative: 0.0 1.0;
4385 offset: 3 -4;
4386 }
4387 }
4388 description {
4389 state: "active2" 0.0;
4390 inherit: "default" 0.0;
4391 visible: 1;
4392 color: 255 255 255 128;
4393 max: 169 9999;
4394 min: 169 8;
4395 align: 0.5 0.5;
4396 rel1 {
4397 relative: 1.0 0.0;
4398 offset: -4 3;
4399 }
4400 rel2 {
4401 relative: 1.0 1.0;
4402 offset: -4 -4;
4403 }
4404 }
4405 description {
4406 state: "active3" 0.0;
4407 inherit: "default" 0.0;
4408 visible: 0;
4409 color: 255 255 255 0;
4410 max: 169 9999;
4411 min: 169 8;
4412 align: 0.0 0.5;
4413 rel1 {
4414 relative: 1.0 0.0;
4415 offset: -4 3;
4416 }
4417 rel2 {
4418 relative: 1.0 1.0;
4419 offset: -4 -4;
4420 }
4421 }
4422 }
4423 part {
4424 name: "title_glint_3";
4425 mouse_events: 0;
4426 description {
4427 state: "default" 0.0;
4428 visible: 0;
4429 color: 255 255 255 0;
4430 align: 1.0 1.0;
4431 max: 34 13;
4432 rel1 {
4433 relative: 0.0 0.0;
4434 offset: 2 2;
4435 to: "title_bar";
4436 }
4437 rel2 {
4438 relative: 1.0 1.0;
4439 offset: -3 -3;
4440 to: "title_bar";
4441 }
4442 image {
4443 normal: "e17_titlebar_glint3.png";
4444 border: 0 5 0 5;
4445 }
4446 fill {
4447 smooth: 0;
4448 }
4449 }
4450 description {
4451 state: "active" 0.0;
4452 inherit: "default" 0.0;
4453 visible: 1;
4454 color: 255 255 255 255;
4455 }
4456 }
4457 part {
4458 name: "title_hung";
4459 mouse_events: 0;
4460 description {
4461 state: "default" 0.0;
4462 visible: 0;
4463 rel1 {
4464 relative: 0.0 0.0;
4465 offset: 0 0;
4466 to: "title_outline";
4467 }
4468 rel2 {
4469 relative: 1.0 1.0;
4470 offset: -1 -1;
4471 to: "title_outline";
4472 }
4473 image {
4474 normal: "e17_titlebar_hung.png";
4475 border: 10 10 10 10;
4476 }
4477 color: 255 255 255 0;
4478 }
4479 description {
4480 state: "hung" 0.0;
4481 inherit: "default" 0.0;
4482 visible: 1;
4483 color: 255 255 255 255;
4484 }
4485 }
4486 part {
4487 name: "icon_swallow";
4488 type: SWALLOW;
4489 description {
4490 state: "default" 0.0;
4491 rel1 {
4492 relative: 0.0 0.0;
4493 offset: 2 2;
4494 to: "t1";
4495 }
4496 rel2 {
4497 relative: 1.0 1.0;
4498 offset: -2 -3;
4499 to: "t1";
4500 }
4501 color: 0 0 0 0;
4502 }
4503 }
4504 part {
4505 name: "client";
4506 type: SWALLOW;
4507 description {
4508 state: "default" 0.0;
4509 rel1 {
4510 relative: 1.0 1.0;
4511 offset: 0 0;
4512 to_x: "b5";
4513 to_y: "t1";
4514 }
4515 rel2 {
4516 relative: 0.0 0.0;
4517 offset: -1 -1;
4518 to: "b2";
4519 }
4520 }
4521 }
4522
4523 BORDER_BUTTON_ADV("close","close",0.0,0.0, 0,0,"whole", "whole",1.0,1.0,-1,5,"whole", "title2")
4524
4525 part {
4526 name: "icon";
4527 type: RECT;
4528 description {
4529 state: "default" 0.0;
4530 rel1 {
4531 to: "icon_swallow";
4532 }
4533 rel2 {
4534 to: "icon_swallow";
4535 }
4536 color: 0 0 0 0;
4537 }
4538 }
4539 part {
4540 name: "title";
4541 type: RECT;
4542 description {
4543 state: "default" 0.0;
4544 rel1 {
4545 to: "title_bar";
4546 }
4547 rel2 {
4548 to: "title_bar";
4549 }
4550 color: 0 0 0 0;
4551 }
4552 }
4553 }
4554 programs {
4555 program {
4556 name: "go_active_pre";
4557 signal: "active";
4558 source: "";
4559 action: STATE_SET "default" 0.0;
4560 target: "title_outline";
4561 target: "title_bar";
4562 target: "title_shadow1";
4563 target: "title_shadow2";
4564 after: "go_active";
4565 }
4566 program {
4567 name: "go_active";
4568 action: STATE_SET "active" 0.0;
4569 target: "title_outline";
4570 target: "title_bar";
4571 transition: LINEAR 0.05;
4572 after: "go_active2";
4573 }
4574 program {
4575 name: "go_active2";
4576 action: STATE_SET "active" 0.0;
4577 target: "title_shadow1";
4578 transition: LINEAR 0.05;
4579 after: "go_active3";
4580 after: "go_active3b";
4581 }
4582 program {
4583 name: "go_active3";
4584 action: STATE_SET "active" 0.0;
4585 target: "title_shadow2";
4586 transition: LINEAR 0.05;
4587 }
4588 program {
4589 name: "go_active3b";
4590 action: STATE_SET "active" 0.0;
4591 target: "title_glint_1";
4592 target: "title_glint_2";
4593 transition: LINEAR 0.05;
4594 after: "go_active4";
4595 after: "go_active4b";
4596 }
4597 program {
4598 name: "go_active4";
4599 action: STATE_SET "active2" 0.0;
4600 target: "title_glint_2";
4601 transition: LINEAR 0.2;
4602 after: "go_active5";
4603 after: "go_active5b";
4604 }
4605 program {
4606 name: "go_active4b";
4607 action: STATE_SET "active" 0.0;
4608 target: "title_glint_3";
4609 transition: LINEAR 0.2;
4610 }
4611 program {
4612 name: "go_active5";
4613 action: STATE_SET "active3" 0.0;
4614 target: "title_glint_2";
4615 transition: LINEAR 0.05;
4616 }
4617 program {
4618 name: "go_active5b";
4619 action: STATE_SET "default" 0.0;
4620 target: "title_glint_3";
4621 transition: LINEAR 0.1;
4622 after: "go_active6";
4623 }
4624 program {
4625 name: "go_active6";
4626 action: STATE_SET "default" 0.0;
4627 target: "title_glint_1";
4628 target: "title_glint_2";
4629 target: "title_glint_3";
4630 }
4631
4632 program {
4633 name: "go_passive_pre";
4634 signal: "passive";
4635 source: "";
4636 action: STATE_SET "active" 0.0;
4637 target: "title_outline";
4638 target: "title_bar";
4639 target: "title_shadow1";
4640 target: "title_shadow2";
4641 after: "go_passive";
4642 }
4643 program {
4644 name: "go_passive";
4645 action: STATE_SET "default" 0.0;
4646 target: "title_shadow2";
4647 transition: LINEAR 0.1;
4648 after: "go_passive2";
4649 }
4650 program {
4651 name: "go_passive2";
4652 action: STATE_SET "default" 0.0;
4653 target: "title_shadow1";
4654 transition: LINEAR 0.1;
4655 after: "go_passive3";
4656 }
4657 program {
4658 name: "go_passive3";
4659 action: STATE_SET "default" 0.0;
4660 target: "title_outline";
4661 target: "title_bar";
4662 transition: LINEAR 0.1;
4663 }
4664
4665 program {
4666 name: "close_active_pre";
4667 signal: "mouse,down,1";
4668 source: "close";
4669 action: STATE_SET "default" 0.0;
4670 target: "close_shadow1";
4671 target: "close_shadow2";
4672 target: "close_bg";
4673 target: "close_detail";
4674 after: "close_active";
4675 after: "close_active_p";
4676 }
4677 program {
4678 name: "close_active";
4679 action: STATE_SET "active" 0.0;
4680 target: "close_shadow2";
4681 transition: LINEAR 0.05;
4682 after: "close_active2";
4683 }
4684 program {
4685 name: "close_active2";
4686 action: STATE_SET "active" 0.0;
4687 target: "close_shadow1";
4688 transition: LINEAR 0.05;
4689 }
4690 program {
4691 name: "close_active_p";
4692 action: STATE_SET "active" 0.0;
4693 target: "close_bg";
4694 target: "close_detail";
4695 transition: LINEAR 0.1;
4696 }
4697 program {
4698 name: "close_passive_pre";
4699 signal: "mouse,up,1";
4700 source: "close";
4701 action: STATE_SET "active" 0.0;
4702 target: "close_shadow1";
4703 target: "close_shadow2";
4704 target: "close_bg";
4705 target: "close_detail";
4706 after: "close_passive";
4707 after: "close_passive_p";
4708 }
4709 program {
4710 name: "close_passive";
4711 action: STATE_SET "default" 0.0;
4712 target: "close_shadow2";
4713 transition: LINEAR 0.1;
4714 after: "close_passive2";
4715 }
4716 program {
4717 name: "close_passive2";
4718 action: STATE_SET "default" 0.0;
4719 target: "close_shadow1";
4720 transition: LINEAR 0.1;
4721 }
4722 program {
4723 name: "close_passive_p";
4724 action: STATE_SET "default" 0.0;
4725 target: "close_bg";
4726 target: "close_detail";
4727 transition: LINEAR 0.2;
4728 }
4729
4730 program {
4731 name: "maximize_fullscreen";
4732 signal: "maximize,fullscreen";
4733 source: "";
4734 action: STATE_SET "hidden" 0.0;
4735 target: "t1";
4736 target: "t3";
4737 target: "b1";
4738 target: "b2";
4739 target: "b3";
1476 target: "b4"; 4740 target: "b4";
4741 target: "b5";
4742 }
4743 program {
4744 name: "unmaximize_fullscreen";
4745 signal: "unmaximize,fullscreen";
4746 source: "";
1477 action: STATE_SET "default" 0.0; 4747 action: STATE_SET "default" 0.0;
4748 target: "t1";
4749 target: "t3";
4750 target: "b1";
4751 target: "b2";
4752 target: "b3";
4753 target: "b4";
1478 target: "b5"; 4754 target: "b5";
1479 } 4755 }
1480 4756
@@ -1511,6 +4787,17 @@ group {
1511 } 4787 }
1512} 4788}
1513 4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
1514FULL_SIZE_BORDER_BUTTON("close") 4801FULL_SIZE_BORDER_BUTTON("close")
1515FULL_SIZE_BORDER_BUTTON("minimize") 4802FULL_SIZE_BORDER_BUTTON("minimize")
1516FULL_SIZE_BORDER_BUTTON("maximize") 4803FULL_SIZE_BORDER_BUTTON("maximize")
diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am
index d0c0ad225..6b9782605 100644
--- a/data/themes/images/Makefile.am
+++ b/data/themes/images/Makefile.am
@@ -413,4 +413,8 @@ e17_ilist_bg1.png \
413e17_slider_bt0.png \ 413e17_slider_bt0.png \
414e17_slider_bt1.png \ 414e17_slider_bt1.png \
415e17_slider_bt_glow.png \ 415e17_slider_bt_glow.png \
416e17_entry_cursor.png 416e17_entry_cursor.png \
417e17_border1b.png \
418e17_border3b.png \
419e17_border5b.png \
420e17_border7b.png
diff --git a/data/themes/images/e17_border1b.png b/data/themes/images/e17_border1b.png
new file mode 100644
index 000000000..867dedcf9
--- /dev/null
+++ b/data/themes/images/e17_border1b.png
Binary files differ
diff --git a/data/themes/images/e17_border3b.png b/data/themes/images/e17_border3b.png
new file mode 100644
index 000000000..81978afb9
--- /dev/null
+++ b/data/themes/images/e17_border3b.png
Binary files differ
diff --git a/data/themes/images/e17_border5b.png b/data/themes/images/e17_border5b.png
new file mode 100644
index 000000000..eb9aaba9a
--- /dev/null
+++ b/data/themes/images/e17_border5b.png
Binary files differ
diff --git a/data/themes/images/e17_border7b.png b/data/themes/images/e17_border7b.png
new file mode 100644
index 000000000..e64fc0efc
--- /dev/null
+++ b/data/themes/images/e17_border7b.png
Binary files differ