Revision: 4455
          http://vexi.svn.sourceforge.net/vexi/?rev=4455&view=rev
Author:   clrg
Date:     2012-11-12 14:43:42 +0000 (Mon, 12 Nov 2012)
Log Message:
-----------


Added Paths:
-----------
    trunk/org.vexi-vexi.theme.glass/.project
    trunk/org.vexi-vexi.theme.glass/.vexipath
    trunk/org.vexi-vexi.theme.glass/build.xml
    trunk/org.vexi-vexi.theme.glass/src_img/
    trunk/org.vexi-vexi.theme.glass/src_img/Button.xcf
    trunk/org.vexi-vexi.theme.glass/src_img/Mashup.xcf
    trunk/org.vexi-vexi.theme.glass/src_img/Scrollbar.xcf
    trunk/org.vexi-vexi.theme.glass/src_main/
    trunk/org.vexi-vexi.theme.glass/src_main/org/
    trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/
    trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/
    trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/
    trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/bevel.t
    trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/
    
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_down.png
    
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_left.png
    
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_right.png
    
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_up.png
    
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/groove_h.png
    
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/groove_v.png
    trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/surface.t

Added: trunk/org.vexi-vexi.theme.glass/.project
===================================================================
--- trunk/org.vexi-vexi.theme.glass/.project                            (rev 0)
+++ trunk/org.vexi-vexi.theme.glass/.project    2012-11-12 14:43:42 UTC (rev 
4455)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.vexi-vexi.theme.glass</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.vexi.vexidev.vexiBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.vexi.vexidev.vexiNature</nature>
+       </natures>
+</projectDescription>


Property changes on: trunk/org.vexi-vexi.theme.glass/.project
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: trunk/org.vexi-vexi.theme.glass/.vexipath
===================================================================
--- trunk/org.vexi-vexi.theme.glass/.vexipath                           (rev 0)
+++ trunk/org.vexi-vexi.theme.glass/.vexipath   2012-11-12 14:43:42 UTC (rev 
4455)
@@ -0,0 +1,16 @@
+<project-path>
+   <main>
+      <sources>
+         <source-dir path="src_main"/>
+      </sources>
+      <dependencies/>
+   </main>
+   <test>
+      <sources/>
+      <dependencies/>
+   </test>
+   <poke>
+      <sources/>
+      <dependencies/>
+   </poke>
+</project-path>
\ No newline at end of file

Added: trunk/org.vexi-vexi.theme.glass/build.xml
===================================================================
--- trunk/org.vexi-vexi.theme.glass/build.xml                           (rev 0)
+++ trunk/org.vexi-vexi.theme.glass/build.xml   2012-11-12 14:43:42 UTC (rev 
4455)
@@ -0,0 +1,6 @@
+<project default="eclipse_setup">
+
+       <property name="ebuild.home" location="../_ebuild"/>
+    <import file="${ebuild.home}/interface/workspace.ent"/>
+
+</project>
\ No newline at end of file


Property changes on: trunk/org.vexi-vexi.theme.glass/build.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: trunk/org.vexi-vexi.theme.glass/src_img/Button.xcf
===================================================================
(Binary files differ)


Property changes on: trunk/org.vexi-vexi.theme.glass/src_img/Button.xcf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/org.vexi-vexi.theme.glass/src_img/Mashup.xcf
===================================================================
(Binary files differ)


Property changes on: trunk/org.vexi-vexi.theme.glass/src_img/Mashup.xcf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/org.vexi-vexi.theme.glass/src_img/Scrollbar.xcf
===================================================================
(Binary files differ)


Property changes on: trunk/org.vexi-vexi.theme.glass/src_img/Scrollbar.xcf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/bevel.t
===================================================================
--- trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/bevel.t       
                        (rev 0)
+++ trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/bevel.t       
2012-11-12 14:43:42 UTC (rev 4455)
@@ -0,0 +1,154 @@
+<!-- Copyright 2012 - see COPYING for details [LGPL] -->
+
+<vexi xmlns:ui="vexi://ui"
+      xmlns:lay="org.vexi.lib.layout">
+    
+    <ui:box redirect=":$content">
+        <ui:box layout="layer">
+            
+            <lay:margin id="bg" fill="#f0f0f0" />
+            
+            <ui:box id="content" />
+            
+            // bevel
+            <ui:box>
+                   <ui:box orient="vertical" hshrink="true">
+                       <ui:box height="1" /> // transparent
+                       <ui:box id="fill_left1_1" height="1" fill="red"/>
+                       <ui:box id="fill_left1_m" width="1" />
+                    <ui:box id="fill_left1_2" height="1" />
+                       <ui:box height="1" /> // transparent
+                   </ui:box>
+                   <ui:box orient="vertical" hshrink="true">
+                       <ui:box id="fill_left2_1" height="1" />
+                       <ui:box id="fill_left2_2" height="1" />
+                       <ui:box id="fill_left2_3" height="1" />
+                       <ui:box id="fill_left2_m" width="1" />
+                       <ui:box id="fill_left2_4" height="1" />
+                       <ui:box id="fill_left2_5" height="1" />
+                       <ui:box id="fill_left2_6" height="1" />
+                   </ui:box>
+                   <ui:box orient="vertical" hshrink="true">
+                       <ui:box id="fill_left3_1" height="1" />
+                       <ui:box id="fill_left3_2" height="1" />
+                       <ui:box id="fill_left3_3" height="1" />
+                       <ui:box width="1" /> // transparent
+                       <ui:box id="fill_left3_4" height="1" />
+                       <ui:box id="fill_left3_5" height="1" />
+                       <ui:box id="fill_left3_6" height="1" />
+                   </ui:box>
+                   <ui:box orient="vertical">
+                       <ui:box id="fill_top1" height="1" vshrink="true" />
+                       <ui:box id="fill_top2" height="1" vshrink="true" />
+                       <ui:box />
+                       <ui:box id="fill_bot1" height="1" vshrink="true" />
+                       <ui:box id="fill_bot2" height="1" vshrink="true" />
+                   </ui:box>
+                <ui:box orient="vertical" hshrink="true">
+                    <ui:box id="fill_right3_1" height="1" />
+                    <ui:box id="fill_right3_2" height="1" />
+                    <ui:box id="fill_right3_3" height="1" />
+                    <ui:box width="1" /> // transparent
+                    <ui:box id="fill_right3_4" height="1" />
+                    <ui:box id="fill_right3_5" height="1" />
+                    <ui:box id="fill_right3_6" height="1" />
+                </ui:box>
+                <ui:box orient="vertical" hshrink="true">
+                    <ui:box id="fill_right2_1" height="1" />
+                    <ui:box id="fill_right2_2" height="1" />
+                    <ui:box id="fill_right2_3" height="1" />
+                    <ui:box id="fill_right2_m" width="1" />
+                    <ui:box id="fill_right2_4" height="1" />
+                    <ui:box id="fill_right2_5" height="1" />
+                    <ui:box id="fill_right2_6" height="1" />
+                </ui:box>
+                <ui:box orient="vertical" hshrink="true">
+                    <ui:box height="1" /> // transparent
+                    <ui:box id="fill_right1_1" height="1" />
+                    <ui:box id="fill_right1_m" width="1" />
+                    <ui:box id="fill_right1_2" height="1" />
+                    <ui:box height="1" /> // transparent
+                </ui:box>
+            </ui:box>
+               
+               <lay:pad padding="1">
+                   <ui:box id="shadebox" orient="vertical">
+                       <ui:box />
+                       <ui:box id="shade" fill="#12000000" />
+                   </ui:box>
+               </lay:pad>
+           </ui:box>
+        
+        thisbox.v_content = $content;
+        
+        thisbox.form ++= function(v) {
+            cascade = v;
+            var darken1, darken2, darken3, lighten1, lighten2;
+            if (v!=null) {
+                switch(v) {
+                case "flat":
+                    //break;
+                case "thindown":
+                    //break;
+                case "thinup":
+                    break;
+                case "down":
+                    //break;
+                case "above":
+                    //break;
+                case "up":
+                default:
+                    darken1 = "#89000000";
+                    darken2 = "#70000000";
+                    darken3 = "#0b000000";
+                    lighten = "#d0ffffff";
+                    break;
+                }
+            }
+            
+            $fill_left1_1.fill = darken2;
+            $fill_left1_m.fill = darken1;
+            $fill_left1_2.fill = darken2;
+            
+            $fill_left2_1.fill = darken2;
+            $fill_left2_2.fill = darken2;
+            $fill_left2_3.fill = darken3;
+            $fill_left2_m.fill = lighten;
+            $fill_left2_4.fill = darken3;
+            $fill_left2_5.fill = darken2;
+            $fill_left2_6.fill = darken2;
+            
+            $fill_left3_1.fill = darken1;
+            $fill_left3_2.fill = darken3;
+            $fill_left3_3.fill = lighten;
+            $fill_left3_4.fill = lighten;
+            $fill_left3_5.fill = darken3;
+            $fill_left3_6.fill = darken1;
+            
+            $fill_top1.fill = darken1;
+            $fill_top2.fill = lighten;
+            $fill_bot1.fill = lighten;
+            $fill_bot2.fill = darken1;
+            
+            $fill_right3_1.fill = darken1;
+            $fill_right3_2.fill = darken3;
+            $fill_right3_3.fill = lighten;
+            $fill_right3_4.fill = lighten;
+            $fill_right3_5.fill = darken3;
+            $fill_right3_6.fill = darken1;
+            
+            $fill_right2_1.fill = darken2;
+            $fill_right2_2.fill = darken2;
+            $fill_right2_3.fill = darken3;
+            $fill_right2_m.fill = lighten;
+            $fill_right2_4.fill = darken3;
+            $fill_right2_5.fill = darken2;
+            $fill_right2_6.fill = darken2;
+            
+            $fill_right1_1.fill = darken2;
+            $fill_right1_m.fill = darken1;
+            $fill_right1_2.fill = darken2;
+        }
+        
+    </ui:box>
+</vexi>

Added: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_down.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_down.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_left.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_left.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_right.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_right.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_up.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/arrow_up.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/groove_h.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/groove_h.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/groove_v.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/image/groove_v.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/surface.t
===================================================================
--- trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/surface.t     
                        (rev 0)
+++ trunk/org.vexi-vexi.theme.glass/src_main/org/vexi/theme/glass/surface.t     
2012-11-12 14:43:42 UTC (rev 4455)
@@ -0,0 +1,5 @@
+<!-- Copyright 2012 - see COPYING for details [LGPL] -->
+
+<vexi xmlns:ui="vexi://ui" xmlns="vexi.theme">
+    <ui:box fill="#f0f0f0" />
+</vexi>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to